pxl-ui
Retro styled components
DocsComponentsThemes
Installation
Section titled “Installation”pnpm dlx shadcn@latest add pxl-ui/registry/separator
Install the following dependencies:
pnpm add @base-ui/react
Copy and paste the following code into your project.
Update the import paths to match your project setup.
import { Separator } from "@/components/ui/pxl/separator"<Separator />Vertical
Section titled “Vertical”Use orientation="vertical" for a vertical separator.
Blog
Docs
Source
Border
Section titled “Border”Use border="dashed" for a dashed separator.
- Item 1
- Value 1
- Item 2
- Value 2
- Item 3
- Value 3
Use the size prop to change the size of the separator.
Small
Medium
Large
Variants
Section titled “Variants”Use the variant prop to change the colors of the separator.
Primary
Success
Warning
Danger
Info
API Reference
Section titled “API Reference”See the Base UI Separator documentation.