Interactive testing environment for react-shared components
Current: Default
A flexible typography component with multiple variants and theme-specific styling
Customize the text properties and see the changes in real-time
The quick brown fox jumps over the lazy dog
Different text variants for various use cases
Hyper Text
Title Text
Subtitle Text
Subtitle Small Text
Base text for body content and paragraphs
Strong emphasized text
Caption text for small details
Styled text with custom appearance
Different text alignment options
This text is aligned to the left
This text is centered
This text is aligned to the right
Different semantic types
Default text without special type
Danger text for errors and warnings
Render as different HTML elements
Paragraph text content
tagReact.ElementType - HTML element to render (default: 'p')
variant'styled' | 'base' | 'title' | 'hyper' | 'subtitle' | 'subtitle-small' | 'strong' | 'caption' - Text style variant (default: 'base')
align'left' | 'center' | 'right' - Text alignment (default: 'left')
type'' | 'danger' - Semantic type (default: '')
layout'default' | 'brim' | 'ode' | 'nova' | 'crest' | 'rung' | 'glint' - Theme-specific layout (auto-detected from theme)
childrenReact.ReactNode - Text content
The StoreText component automatically adapts its styling based on the active theme. Each theme (brim, ode, nova, crest, rung, glint) has unique typography styles for each variant. The layout prop is auto-detected from the current theme, but can be overridden if needed.