Getting Started
Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Attachment
- Avatar
- Badge
- Banner
- Breadcrumb
- Bubble
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Command
- Collapsible
- Combobox
- Context Menu
- Data Table
- Date Picker
- Dialog
- Dropdown Menu
- Editor
- Input
- Input Group
- Label
- Loading Spinner
- Native Select
- Popover
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Steps
- Switch
- Tabs
- Textarea
- Tooltip
Patterns
Label
Renders an accessible label associated with controls.
Component Code
<div class="flex items-center space-x-2"> <april:input id="accept" type="checkbox" /> <april:label for="accept">Accept terms and conditions</april:label></div>
Component Code
<div class="flex items-center space-x-2"> <april:input id="accept" type="checkbox" /> <april:label for="accept">Accept terms and conditions</april:label></div>
Publishing Views
Use the following command to publish this view:
php artisan april:publish label
php artisan april:publish label
php artisan april:publish --all
php artisan april:publish --all