Skip to content
LogoLogo

Legacy AI Heading

Overview

Install

yarn add @camp/legacy-ai-heading

Props

PropTypeDefaultDescription
appearance"small" | "medium" | "large" | "xLarge"This property will configure the heading copy's font style grouping to either increase or decrease in scale.
asStyledElement
childrenReactNodeAlter the text content.
classNamestring
colorstring | string[]Sets the color CSS property.
dangerouslySetStylesStyledCSS
familystring | string[]Sets the font-family CSS property.
heightstring | string[]Sets the line-height CSS property.
mSpacingValues
mbSpacingValues
mlSpacingValues
mrSpacingValues
mtSpacingValues
mxSpacingValues
mySpacingValues
pSpacingValues
pbSpacingValues
plSpacingValues
placement"before" | "after"
prSpacingValues
ptSpacingValues
pxSpacingValues
pySpacingValues
sizestring | string[]Sets the font-size CSS property.
stylesStyledCSS
themedbooleanWhen true, adapts to theme context; when false, uses light theme. The wrapped v1 heading is light-only, so this currently only forwards theme context.
weightstring | string[]Sets the font-weight CSS property.

Generated from @camp/legacy-ai-heading@1.5.0 source, ordered by production usage. * required.

Copyright © 2026 ActiveCampaign