Separator | CombricSkip to content

Separator

Combric

Horizontal native separator with an optional decorative mode.

@combric/react · v1.1.1 · Current

Import and usage

import { Separator } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Separator

First
Second

Decorative separator

SummaryDetails

Public API

Public exports
Name
Separator
Documented contracts
Property / capabilityPublished contract
Contractdecorative
Contractnative hr props

Accessibility

Semantic by default; decorative mode removes separator semantics and hides it from assistive technology.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Source

View source on GitHub