@cfx-dev/ui-components v2.1.3
UI Component Library
Include design system, utils and reusable components.
Instalation
yarn add @cfx-dev/ui-components
or
npm install @cfx-dev/ui-components
Usage
In your bundler config add this sass option to use ui utils in styles:
additionalData: `@use "~@cfx-dev/ui-components/dist/styles-scss/ui" as ui;`,
import '@cfx-dev/ui-components/dist/styles-scss/global.scss';
Import default themes or take a look inside how to make your own:
import '@cfx-dev/ui-components/dist/styles-scss/themes.scss';
Add theme class name to body or root element
<body className="cfxui-theme-cfx">
For some components you will need to define this variables in your root stiles:
html {
--width: 100vw;
--height: 100vh;
--quant: calc(1rem * 0.25);
}
License
This project is licensed under the MIT License.
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago