@computas/designsystem
v0.2.0
Published
The Computas design system
Keywords
Readme
Getting started
Install the library in your application using your preferred package manager.
npm install @computas/designsystemImport the global styles at the top of your application.
@import "@computas/designsystem/global-styles.css";This style sheet adds an opinionated CSS reset to your page, adds all CSS variables to the root of your stylesheet, and provides the code for the CSS-based components.
Import the components that you need for your application.
// React
import { CxSelect } from "@computas/designsystem/select/react";// Web Component (Angular, Vue etc.)
import "@computas/designsystem/select";Finally, use your component in your template.
// React
<CxSelect>...</CxSelect><!-- Web Component (Angular, Vue etc.) -->
<cx-select> ... </cx-select>