npm.io
1.0.184 • Published 1 week ago

socraft-ui

Licence
Apache-2.0
Version
1.0.184
Deps
15
Size
2.8 MB
Vulns
0
Weekly
0
Stars
2

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>;
}

View all components