Paragraph Properties
A flexible paragraph component that provides consistent text styles with various size options. This component is designed for body text across your application with proper spacing and readability.
Basic Paragraph
The basic Paragraph component renders a <p> with the muted text colour. By default, it uses the medium size. It forwards its ref and merges className last.
Default paragraph text with medium sizing.
Paragraph Sizes
The size prop adjusts the visual size of the paragraph. Available sizes are 'xs', 'sm', 'md' (default), 'lg' and 'xl', which map to the size-p-xs … size-p-xl typography utilities.
Extra large paragraph text. It uses the size-p-xl class and suits lead text or short introductions.
Large paragraph text. It uses the size-p-lg class for emphasised content or introduction text.
Medium paragraph text. This is the default size and uses the size-p-md class. It's ideal for most body content throughout your application.
Small paragraph text. It uses the size-p-sm class for supporting text and compact layouts.
Extra small paragraph text. It uses the size-p-xs class and is perfect for captions or when space is limited.
Examples
Below are examples showing how the Paragraph component can be used in different contexts.
Section Title
Introduction paragraph text that provides an overview of the section. This larger text size helps to establish context before diving into more detailed information.
Main content using the medium size. This is where most of your information would be presented, using a comfortable reading size that works well for extended content blocks.
Additional information or note in smaller text. Perfect for supplementary details that support the main content but don't need as much visual emphasis.