quantinuum-ui
/
1.0.4
quantinuum-ui 1.0.4
Install from the command line:
Learn more about npm packages
$ npm install @cqcl/quantinuum-ui@1.0.4
Install via package.json:
"@cqcl/quantinuum-ui": "1.0.4"
About this version
Quantinuum design tokens and React components.
Based on shadcn, an opinionated tailwind theme and radix-ui component generator. Shadcn isn't a direct dependency but has a CLI tool to generate components into this repo based on components.json
.
npm run dev # Run storybook application to view components.
npm run build-storybook # Build storybook application as static HTML.
npm run build-lib # Build component library with rollup.
CSS variables are declared in src/tokens.css
. Dark mode is toggled by the presence of the class .data-theme-dark
on the root document element (<html />
).