Swirski UI

Layout

Separator

A small visual divider for sections, menus and dense layouts.

Component

34

Request Changes

Import

import { Separator } from "@swirski/ui";

Playground

2 controls

Controls

Usage

<Separator
  orientation="horizontal"
  className="bg-black"
/>

Props

4 generated
PropTypeDefaultNotes
orientation'horizontal' | 'vertical'"horizontal"Divider direction.
size'sm' | 'md' | 'lg'"md"Generated from SeparatorProps.
tone'white' | 'black' | 'muted'"black"Generated from SeparatorProps.
variant'solid' | 'dashed'"solid"Generated from SeparatorProps.
classNamestring-Adds classes to the divider.
Previous: PaginationNext: Drawer