Text

Dark Mode

Text is the primary component for displaying text of any kind.
It provides a set of variants in order to fit for any use case.

API Reference

Prop
Type
Default
Description
align
ResponsiveString
as
React.ElementType
children
React.ReactNode
color
ResponsiveString
extend
unknown
subStyle
ResponsiveString
transform
ResponsiveString
variant
ResponsiveString

Examples

Responsive Variants

Custom Color

Align & Transform

Nested Text

Inherited Color

Changelog

08. Apr 2022

  • Switched to our new brand typeface Pangea
  • Removed the
    elm
    variant since it was a duplicate of
    ash