Theme
Install with your agentnpx shadcn@4.23.1 add @goop/trail-separator

Separator

Free

A hairline between two groups of content, across or upright, such as between menu sections or toolbar groups, for React and Tailwind CSS. Free, MIT.

Lay the line across between two lines or upright between toolbar items, and turn it from decoration into a split a screen reader announces. The toolbar’s buttons do nothing: they only show where an upright line stands.

When to use

  • A hairline between two groups of content, across or upright, such as between menu sections or toolbar groups.
  • Also called: divider.

Installation

Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Separator on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing.

Terminal
npx shadcn@4.23.1 add @goop/trail-separator
PROMPT
Add the Goop Separator to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { Separator } from '@/components/ui/goop/separator';
import { Button } from '@/components/ui/goop/button';

<div className="flex flex-col gap-3">
  <p>Signed in as the workspace owner</p>
  <Separator decorative={false} />
  <div role="toolbar" aria-label="Formatting" className="flex items-center gap-1">
    <Button variant="ghost" size="sm">Bold</Button>
    <Separator orientation="vertical" />
    <Button variant="ghost" size="sm">Link</Button>
  </div>
</div>
  • Fits: settings, record: body.
  • width, border: add no class for these.

API reference

Options
OptionTypeWhat it does
decorative?boolean = trueWhether the line is decoration only or a split a screen reader announces.
orientation?'horizontal' | 'vertical' = 'horizontal'Across its caller's width or upright, as tall as its row.
  • data-slot values (to select a part by): separator

Notes for AI

Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.

goop.so/themes/trail/components/separator.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add @goop/trail-separator

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.