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
asstring

Changes the rendered tag for semantic purposes.

boldbooleanfalse

Changes text style to bold.

italicbooleanfalse

Changes text style to italic.

strikethroughbooleanfalse

Changes text style to strikethrough.

underlinebooleanfalse

Changes text style to underline.

capitalizebooleanfalse

Changes text transform to capitalize.

lowercasebooleanfalse

Changes text transform to lowercase.

uppercasebooleanfalse

Changes text transform to uppercase.

Props ending with * are required

Inherited

Expand

Typography Props

Expand

Margin Props