Border Stack
Layer borders to give a panel a structural outline.
Preview
Import
import { BorderStack } from "@sigil-ui/components";Usage
<BorderStack className="w-full">
{[
["Tokens", "519 configurable fields"],
["Presets", "46 complete identities"],
["Components", "350+ constrained surfaces"],
].map(([label, value]) => (
<div key={label} className="flex items-center justify-between bg-[var(--s-surface)] p-[var(--s-space-4)] text-sm"><span className="text-[var(--s-text)]">{label}</span><span className="font-mono text-[var(--s-text-muted)]">{value}</span></div>
))}
</BorderStack>Props
| Prop | Type | Default | Description |
|---|---|---|---|
borders | "between" | "all" | "none" | between | Which borders to show. |
as | "div" | "main" | "article" | "section" | div | Element type. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-border | Border |