Separator preview
A horizontal or vertical divider with decorative and semantic modes.
free · Essentials · primitive
When to use
- Use it when a product interface needs a horizontal or vertical divider with decorative and semantic modes.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose tidal-button instead when press, loading, success and disabled states is the actual interface need, rather than separator.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add https://tidalui.com/r/separator.jsonImport components/ui/tidal.css, components/ui/separator.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/separator.css";
import{TidalSeparator}from"./components/ui/separator";
export default()=><div className="tidal-scope"><TidalSeparator/></div>;API and props
TidalSeparator.decorativeboolean | undefinedOptional decorative value accepted by this exported component.
TidalSeparator.orientation"horizontal" | "vertical" | undefinedOptional orientation value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.