sigilUI

H Rule

Separate adjacent content with a horizontal rule.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { HRule } from "@sigil-ui/components";

Usage

<HRule />

Props

PropTypeDefaultDescription
labelReactNode—Optional label rendered in the center of the rule.
showCrossboolean—Show cross marks at endpoints.

Token integration

CSS VariablePurpose
--s-borderBorder
--s-cross-strokeCross stroke
--s-font-monoFont mono
--s-text-mutedText muted