Layout
Divider
A visual separator for horizontal or vertical layouts.
DividerPreview
Section one
Section two
Section two
Usage
tsx
import { Divider } from "@vesture/react";
<Divider />
<Divider orientation="vertical" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal" | "vertical" | "horizontal" | Renders a native <hr> with aria-orientation set accordingly. |
| ...rest | HTMLAttributes<HTMLHRElement> | — | Spread onto the <hr>. |