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.

Install @inera/ids-design

npm i @inera/ids-design

Import styles and theme-tokens

@import "@inera/ids-design/styles.css"; // Import the tokens you want to use @import "@inera/ids-design/tokens/themes/1177-tokens.css"; @import "@inera/ids-design/tokens/themes/1177-pro-tokens.css"; @import "@inera/ids-design/tokens/themes/1177-admin-tokens.css"; @import "@inera/ids-design/tokens/themes/inera-tokens.css"; @import "@inera/ids-design/tokens/themes/inera-admin-tokens.css";

Apply classes

Use class class="ids--THEME ids--MODE" on <body> or the part of the app where components are to be used. Like so: <body class="ids--1177 ids--light">

Import Fonts

1177

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

1177-pro / 1177-admin

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

Inera

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

Inera-admin

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

Using components

Follow the instructions in each CSS/Component docs.