Skip to content
Component installs need the registry setup— the Base UI shadcn project, the @vegastack namespace and the Cloudflare Access service token.
VegaStack Design

Ruled Band

A hairline-bounded editorial strip with mono-label ends — changelog and serial-number furniture.

Status
stable
Since
0.3.0
Accessibility pattern
presentational page furniture

Last updated

Changelog / 202639 updates
A conversation withLDS · 042

Install

Add Ruled Band from the VegaStack registry. The CLI verifies the item's integrity hash before writing it.

pnpm dlx shadcn@latest add @vegastack/ruled-band

Usage

<RuledBand>
  <RuledBandLabel className="uppercase">Changelog / 2026</RuledBandLabel>
  <RuledBandLabel className="uppercase">39 updates</RuledBandLabel>
</RuledBand>

Voice

RuledBandLabel bakes in the mono-label voice; uppercase stays call-site-applied because uppercase is mono-exclusive (D20). Use for editorial meta — dates, counts, serials, section codes — not for interactive headers (that's PageHeader).

Anatomy

Ruled Band is a compound component. Every exported part, with the data-slot it renders (generated from the canonical source):

RuledBand — data-slot="ruled-band"
RuledBandLabel — data-slot="ruled-band-label"

Examples

Changelog / 202639 updates
A conversation withLDS · 042

Bracketing a section

rule="top" opens a passage and rule="bottom" closes it, so the band works as editorial furniture around content rather than as a lone strip.

Section 03Distribution

Pulled, never pushed

Downstream projects ask the registry what changed and take the diff deliberately — the band brackets the passage without a heading rule of its own.

Continued04 / 09

API Reference

RuledBand

PropTypeDefaultDescription
rule"both" | "bottom" | "top"'both'Which edges carry the rule.

Data attributes and CSS variables on RuledBand

AttributeValues
data-rulemirrors a prop or state value
data-slot"ruled-band"

RuledBandLabel

RuledBandLabel accepts the native props, className, and ref of its underlying <span>.

Accessibility

  • The band is presentational page furniture and adds no landmark or heading semantics.
  • Labels are real text in document order; use a heading outside the band when it introduces a section.
  • Uppercase content remains in the named mono-label role at a readable 12px floor.
ContractStates tested
Behaviourdefault
Accessibilitynative-or-base-ui-semantics, browser-accessibility-test
Visualdefault

Do / Don't

Do
Use short dates, counts, serials, or editorial metadata at the two ends of the band.
Don't
Place buttons or a page title in the band, or use its rules as a substitute for content hierarchy.

On this page