socraft's components library
with npm
cd my-project
npm install socraft-ui
with yarn
cd my-project
yarn add socraft-ui
npm run create -- <component-name>
# Please use PascalCase for the component name
Once installed, it is very easy to use the components
import { Button } from "socraft-ui";
function myComponent() {
return <Button variant="yellow">I'm a button !</Button>;
}