Vesture
Get started

Layout

Divider

A visual separator for horizontal or vertical layouts.

Divider

Preview

Section one
Section two

Usage

tsx
import { Divider } from "@vesture/react";

<Divider />
<Divider orientation="vertical" />

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Renders a native <hr> with aria-orientation set accordingly.
...restHTMLAttributes<HTMLHRElement>Spread onto the <hr>.