ds-react-internal
/
3.2.1
ds-react-internal 3.2.1
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-react-internal@3.2.1
Install via package.json:
"@navikt/ds-react-internal": "3.2.1"
About this version
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.
yarn add @navikt/ds-react-internal
npm install @navikt/ds-react-internal
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>
);
}