slim-design-system
v0.1.0
Published
This repo contains a React design system and the docs app used to preview it.
Downloads
16
Readme
slim-design-system
This repo contains a React design system and the docs app used to preview it.
Install
npm install slim-design-systemUse
import { DesignSystemProvider, Button } from "slim-design-system"
export function App() {
return (
<DesignSystemProvider defaultTheme="light">
<Button>Click me</Button>
</DesignSystemProvider>
)
}The package root imports the compiled design-system styles automatically. If you prefer, you can also import slim-design-system/style.css yourself.
Build And Publish
npm run build:package
npm publishFor a scoped package, use npm publish --access public the first time if the registry requires it.
