SDF Newsletter
Inline email capture with single-row input, inline validation, and a success state, designed to sit on light or dark surfaces.
The full source is for members
Sign in and choose a plan to view and copy SdfNewsletter.tsx. The live preview above is free to explore.
How to use. Copy SdfNewsletter.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.