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
Slider
Lets a user choose a numeric value from a range.
Component Code
<april:slider aria-label="Volume" min="0" max="100" value="60" class="w-full max-w-md" />
Component Code
<april:slider aria-label="Volume" min="0" max="100" value="60" class="w-full max-w-md" />
The slider is a styled native range input. Use the standard range attributes to define its value and bounds.
<april:slider name="volume" aria-label="Volume" min="0" max="100" step="5" value="60"/>
<april:slider name="volume" aria-label="Volume" min="0" max="100" step="5" value="60"/>
Native range input behavior and events remain available, including
input and
change.
Publishing Views
Use the following command to publish this view:
php artisan april:publish slider
php artisan april:publish slider
php artisan april:publish --all
php artisan april:publish --all