> starmerx.io
[github]
← cd ../open-source
[open-source] · · TypeScript · Apache-2.0

fe-stylekit

The lean open-source version of our internal front-end component kit. Headless, styleless, copy-paste friendly.

What we wanted isn’t a component library—it’s a set of patterns you can copy.

What it is

A collection of headless components / hooks / utilities. Carved out of our internal business code, completely divorced from the business.

Not Material UI. Not Ant Design. No styles, no theme—only behavior and a11y.

What’s inside

  • <Combobox> / <Autocomplete> — WAI-ARIA 1.2 combobox pattern
  • <Dialog> / <Sheet> — modal with focus trap
  • useDebouncedValue / useThrottledCallback
  • fetchJSON — with retry / timeout / type inference
  • cn(...) — className merging

Why we open-sourced this version

Our internal kit was too tangled with the business (every design token was internal). This version is the smallest component set after stripping away business dependencies—useful to other companies too.

What’s not inside

  • Visual styles of any kind
  • Form validation (use zod / yup, whatever you like)
  • Routing (out of scope at this layer)

Design principles

  1. Headless first. No style system required.
  2. A11y correct by default. Keyboard + screen reader usable out of the box.
  3. Importable individually. Tree-shakable.
  4. Zero runtime dependencies (besides React itself).