Ballmac UI home

Separator

A semantic or decorative divider with horizontal, vertical, and centered-label layouts.

Project activity

Keep track of the latest changes.

Design review completed

Your team approved the new layout.

Installation

$ pnpm dlx shadcn@latest add @ballmac/separator

Usage

import { Separator } from "@/components/ballmac/separator"

The full example is in the Code tab above.

Examples

States and variants

Overview
Activity
Settings

API reference

PropTypeDefault
label

Short text displayed in the middle of a horizontal separator.

string—

Also accepts the standard attributes of its root element.

Use with AI

A semantic or decorative divider with horizontal, vertical, and centered-label layouts. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Separator (@ballmac/separator) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Separate groups of related content
  • Divide a form with a short label

Not for

  • Use spacing alone when separation is already clear

Registry JSON: https://ui.ballmac.com/r/separator.json

Credits

Based on shadcn/ui Separator, adapted by Ballmac. Free to use in personal and commercial projects.

Registry
shadcn/utils