Layout
Separator
A line between groups of content, across or down.
Layout
A line between groups of content, across or down.
Change the props on the right. The line and its code follow.
import { Separator } from 'omuk-ui/separator';
<div className="flex w-64 flex-col gap-3 text-sm">
<span>Profile</span>
<Separator />
<span>Security</span>
</div>A 1-wide line in the border colour, the full width of its box, between two groups.
Forms, menus, tables and dates for React, in light and dark mode.
MIT. Use it in any project.
A vertical separator stretches to the height of its row. Give the row a height, or let its tallest item set one.
And every prop of a <div>.