npm -i @raidguild/design-system
import { RGThemeProvider } from @raidguild/design-system
- wrap
<App />
in<RGThemeProvider> </RGThemeProvider>
- in rest of app for instance use
import { Button } from @raidguild/design-system
We recommend using the RGThemeProvider
which automatically provides the Raid Guild theme as well. In case you prefer finer control over the styling, ChakraProvider
and theme
are also available via this package.
- fork and clone the repo
yarn install
yarn build-storybook
yarn storybook
On http://localhost:6006/ you'll see the components built in the storybook.
If you do not already use Prettier, please add Prettier to your text editor. Prettier allows us to have consistent formatting without having to think much about it.