quantinuum-ui
/
1.4.1
quantinuum-ui 1.4.1
Install from the command line:
Learn more about npm packages
$ npm install @cqcl/quantinuum-ui@1.4.1
Install via package.json:
"@cqcl/quantinuum-ui": "1.4.1"
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 # 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 />
).