socraft-ui
v1.0.63
Published
socraft components library
Downloads
2,873
Maintainers
Readme
socraft-ui
socraft's components library
Installation
with npm
cd my-project
npm install socraft-ui
with yarn
cd my-project
yarn add socraft-ui
Create a component
npm run create -- <component-name>
# Please use PascalCase for the component name
Documentation
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>;
}