@navikt/ds-react-internal
v3.4.3
Published
Aksel react components for internal UIs in NAV
Downloads
503
Readme
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>
);
}