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