Skip to main content
Brand and assets
Build
Monitor and contribute
/
Component library
  • All components
  • Buttons & actions
  • Forms & inputs
  • Layout & containers
  • Overlays
  • Feedback & status
  • Data display
  • Typography
  • Accessibility
  • Contrib
  • Deprecated
    • Alert
    • ButtonDeprecated
    • Collection
    • DateInputDeprecated
    • Dropdown
    • Frame
    • FullWidthModal
    • LegacyTable
    • SearchInputDeprecated
    • SelectOptionItem
    • Table
    • TextDeprecated
    • TooltipDeprecated
  • Deprecated
  • TextDeprecated

TextDeprecated

Deprecated

Deprecated component

Do not use it in new code. It stays documented to help migrate its remaining usages.

Use instead:

  • Text from murray

Displays text in the theme's styles, with the size set through a `size` prop.

Health
Component health
Source
View on Github
Design
View Figma
Playground
No Example
Accessibility
unknown
Platform
Web
  • Overview
  • Props
  • Figma
info

See the migration guide. Learn more about Next typgraphy components

TextDeprecated props

NameTypeDefault ValueDescriptionUsage count
as(ElementType & string)undefinedspan
classNamestringundefined
color
94 possibilities"pink500""pink700""pink900""grey200""grey500""grey600""blue700""grey50""grey100""grey200HighContrast""grey300""grey400""grey600HighContrast""grey700""grey800""grey900""blue50""blue100""blue300""blue500""blue900""teal50""teal100""teal300""teal500""teal700""teal900""pink50""pink100""pink300""pink500HighContrast""pink700HighContrast""pink900HighContrast""yellow50""yellow100""yellow300""yellow500""yellow700""whiteAlpha100""whiteAlpha300""whiteAlpha400""whiteAlpha500""whiteAlpha600""whiteAlpha700""whiteAlpha800""whiteAlpha900""white""black""fluoYellow""cream""lightCream""warning""transparent""action""action50""action100""action300""action500""action700""action900""positive""positive50""positive100""positive300""positive500""positive700""positive900""warning50""warning100""warning300""warning500""warning500HighContrast""warning700""warning700HighContrast""warning900""warning900HighContrast""negative""negative50""negative100""negative300""negative500""negative500HighContrast""negative700""negative700HighContrast""negative900""negative900HighContrast""blue""pink""brand""grey""facebook""twitter""linkedin"undefined
requiredbooleanundefined
size
12 possibilitiesundefined"size12""size16""size24""size32""size40""size14""size18""size56""size64""size80"Responsive<"size12" | "size16" | "size24" | "size32" | "size40" | "size14" | "size18" | "size56" | "size64" | "size80">
styleCSSPropertiesundefined
textAlign
8 possibilitiesundefined"center""left""right""end""start""justify"Responsive<TextAlign>
weightTextWeightundefined
whiteSpaceWhiteSpaceundefined

Undocumented props

NameTypeDefault ValueDescriptionUsage count
altany
contentEditableany
cssany
idany
onBlurany
onClickany
onFocusany
onKeyDownany
refany
titleany
Edit this page
Previous
Table
Next
TooltipDeprecated