Properties
Optional
backgroundAttachment
backgroundAttachment?: "scroll" | "fixed" | "local" | "none"
Optional
backgroundBlendMode
backgroundBlendMode?: "normal" | "multiply" | "hard-light" | "difference"
Optional
backgroundClip
backgroundClip?: "border-box" | "padding-box" | "content-box" | "text"
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
backgroundImage
backgroundImage?: any
Optional
backgroundOrigin
backgroundOrigin?: "border-box" | "padding-box" | "content-box"
Optional
backgroundPosition
backgroundPosition?: string
Optional
backgroundPositionX
backgroundPositionX?: string
Optional
backgroundPositionY
backgroundPositionY?: string
Optional
backgroundRepeat
backgroundRepeat?: "repeat" | "space" | "round" | "no-repeat" | "repeat-x" | "repeat-y"
Optional
backgroundSize
backgroundSize?: "cover" | "contain" | "auto"
Optional
block
block?: boolean
Optional
border
border?: "none" | "hairline" | "thin" | "thick" | "heavy"
Optional
borderBottomWidth
borderBottomWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"
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
borderLeftWidth
borderLeftWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"
Optional
borderRadius
borderRadius?: "none" | "micro" | "small" | "medium" | "circular" | "pill"
Optional
borderRadiusLeftBottom
borderRadiusLeftBottom?: "none" | "micro" | "small" | "medium" | "circular" | "pill"
Optional
borderRadiusLeftTop
borderRadiusLeftTop?: "none" | "micro" | "small" | "medium" | "circular" | "pill"
Optional
borderRadiusRightBottom
borderRadiusRightBottom?: "none" | "micro" | "small" | "medium" | "circular" | "pill"
Optional
borderRadiusRightTop
borderRadiusRightTop?: "none" | "micro" | "small" | "medium" | "circular" | "pill"
Optional
borderRightWidth
borderRightWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"
Optional
borderTopWidth
borderTopWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"
Optional
borderWidth
borderWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"
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
disabled
disabled?: boolean
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
label
label?: string
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
onPress
onPress?: (() => void)
Optional
opacity
opacity?: "none" | "light" | "half" | "transparent"
Optional
overflowWrap
overflowWrap?: "normal" | "break-word"
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
size
size?: "small" | "medium"
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
variant
variant?: "text" | "solid" | "ghost"
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
wordSpacing
wordSpacing?: "none" | "small" | "medium" | "quark" | "nano" | "extra-small" | "large" | "extra-large" | "big" | "display" | "huge" | "giant" | "jumbo" | "immense"
Valores aceitos para o componente Button.
Veja abaixo um exemplo utilizando algumas as propriedades: