TidalUI

Separator preview

A horizontal or vertical divider with decorative and semantic modes.

free · Essentials · primitive

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

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

Import components/ui/tidal.css, components/ui/separator.css. Wrap installed components in tidal-scope.

Preview

Separator component preview

Open interactive 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.decorative
boolean | undefined

Optional decorative value accepted by this exported component.

TidalSeparator.orientation
"horizontal" | "vertical" | undefined

Optional orientation value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas