Title

PreviousNext

Title and subtitle display with layout variants including simple, image, profile, and cover.

Title and subtitle display with multiple layout variants and image support.

Simple Variant

The simplest form of the Title component, displaying text without any additional styling.

Example Title

Subtitle goes here

With Emphasis

Add emphasis text above the title for additional context or categorization.

FEATURED

Important Announcement

This is a highlighted section

Image Variant

Horizontal layout with an image alongside the text content.

Profile picture

Alex Thompson

Product Manager at TechCorp

Profile Variant

Centered layout perfect for profile displays with a circular avatar.

Profile picture

Jamie Lee

UX Designer

Cover Variant

Cover layout with a header image area and a profile image with text at the bottom. Perfect for profile headers or detail pages.

Cover image
Cover Title

Cover Title

Subtitle

Compact Size

All variants support a compact size option for tighter layouts.

Compact Title

Uses less vertical space

Props

PropTypeDefaultDescription
titlestring-Main title text (required)
subtitlestring-Subtitle text (optional)
emphasisstring-Emphasized text above title (optional)
imageUrlstring-Profile/main image URL (optional)
coverImageUrlstring-Cover header image URL (for cover variant only)
imageAltstring""Alt text for profile/main image
coverImageAltstring""Alt text for cover header image
variant"simple" | "image" | "cover" | "profile""simple"Layout style
size"default" | "compact""default"Component size
imageFill"fill" | "fit""fill"Image object-fit behavior
truncatebooleanfalseTruncate text with ellipsis
classNamestring-Additional CSS classes