Skip to content
aq-ui
Back to ComponentsComponent

Separator

Open-code aq-ui accessible component family for Separator.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add separator

API reference

Client module

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

"use client"

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

<Separator />

Separator

constSource L9

Open-code aq-ui accessible component family for Separator.

const Separator = React.forwardRef<React.ComponentRef<typeof SeparatorPrimitive>, SeparatorPrimitive.Props>(…)
Props type
SeparatorPrimitive.Props
<Separator />

Registry dependencies

utils

Package dependencies

@base-ui/react@^1.7.0

Files

  • components/ui/separator.tsx

Source