Text
Text styles a string.
On this page
On this page
Usage
This component is used to style text using Primer's typographic styles as defined in our design token library, Primer Primitives.
Options
Color
Text can be colored using any of the functional color tokens. Only foreground colors should be used.
Other typographic styles
See Primer Primitives typography for more details about Primer's typography system.