BigSmall
Allow users to read primary and secondary text displayed together for emphasis or clarity
#Examples
The BigSmallcomponent displays paired information with a clear visual hierarchy. The primary message (Big text) is emphasized, while the secondary details (Small text) provide context.
The relationship between the Big and Small text should be clear and intuitive. For example, a widget summarizing page view in Analytics.
Big: 605,183
Small: 18.5%
In this example, the "Big" text instantly communicates the total number of page views, while the "Small" text provides context with the percentage change compared to a previous period. This allows users to quickly grasp the essential information while offering additional detail at a glance.
Big text goes here
Small text goes here
<BigSmall big="Big text goes here" small="Small text goes here" />#Properties
Big text goes here
Small text goes here
| Property | Description | Defined | Value |
|---|---|---|---|
bigOptional | elementContent to be displayed as big | ||
smallOptional | elementContent to be displayed as small | ||
data-observe-keyOptional | stringUnique string, used by external script e.g. for event tracking | ||
classNameOptional | stringCustom className that's applied to the outermost element (only intended for special cases) | ||
styleOptional | objectStyle object to apply custom inline styles (only intended for special cases) |
#Guidelines
#Best practices
#Do not use when
#Accessibility
Explore detailed guidelines for this component: Accessibility Specifications