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

6.6.1 • 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

4,591

Version

6.6.1

License

MIT

Unpacked Size

3.55 MB

Total Files

2436

Last publish

Collaborators

  • kenajoh
  • andnorda
  • julian-nav
  • larshansennav