Skip to content

Divider

The Divider component provides a clear and semantically appropriate way to separate content blocks or inline elements in your layout. It’s ideal for enhancing readability and organizing information visually within your application.

Add the Divider component to your project using the OrbitUI CLI:

Terminal window
npx orbitkit@latest add divider

Import the Divider component and use it in your Astro components or pages. You can control its orientation using the orientation prop.

OrbitUI

Accessible, Customizable, & Lightweight component library.

Blog
Docs
Source

The Divider component extends standard HTML <div> attributes and accepts the following additional props:

PropTypeDefault
orientationhorizontal, verticalhorizontal