Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 2.92 KB

File metadata and controls

69 lines (47 loc) · 2.92 KB

hds-react npm npm bundle size

A library of Helsinki Design System components implemented using React.

📚 See the components in Storybook

Requirements

  • React 19 or later (react and react-dom are peer dependencies). npm, pnpm, and Yarn warn at install time if your app does not satisfy this range.

Getting started

Install the package.

pnpm add hds-react

Using the components

JS

import { TextInput } from "hds-react";

// you can also import components individually instead of importing the whole package
import { TextInput } from "hds-react/components/TextInput";

Helsinki fonts

The Helsinki fonts are not included in the package due to copyright reasons.

Development

Read more here.

Built with

Supported browsers

Babel (@babel/preset-env) is configured with broad browser targets to support a wide range of browsers. This means that the following browsers are supported:

Resolved versions for this package’s Babel targets (>1%, not dead, not ie 11, not op_mini all) are shown on browsersl.ist (Finland region).

More info about browser support: