The Text component is a wrapper component that will apply typography styles to the text inside.
<> <Text as="p" fontWeight="bold"> bold </Text> <Text as="p" color="danger.fg"> danger color </Text> <Text as="p" color="fg.onEmphasis" bg="neutral.emphasis" p={2}> inverse colors </Text></>
Text components get TYPOGRAPHY and COMMON system props. Read our System Props doc page for a full list of available props.
TYPOGRAPHY
COMMON
span