Get Started
Introduction
@oscarkalid/ui is a set of React components and the design tokens they are built on. Buttons, tables, dialogs, charts and the smaller things that go around them.
Install it as a package or copy a component file into your project and change it from there. Both work. Each component is one file.
Install
Install the package, then import the stylesheet once at the root of your app. The stylesheet carries the tokens. Components have no colours without it.
You can also just take a file. A component needs itself, the token sheet and the cn helper.
Files
Use a component
Import from the package root. Anything under src is internal and may change between versions.
TypeScript
Design tokens
Everything visual comes from CSS variables. Primitives hold the raw values, semantic tokens give them a role. A theme is a different set of values on the semantic layer.
CSS
Next
- Social ButtonsA component page, with every variant and the source.
- Using with LLMsEvery page as markdown and how to hand one to a model.
- ContributingSetup and the rules a change has to follow.
- Design tokensEvery colour, type, spacing and motion value, in one file.
- TodoAgreed work that is not done yet.
Read the source
Every component and the tokens they read from.
Last updated: 12 August 2026