New
Storybook’s Visual Tests addon enters betaVisual test with Chromatic
Star82,041

Subtitle

Watch a video tutorial on the Storybook channel

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

Screenshot of Subtitle block

ButtonDocs.mdx
Loading...

Subtitle

Loading...

Subtitle is configured with the following props:

children

Type: JSX.Element | string

Default: parameters.componentSubtitle

Provides the content.

Was this page helpful?

Markdown accepted ([link text](url), _italic_, **bold**, etc). Your anonymous feedback will be posted publicly on GitHub.

✍️ Edit on GitHub – PRs welcome!
Storybook
Join the community
6,490 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI