Skip to content

ds-react 7.1.0

Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-react@7.1.0
Install via package.json:
"@navikt/ds-react": "7.1.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-7.1.0.tgz

Download activity

  • Total downloads 2,476
  • Last 30 days 100
  • Last week 23
  • Today 1