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

3.4.3 • Public • Published

Deprecated!

React-code is moved to @navikt/ds-react in v4.0.0. Read more about this in our changelog.

Aksel React-components for "internal"-solutions

NAVs designsystem 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

  yarn add @navikt/ds-react-internal
  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

Package Sidebar

Install

npm i @navikt/ds-react-internal

Weekly Downloads

70

Version

3.4.3

License

MIT

Unpacked Size

381 kB

Total Files

223

Last publish

Collaborators

  • kenajoh
  • julian-nav
  • larshansennav