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.

Containers

Containers are a fundamental building block of our Design-System that contain, pad, and align your content within a given device or viewport. They are required, when using our grid-system. While containers can be nested, most layouts do not require a nested container.

We can distinguish between two different container types:

  • .container, which defines a max-width on some breakpoints.
  • .container-fluid, which is width: 100% at all breakpoints.
xs
<400px
sm
≥400px
rg
≥600px
md
≥780px
lg
≥1024px
xl
≥1280px
xxl
≥1440px
Container max-widthnonenonenonenonenone1280px1440px
Container padding12px16px16px32px32px40px120px
Container-Fluid padding12px16px16px32px32px32px32px

Our default .container class is a responsive, fixed-width container.

<div class="container"> <!-- Content here --> </div>

Use .container-fluid for a full width container, spanning the entire width of the viewport on every breakpoint.

<div class="container-fluid"> <!-- Content here --> </div>

When using our source Sass files, you have the option of using Sass variables for customization (not recommended).

$grid-container-padding: ( "xs": "12px", "sm": "16px", "rg": "16px", "md": "32px", "lg": "32px", "xl": "40px", "xxl": "120px" ); $grid-container-fluid-padding: ( "xs": "12px", "sm": "16px", "rg": "16px", "md": "32px", "lg": "32px", "xl": "32px", "xxl": "32px" ); $container-max-widths: ( "xl": "1280px", "xxl": "1440px" );