Skip to content

ds-react 6.17.0

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

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.17.0.tgz

Download activity

  • Total downloads 3,909
  • Last 30 days 669
  • Last week 158
  • Today 3