SDF Quickstart
Sticky aside beside a numbered list of install steps, each with a code block and note.
From zero to first page in three steps.
No framework required. The CDN build works in any HTML file. The npm build works in any modern stack.
- 01
Install or link the library.
npm install @sdf/corePrefer no build step? Use the CDN: https://cdn.sdf.dev/v3/core.css
- 02
Drop a component into your markup.
<section class="sdf-hero"> <h1 class="sdf-hero__title">Hello, world.</h1> </section>Every component is plain HTML + BEM classes. No JSX, no compilation.
- 03
Theme it with CSS variables.
:root { --sdf-accent: #005fff; --sdf-radius: 4px; }Six tokens reskin the whole library. The rest is incremental.
The full source is for members
Sign in and choose a plan to view and copy BaselumenQuickstart.tsx. The live preview above is free to explore.
How to use. Copy BaselumenQuickstart.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.