Bits is a design system built for Benoit Inc. (dev) using Modulz
Using this package
Step 1: Install Bits from npm
Install @benoitgrelard/bits using your package manager:
yarn add @benoitgrelard/bits
Step 2: Import & use your components
Your components are ready to use! All components are imported directory from @benoitgrelard/bits:
import { Card, Input, Box, Container } from '@benoitgrelard/bits';
BitsProvider
Step 3: Wrap your app in To access the default theme, you must import and wrap your app with the BitsProvider
:
import { BitsProvider } from '@benoitgrelard/bits';
const App = () => <BitsProvider>Hey there👋</BitsProvider>;