Typography
Overview
BigCommerce uses Source Sans Pro for all text, with different weights for headings and subtext.
When to use:
- Use hero headers only for content-focused pages, e.g. a feature discovery page.
- Use page headers at the top of page as a title.
- Use panel headers to give titles to individual panels.
- Use section headers to break up content within a panel.
- Use labels to identify functionality, like inputs or discrete data displays.
- Use body regular to convey information in complete sentences or paragraphs to the user within panels.
- Use body small for supplementary information (e.g. the description for an input).
Implementation
Text - p
Small text - small
Edit the code below to see your changes live!
<> <Text>Text - p</Text> <Small>Small text - small</Small> </>
Props
Prop name | Type | Default | Description |
---|---|---|---|
as | string |
| Changes the rendered tag for semantic purposes. |
bold | boolean | false | Changes text style to bold. |
italic | boolean | false | Changes text style to italic. |
strikethrough | boolean | false | Changes text style to strikethrough. |
underline | boolean | false | Changes text style to underline. |
capitalize | boolean | false | Changes text transform to capitalize. |
lowercase | boolean | false | Changes text transform to lowercase. |
uppercase | boolean | false | Changes text transform to uppercase. |
Props ending with * are required
Inherited
Typography Props
Margin Props