Join live session: Top 8 Storybook myths holding your team back
Docs
Storybook Docs

Subtitle

Watch a video tutorial

The Subtitle block can serve as a secondary heading for your docs entry.

Screenshot of Subtitle block

ButtonDocs.mdx
import { Subtitle } from '@storybook/blocks';
 
<Subtitle>This is the subtitle</Subtitle>

Subtitle

import { Subtitle } from '@storybook/blocks';

Subtitle is configured with the following props:

children

Type: JSX.Element | string

Default: parameters.componentSubtitle

Provides the content.