No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.

Get started - Inera Design System CSS

This package is automatically installed with ids-core, ids-react, and ids-angular.

1. Install @inera/ids-design

npm i @inera/ids-design

2. Themes and Fonts

Use class class="ids" on <body> or the part of the app where components are to be used.
Depending on the theme you use, make sure the fonts are installed. Then import your selected theme css.

1177

Inter: Regular, Bold
Open Sans: Light, Regular, Regular Italic, Bold

@import '~@inera/ids-design/themes/1177/1177.css'

1177-pro / 1177-admin

Open Sans: Light, Regular, Regular Italic, Bold

@import '~@inera/ids-design/themes/1177-pro/1177-pro.css'

Inera

Open Sans: Light, Regular, Regular Italic, Bold
Poppins: Semibold

@import '~@inera/ids-design/themes/inera/inera.css'

Inera-admin

Open Sans: Light, Regular, Regular Italic, Bold
Poppins: Semibold

@import '~@inera/ids-design/themes/inera-admin/inera-admin.css'

3. Using components

Follow the instructions in each CSS/Component docs.