Properties
Optional
backgroundColor
backgroundColor?: "none" | "primary-100" | "primary-300" | "primary-500" | "primary-700" | "primary-900" | "secondary-100" | "secondary-300" | "secondary-500" | "secondary-700" | "secondary-900" | "tertiary-100" | "tertiary-300" | "tertiary-500" | "tertiary-700" | "tertiary-900" | "accent-100" | "accent-300" | "accent-500" | "accent-700" | "accent-900" | "neutral-900" | "neutral-700" | "neutral-500" | "neutral-300" | "neutral-100" | "positive-700" | "positive-300" | "warning-700" | "warning-300" | "negative-700" | "negative-300" | "support-01" | "support-02" | "support-03"
Optional
block
block?: boolean
Optional
borderColor
borderColor?: "none" | "primary-100" | "primary-300" | "primary-500" | "primary-700" | "primary-900" | "secondary-100" | "secondary-300" | "secondary-500" | "secondary-700" | "secondary-900" | "tertiary-100" | "tertiary-300" | "tertiary-500" | "tertiary-700" | "tertiary-900" | "accent-100" | "accent-300" | "accent-500" | "accent-700" | "accent-900" | "neutral-900" | "neutral-700" | "neutral-500" | "neutral-300" | "neutral-100" | "positive-700" | "positive-300" | "warning-700" | "warning-300" | "negative-700" | "negative-300" | "support-01" | "support-02" | "support-03"
Optional
bottom
bottom?: string | number
Optional
boxShadow
boxShadow?: string
Optional
checked
checked?: boolean
Optional
color
color?: "none" | "primary-100" | "primary-300" | "primary-500" | "primary-700" | "primary-900" | "secondary-100" | "secondary-300" | "secondary-500" | "secondary-700" | "secondary-900" | "tertiary-100" | "tertiary-300" | "tertiary-500" | "tertiary-700" | "tertiary-900" | "accent-100" | "accent-300" | "accent-500" | "accent-700" | "accent-900" | "neutral-900" | "neutral-700" | "neutral-500" | "neutral-300" | "neutral-100" | "positive-700" | "positive-300" | "warning-700" | "warning-300" | "negative-700" | "negative-300" | "support-01" | "support-02" | "support-03"
Optional
display
display?: "none" | "block" | "flex" | "inline" | "inline-block" | "inline-flex"
Optional
fontFamily
fontFamily?: string
Optional
fontSize
fontSize?: "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo"
Optional
fontStyle
fontStyle?: "normal" | "italic" | "oblique"
Optional
fontWeight
fontWeight?: "medium" | "light" | "bold" | "regular"
Optional
height
height?: string | number
Optional
left
left?: string | number
Optional
letterSpacing
letterSpacing?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
lineHeight
lineHeight?: "small" | "medium" | "large"
Optional
margin
margin?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginBottom
marginBottom?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginHorizontal
marginHorizontal?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginLeft
marginLeft?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginRight
marginRight?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginTop
marginTop?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
marginVertical
marginVertical?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
maxHeight
maxHeight?: string | number
Optional
maxWidth
maxWidth?: string | number
Optional
minHeight
minHeight?: string | number
Optional
minWidth
minWidth?: string | number
Optional
opacity
opacity?: "none" | "light" | "half" | "transparent"
Optional
overflow
overflow?: "scroll" | "auto" | "hidden" | "visible" | "overlay"
Optional
overflowWrap
overflowWrap?: "normal" | "break-word"
Optional
overflowX
overflowX?: "scroll" | "auto" | "hidden" | "visible" | "overlay"
Optional
overflowY
overflowY?: "scroll" | "auto" | "hidden" | "visible" | "overlay"
Optional
padding
padding?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingBottom
paddingBottom?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingHorizontal
paddingHorizontal?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingLeft
paddingLeft?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingRight
paddingRight?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingTop
paddingTop?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
paddingVertical
paddingVertical?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
position
position?: "fixed" | "static" | "relative" | "absolute" | "sticky"
Optional
right
right?: string | number
Optional
textAlign
textAlign?: "center" | "left" | "right" | "justify"
Optional
textDecoration
textDecoration?: "none" | "blink" | "underline" | "overline" | "line-through"
Optional
textIndent
textIndent?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
textJustify
textJustify?: "auto" | "inter-character" | "inter-word" | "distribute"
Optional
textOverflow
textOverflow?: "clip" | "ellipsis"
Optional
textRendering
textRendering?: "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision"
Optional
textTransform
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase"
Optional
top
top?: string | number
Optional
visibility
visibility?: "hidden" | "visible" | "collapse"
Optional
visualState
visualState?: "success" | "danger" | "warning"
Optional
whiteSpace
whiteSpace?: "normal" | "pre" | "nowrap" | "pre-wrap" | "pre-line"
Optional
wide
wide?: boolean
Optional
width
width?: string | number
Optional
wordSpacing
wordSpacing?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Optional
zIndex
zIndex?: number
Valores aceitos para o componente Text.
Veja abaixo um exemplo utilizando algumas as propriedades: