JSPM

@digdir/designsystemet-react

1.18.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29211
  • Score
    100M100P100Q166681F
  • License MIT

React components for Designsystemet

Package Exports

  • @digdir/designsystemet-react
  • @digdir/designsystemet-react/colors
  • @digdir/designsystemet-react/react-types

Readme

@digdir/designsystemet-react

React implementation of the Designsystemet components

  • Uses @digdir/designsystemet-css for styling.
  • Uses @digdir/designsystemet-css/theme or CSS file generated from @digdir/designsystemet tokens build for theming.
  • All components support ref.
  • All components support SSR.
    • Use full component name, e.g. CardBlock instead of Card.Block
  • Most components extend and behave as native html-elements.
  • Most components support composition and asChild for overriding the underlying html-element.

Read the Designsystemet README to get started.