Skip to content

ds-react-internal 1.5.9

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

About this version

NAV React-components for internal-solutions

NAVs internal React-components used for more internal facing surfaces.

  • Uses styling from @navikt/ds-css and @navikt/ds-internal-css
  • All components implemented with React.forwardRef!
  • Most components extend native html-elements.

Installation

Install @navikt/ds-react-internal with yarn

  yarn add @navikt/ds-react-internal

Install @navikt/ds-react-internal with npm

  npm install @navikt/ds-react-internal

Usage

Remember to also import @navikt/ds-css and @navikt/ds-css-internal to apply styling!

import { Header } from "@navikt/ds-react-internal";

function App() {
  return (
    <Header>
      <Header.Title as="h1">Title</Header.Title>
    </Header>
  );
}

Learn more

License

MIT

Details


Assets

  • ds-react-internal-1.5.9.tgz

Download activity

  • Total downloads 133
  • Last 30 days 0
  • Last week 0
  • Today 0