Title
Semantic heading component mapping
order={1..6} to typography variants h1..h6 while offering decorative enhancements like underline, afterline, and prefix adornments.Examples
(6)Properties
(60)Playground
Basic Usage
Default Title usage shows the h2-style heading produced by the component without additional props.
Heading Levels
Set the
order prop to align Title with semantic heading levels from h1 through h6.Prefix Styles
Enable the
prefix prop to add visual markers, switching variants or supplying a custom icon for emphasis.Underlines
Toggle
underline and afterline to add emphasis and separation, including custom color and stroke weights.Actions
Pass an
action element to align buttons or toggles alongside the heading.Combined Accents
Mix prefix, underline, and afterline props to create a primary heading and aligned subsection titles with consistent accents.
Scan to open this page on your phonereact-ui-library.com/components/Title
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources