BigSmall
Display primary and secondary text.
#Examples
The BigSmall
component 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 | element Content to be displayed as big | ||
smallOptional | element Content to be displayed as small | ||
data-observe-keyOptional | string Unique string, used by external script e.g. for event tracking | ||
classNameOptional | string Custom className that's applied to the outermost element (only intended for special cases) | ||
styleOptional | object Style 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