- Docs
- Get started
- 02 of 07
- Updated 28 Oct 2026
Installation
Add Qeetrix to a React app in four steps.
- Time
- 4 minutesFour steps
- Requires
- React 19.2And a bundler that keeps layers
- Package manager
- Package manager
01 — Requirements
Before you start.
| What | Supported | Notes |
|---|---|---|
| React and React DOM | 19.2 or later | Server rendering supported |
| @qeetrix/tokens | 0.0.15 | Pairs with @qeetrix/react 0.5.2 |
| @base-ui/react | 1.9 or later | Added for you, except by Yarn |
| Browsers | 111+111+128+16.4+ | iOS 16.4+ |
02 — Setup
Four steps.
1Install the packages
bun add @qeetrix/react @qeetrix/tokens2Add the styles
app.css @import "@qeetrix/tokens/tokens.css"; @import "@qeetrix/react/styles.css" layer(components);3Wrap your app
root.tsx import { QeetrixProvider, ToastProvider } from "@qeetrix/react"; import "./app.css"; export function Root({ children }) { return ( <QeetrixProvider locale="en-IN" defaultColorScheme="system"> <ToastProvider>{children}</ToastProvider> </QeetrixProvider> ); }4Use a component
invite.tsx import { PlusIcon } from "@qeetrix/icons"; import { Button, Stack, TextField } from "@qeetrix/react"; export function Invite() { return ( <Stack gap="lg"> <TextField label="Work email" name="email" type="email" required /> <Button icon={PlusIcon}>Invite users</Button> </Stack> ); }
03 — Troubleshooting
If something looks wrong.
Check both imports are in your root stylesheet, tokens first, and that the tokens come by their full path, @qeetrix/tokens/tokens.css. The short @qeetrix/tokens only resolves where a tool reads the package's style condition, as Tailwind does; Vite stops the build.
Tailwind v4's preflight is overriding the components: the Qeetrix import declared the components layer first, so it ranks lowest. Declare Tailwind's order before the imports, @layer theme, base, components, utilities; then import the tokens, the components and tailwindcss.
Qeet Sans comes with @qeetrix/tokens. If your own CSS sets a font on html or body before the tokens load, it wins: set fonts after the tokens, on body, never on html.
The colour scheme has to be set before the first paint: put colorSchemeScript() from @qeetrix/react in the head, and give QeetrixProvider the same storageKey. Each framework guide shows where.