← All projects

An open-source React component library with accessible components, scoped CSS Module styles, and CSS custom-property theming, distributed for both ESM and CommonJS projects with a docs site of live playgrounds and full-page examples.

Role
Library design, component engineering, and documentation
Delivery
velocityui.com
Availability
Open source
Library
46 components, 10 themes, 3 densities

How it works

@VELOCITYUIKIT/VELOCITYUITokensCSS variablesThemes10 · 3 densitiesComponents46, CSS ModulesPlaygroundsAI guideYour appESM or CommonJSVELOCITYUI / TOKENS TO INTERFACE

Swipe to see the whole system

  1. Good by default, yours by design

    Components arrive with considered spacing, motion, and states, and every visual decision is a token a theme can override.

  2. Theming is a class name

    Themes are scoped CSS variable sets, so a page, a section, or a single card can switch theme without JavaScript or a re-render.

  3. Documentation you can run

    Playgrounds render the real component and print the matching code, and examples are complete pages rather than isolated snippets.

The problem

Component libraries tend to be either unstyled kits that leave every product looking unfinished, or heavy design systems that are hard to make your own. Teams, and now coding agents, need components that look good on day one, re-theme without a rebuild, and come with documentation they can act on.

My approach

VelocityUI ships 46 React components styled with CSS Modules and driven entirely by CSS custom properties, so switching between its ten themes and three densities is a class name, not a re-render. The docs site is built from the same package: every component has a live playground, nineteen full-page examples show the components working together, and an AI agent guide gives coding assistants the rules in one downloadable file.

Engineering scope

  1. TypeScript components with CSS Modules, published to npm for ESM and CommonJS with React and React DOM as the only runtime dependencies
  2. Ten themes and three density scales defined as CSS custom properties, plus ambient background components that stay static under reduced motion
  3. A Next.js docs app with searchable catalogs, live prop playgrounds, Shiki-highlighted code, nineteen example pages, and a component regression test suite