Illustrative Mathematics® Learn Math for life
Components/Typography

Subheading

A typography component for text appearing below a heading title.

done

Overview

The Subheading component is used to render text that appears below a heading title. It comes with preset typography styles (font size, weight, color) that are optimized for this specific use case. It is typically used to provide a brief description or elaboration on the heading.

This component is designed to be used as a sibling to HeadingTitle within a HeadingWrapper, which ensures correct spacing and layout.

Examples

Basic Usage

A brief description of the section.

With Heading Title

The most common usage is pairing a Subheading with a HeadingTitle.

Section Title

This text explains what this section is about in more detail.

Custom Styling

You can apply custom styles using the className prop.

Custom styled subheading text.

Import

import { Subheading } from '@im/integral/components/styled';

Props

PropTypeDefault
className?
string
-
children
React.ReactNode
-