@navikt/ds-react
TypeScript icon, indicating that this package has built-in type declarations

6.8.0 • Public • Published

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

Package Sidebar

Install

npm i @navikt/ds-react

Weekly Downloads

2,941

Version

6.8.0

License

MIT

Unpacked Size

3.76 MB

Total Files

2514

Last publish

Collaborators

  • kenajoh
  • andnorda
  • julian-nav
  • larshansennav