React component library, written by developers for developers 🩵
Install @adara-cs/ui-kit-web with
npm:
npm i @adara-cs/ui-kit-web
yarn:
yarn add @adara-cs/ui-kit-web
Connect the styles first. You can do this using a js file, however, we recommend that you connect using @import
and defining layers so that there are no conflicts with specificity.
@import url('@/shared/styles/normalize.css') layer(reset);
@import url('@adara-cs/ui-kit-web/style') layer(library);
@layer reset, library, components, overrides;
Setup fonts
Next:
import { Montserrat } from 'next/font/google';
const montserratSans = Montserrat({
subsets: ['latin', 'cyrillic'],
display: 'swap',
weight: ['400', '500', '700', '900']
});
Google Fonts:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
Start using
import { Button } from '@adara-cs/ui-kit-web';
...
<Button>Hello, world!</Button>
To run tests, run the following command
npm run test
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.