Separator

Creates a visual or structural division between sections.

@radix-ui/react-separator

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes.com/r/separator.json

Examples


Custom Style


API Reference

Root

PropTypeDefault
orientationhorizontal,verticalhorizontal
decorativebooleantrue
classNamestring-
Data attributeValues
[data-orientation]"horizontal" / "vertical"