Divider component is used to visually separate sections of content in an interface. It provides a horizontal or vertical line that helps organize and structure the layout, improving readability and visual hierarchy.tsx
import { Divider } from "@arkyn/components";
tsx
<Divider />
Section 1
Section 2
Section 3
tsx
<div style={{ display: "flex", flexDirection: "column", gap: "16px" }}><p>Section 1</p><Divider /><p>Section 2</p><Divider orientation="horizontal" /><p>Section 3</p></div>
tsx
<div style={{ display: "flex", alignItems: "center", gap: "16px" }}><span>Item 1</span><Divider orientation="vertical" /><span>Item 2</span><Divider orientation="vertical" /><span>Item 3</span></div>
orientation - "horizontal" | "vertical" (default: "horizontal")
Defines the orientation of the divider<div> are also supported.