Illustrative Mathematics® Learn Math for life
Components/Typography

Heading Wrapper

A container for overline, heading title, and subheading text

done

Overview

The HeadingWrapper is a container component that provides consistent spacing and layout for heading-related components. It is typically used to wrap Overline, HeadingTitle, and Subheading components to create cohesive heading sections.

Examples

Basic Usage

Overline, HeadingTitle, and Subheading are optional children. Typically, Overline will have a HeadingTitle after it, and Subheading won't appear before an Overline.

Overline

HeadingTitle

Subheading

Custom Styling

You can apply custom styles using the className prop.

Overline

HeadingTitle

Subheading

Import

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

Props

PropTypeDefault
className?
string
-
children
React.ReactNode
-