@digdir/designsystemet-web prerelease 2
Second prerelease of the @digdir/designsystemet-web package, which provides the ability to use the Designsystemet without React.

All @digdir/designsystemet-* packages can be installed with version 0.0.0-fix-designsystemet-web-20260126133306.
All prereleases will also be under the test tag on NPM.
Test in existing application
We have updated @digdir/designsystemet-react to use @digdir/designsystemet-web as the underlying package for framework-independent interactivity.
No React components have breaking changes, but may be experienced a little differently since they now come from the web package. That's why we need you to test and provide feedback:
Please test these and provide feedback.
These are:
- Popover
- Dropdown
- Tooltip
- Dialog
- Pagination
- Breadcrumbs
- Tabs
- ToggleGroup
- Field
Please check all tests and console to look for errors or unexpected behavior.
ToggleGroup still uses ToggleGroup.Item in React, but now internally does not create <button> anymore.
The new structure is:
Testing in other frameworks or pure HTML/JS
To test the package without React, you can install @digdir/designsystemet-web and @digdir/designsystemet-css in your project.
Then you can use the components and functionality directly.
Types are also generated for various frameworks.
You can get these by adding them to your tsconfig.json:
Documentation
The documentation will be continuously changed in the README for the package, which you can read on NPM.
When the complete release of the package is out, we will update the relevant documentation on designsystemet.no.
Give feedback
We are very interested in hearing from you as a user! If you discover errors, or have suggestions for improvements, you can create an issue in our GitHub repo or on Slack.