Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 774 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 774 Bytes

Aksel React-components

React-components for Nav's design system.

  • Uses styling defined in @navikt/ds-css
  • All components are 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