yorkie-ui
v0.5.33-rc
Published
Welcome to the Yorkie UI component library!
Downloads
34
Readme
Yorkie UI
Welcome to the Yorkie UI component library!
Get started
Yorkie UI is a component library that helps build UIs faster. The goal is to make building UIs more productive.
Install
UI components are written in React. It requires react: ^18.
Install Yorkie UI to your project.
npm install --save @yorkie-ui/core
Add styles imports to the root of your project.
import '@yorkie-ui/core/dist/styles.css';
Use
Import components you want into your UI
import { Button } from '@yorkie-ui/core';
and use them like so
const example = () => (
<Button
variant="outline"
onClick={() => {
console.log('click!');
}}
>
Click me
</Button>
);