A production component library·Now in private beta
stable Elements

SDF Banner

A slim full-width announcement banner with a leading dot, centered label, trailing arrow link, optional dismiss, and accent/dark/neutral tones.

Sign in to copy
SdfBanner.tsx 84 lines · TypeScript

The full source is for members

Sign in and choose a plan to view and copy SdfBanner.tsx. The live preview above is free to explore.

Sign in

How to use. Copy SdfBanner.tsx into your project (it's self-contained — the styles ship with it and dedupe across instances in React 19). Theme it by setting --sdf-* tokens on any ancestor. No dependencies, no build step.

All React components
A Stacklumen Product