Display

Separator

Visual divider — horizontal or vertical.

Available inreactangular

Preview

Live previewreal component

github-mcp

Configure transport and exposed scopes.

stdio14 tools3 scopes

Install

TerminalBash
npx mcp-elements add separator

Usage

separator-example.tsxTSX
import { Separator } from '@mcp-elements/react'

export function Example() {
  return (
    <div className="space-y-3">
      <p className="text-sm font-medium">Server settings</p>
      <Separator />
      <p className="text-sm text-muted-foreground">Configure transport and scopes.</p>
    </div>
  )
}

Props

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Axis the separator is drawn along
classNamestringAdditional classes for the separator element