Hds-js contains vanilla js exported from the hds-react package of the Helsinki Design System. It has no own source; the files are hand-picked from the React version. React or CSS are not included. This package does not include any UI components either.
Install the package.
yarn add hds-js
JS
import { cookieController } from 'hds-js';
Read more here.
Read more here.
- TypeScript support.
- Bundled with Rollup, compiled with Babel.
- Source files are in the hds-react package.
The supported browser versions are listed in the hds-react README.