@nevuto/components
v0.19.2
Published
React components of Nevuto UI, the design system of the Nevuto admin.
Readme
@nevuto/components
React components of the Nevuto admin: buttons, inputs, tables, modals, navigation and more.
Part of Nevuto UI, the design system of the Nevuto admin. Apps embedded in the admin can use it to look like part of it.
Install
npm i @nevuto/componentsPeer dependencies: react, react-dom.
Usage
import '@nevuto/tokens/css'
import '@nevuto/components/styles.css'
import { Button, Heading } from '@nevuto/components'
export function Example() {
return (
<>
<Heading as="h1">Campaigns</Heading>
<Button variant="inverted">New campaign</Button>
</>
)
}Load @nevuto/tokens/css once; the components read its CSS variables.
Links
- Nevuto UI docs: https://design.nevuto.com
- Building apps for Nevuto: https://nevuto.dev
License
MIT
