@navikt/ds-react
v7.9.0
Published
React components from the Norwegian Labour and Welfare Administration.
Downloads
7,586
Readme
Aksel React-components
React-components for NAVs designsystem.
- Uses styling defined in
@navikt/ds-css
- All components implemented with React.forwardRef!
- Most components extend native html-elements.
Installation
yarn add @navikt/ds-react
npm install @navikt/ds-react
Usage
Remember to also import @navikt/ds-css
for styling!
import { Button } from "@navikt/ds-react";
function App() {
return <Button variant="secondary">Click me!</Button>;
}