Separator
First
Second
Second
import { Separator } from "@combric/react";
export function Example() {
return <div>First<Separator />Second</div>;
}Horizontal native separator with an optional decorative mode.
@combric/react · v1.1.1 · Current
import { Separator } from "@combric/react";Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.
import { Separator } from "@combric/react";
export function Example() {
return <div>First<Separator />Second</div>;
}import { Separator } from "@combric/react";
export function Example() {
return <div><span>Summary</span><Separator decorative /><span>Details</span></div>;
}| Name |
|---|
Separator |
| Property / capability | Published contract |
|---|---|
| Contract | decorative |
| Contract | native hr props |
Semantic by default; decorative mode removes separator semantics and hides it from assistive technology.
Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.