OTTODesign System

CodeTypography

Display

Storybook group: Fragments · Sidebar path: Fragments/Typography/Display · Extracted 28.09.2026

Overview

Source: ./src/fragments/typography/OCDisplayV1.mdx

Display

Skip to:

Class naming convention

Classes use the format {prefix}-display-{size}.

Element Description
prefix Always oc for OTTO Components
size One of 100, 200, 300

Usage guidelines

To use the display utility, add the appropriate CSS class to your text elements. For example, to set the display size to 100 use the oc-display-100 class:

<p class="oc-display-100">This text uses size 100.</p>

Use the controls in the interactive display demo to see these classes in action.

Accessibility

See the accessibility documentation for general guidelines on making your content accessible.

Typography/Display (OCDisplayV1.stories.ts)

Demo: Display

Story: fragments-typography-display--default · tags:

Args: base-class=oc-display-100

Story source (TypeScript, verbatim from Storybook)
{
  name: "Demo: Display",
  args: {
    "base-class": "oc-display-100"
  }
}