Skip to content

ds-react 6.10.1

Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-react@6.10.1
Install via package.json:
"@navikt/ds-react": "6.10.1"

About this version

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>;
}

Learn more

License

MIT

Details


Assets

  • ds-react-6.10.1.tgz

Download activity

  • Total downloads 3,657
  • Last 30 days 84
  • Last week 51
  • Today 0