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
Separator
Separates content with a horizontal or vertical rule.
Content above the separator.
Content below the separator.
Component Code
<div class="w-full max-w-md space-y-4 text-sm"> <p>Content above the separator.</p> <april:separator /> <p>Content below the separator.</p></div>
Component Code
<div class="w-full max-w-md space-y-4 text-sm"> <p>Content above the separator.</p> <april:separator /> <p>Content below the separator.</p></div>
The separator is horizontal by default. Set
orientation="vertical" when it sits between items in a row.
<april:separator /><april:separator orientation="vertical" class="h-6" />
<april:separator /><april:separator orientation="vertical" class="h-6" />
Use the component's classes and semantic color tokens to match the surrounding surface.
Publishing Views
Use the following command to publish this view:
php artisan april:publish separator
php artisan april:publish separator
php artisan april:publish --all
php artisan april:publish --all