Skip to main content
Brand and assets
Build
Monitor and contribute
/
Component library
  • All components
  • Buttons & actions
  • Forms & inputs
  • Layout & containers
    • Anchors
    • Box
    • Col
    • Container
    • ContainerNext
    • FullPageLayout
    • Grid
    • HStack
    • Header
    • Header
    • LayoutGrid
    • Navigation
    • Pagination
    • Row
    • Section
    • Spacer
    • TabList
    • TabList
    • Tabs
    • VStack
  • Overlays
  • Feedback & status
  • Data display
  • Typography
  • Accessibility
  • Contrib
  • Deprecated
  • Layout & containers
  • VStack

VStack

Lays children out in a column. Use `HStack` for a row.

Health
Component health
Source
View on Github
Storybook
View in Storybook
Playground
No Example
Accessibility

compliant

Platform
Universal
  • Overview
  • Props

VStack is a vertical flex container. If you need a horizontal flex container, use HStack component instead.

Styling​

VStack accepts the same properties as Box component (including sx). It also provides a shortcut gap property:

<VStack gap="$px8" />
<VStack gap={{ $xs: "$px8", $sm: "$px16" }} />

Playground​

Loading...
tip
This component is universal, its usage is the same in murray and murray/mobile.

VStack props

NameTypeDefault ValueDescriptionUsage count
css
12 possibilitiesundefinednullstringnumberfalsetrueComponentSelectorKeyframesSerializedStylesCSSObjectArrayInterpolation<Theme>FunctionInterpolation<Theme>
gap
79 possibilitiesundefinednumber"unset""$0""$1""$2""$4""$6""$8""$10""$12""$14""$16""$20""$24""$28""$32""$36""$40""$44""$48""$56""$64""$80""$96""$112""$128""$144""$160""$176""$192""$px0""$px1""$px2""$px4""$px6""$px8""$px10""$px12""$px14""$px16""$px20""$px24""$px28""$px32""$px36""$px40""$px44""$px48""$px56""$px64""$px80""$px96""$px112""$px128""$px144""$px160""$px176""$px192"Variable<any>UnionableNumber"inherit"`var(${string})`"auto"PercentString`${number}vw``${number}dvw``${number}lvw``${number}svw``${number}vh``${number}dvh``${number}lvh``${number}svh``calc(${string})``min(${string})``max(${string})`"max-content""min-content"MediaProps<number | SpaceTokens>
Space to apply between child elements. Can use design tokens and responsive values
onKeyDown((e: KeyboardEvent) => void)undefined
sx
150 possibilitiesundefinedOmit<StackStyle, `$${string}` | PhysicalDirectionProperties> & { [x: `$theme-${string}`]: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; $xs?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltVs?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $vs?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltSm?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $sm?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltMd?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $md?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltLg?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $lg?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltXl?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $xl?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $ltXxl?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; $xxl?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>> & { "$platform-ios"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-android"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-web"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>undefined; "$platform-native"?: AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>> | undefined; }>undefined; "$group-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xs-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltVs-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-vs-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltSm-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-sm-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltMd-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-md-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltLg-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-lg-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXl-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xl-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-ltXxl-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl-hover"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl-press"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl-focus"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl-focusVisible"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$group-xxl-focusWithin"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$platform-ios"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$platform-android"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; "$platform-web"?: OmitPhysicalDeep<AddWebOnlyStyleProps<WithThemeShorthandsAndPseudos<StackStyleBase, {}>>>undefined; "$platform-native"?: OmitPhysicalDeep<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>> & WithPseudoProps<WithThemeValues<StackStyleBase> & WithShorthands<WithThemeValues<StackStyleBase>>>>undefined; } & { shadowPreset?: "xs""sm""md""lg""xs-inverted""sm-inverted""md-inverted""lg-inverted"undefined; }

Undocumented props

NameTypeDefault ValueDescriptionUsage count
$platform-webany
accessibilityElementsHiddenany
aria-checkedany
aria-currentany
aria-hiddenany
aria-labelany
aria-labelledbyany
asChildany
classNameany
data-stepany
idany
importantForAccessibilityany
onFocusany
onLayoutany
onMouseEnterany
onMouseLeaveany
onPressany
onPressInany
onPressOutany
refany
roleany
styleany
tabIndexany
tagany
testIDany

Style API​

Use sx for one-off adjustments. It accepts these style keys:

alignContentalignItemsalignSelfanimateOnlyanimatePresenceanimationaspectRatiobackdropFilterbackfaceVisibilitybackgroundbackgroundAttachmentbackgroundBlendModebackgroundClipbackgroundColorbackgroundImagebackgroundOriginbackgroundPositionbackgroundRepeatbackgroundSizeblockSizeborderBlockColorborderBlockEndColorborderBlockEndStyleborderBlockEndWidthborderBlockStartColorborderBlockStartStyleborderBlockStartWidthborderBlockStyleborderBlockWidthborderBottomColorborderBottomEndRadiusborderBottomStartRadiusborderBottomWidthborderColorborderCurveborderEndColorborderEndEndRadiusborderEndStartRadiusborderEndWidthborderImageborderInlineColorborderInlineEndColorborderInlineEndStyleborderInlineEndWidthborderInlineStartColorborderInlineStartStyleborderInlineStartWidthborderInlineStyleborderInlineWidthborderRadiusborderStartColorborderStartEndRadiusborderStartStartRadiusborderStartWidthborderStyleborderTopColorborderTopEndRadiusborderTopStartRadiusborderTopWidthborderWidthbottomboxShadowboxSizingcaretColorclipPathcolumnGapcontaincontainerTypecontentcursordirectiondisabledStyledisplayendenterStyleexitStyleexperimental_backgroundImageexperimental_backgroundPositionexperimental_backgroundRepeatexperimental_backgroundSizefilterflexflexBasisflexDirectionflexGrowflexShrinkflexWrapfloatfocusStylefocusVisibleStylefocusWithinStylegapgridColumngridColumnEndgridColumnGapgridColumnStartgridRowgridRowEndgridRowGapgridRowStartgridTemplateAreasgridTemplateColumnsheighthoverStyleinlineSizeinsetinsetBlockinsetBlockEndinsetBlockStartinsetInlineinsetInlineEndinsetInlineStartisolationjustifyContentmarginmarginBlockmarginBlockEndmarginBlockStartmarginBottommarginEndmarginHorizontalmarginInlinemarginInlineEndmarginInlineStartmarginStartmarginTopmarginVerticalmaskmaskBordermaskBorderModemaskBorderOutsetmaskBorderRepeatmaskBorderSlicemaskBorderSourcemaskBorderWidthmaskClipmaskCompositemaskImagemaskModemaskOriginmaskPositionmaskRepeatmaskSizemaskTypematrixmaxBlockSizemaxHeightmaxInlineSizemaxWidthminBlockSizeminHeightminInlineSizeminWidthmixBlendModeobjectFitopacityoutlineColoroutlineOffsetoutlineStyleoutlineWidthoverflowoverflowBlockoverflowInlinepaddingpaddingBlockpaddingBlockEndpaddingBlockStartpaddingBottompaddingEndpaddingHorizontalpaddingInlinepaddingInlineEndpaddingInlineStartpaddingStartpaddingToppaddingVerticalpassThroughperspectivepointerEventspositionpressStylerotaterotateXrotateYrotateZrotationrowGapscalescaleXscaleYscrollbarWidthseparatorshadowColorshadowOffsetshadowOpacityshadowPresetshadowRadiusskewXskewYspacespaceDirectionstarttextEmphasistextWraptoptouchActiontransformtransformMatrixtransformOrigintransformStyletransitiontranslateXtranslateYuserSelectverticalAlignwidthxyzIndex

Each can be overridden per breakpoint with:

$group-focus$group-focusVisible$group-focusWithin$group-hover$group-lg$group-lg-focus$group-lg-focusVisible$group-lg-focusWithin$group-lg-hover$group-lg-press$group-ltLg$group-ltLg-focus$group-ltLg-focusVisible$group-ltLg-focusWithin$group-ltLg-hover$group-ltLg-press$group-ltMd$group-ltMd-focus$group-ltMd-focusVisible$group-ltMd-focusWithin$group-ltMd-hover$group-ltMd-press$group-ltSm$group-ltSm-focus$group-ltSm-focusVisible$group-ltSm-focusWithin$group-ltSm-hover$group-ltSm-press$group-ltVs$group-ltVs-focus$group-ltVs-focusVisible$group-ltVs-focusWithin$group-ltVs-hover$group-ltVs-press$group-ltXl$group-ltXl-focus$group-ltXl-focusVisible$group-ltXl-focusWithin$group-ltXl-hover$group-ltXl-press$group-ltXxl$group-ltXxl-focus$group-ltXxl-focusVisible$group-ltXxl-focusWithin$group-ltXxl-hover$group-ltXxl-press$group-md$group-md-focus$group-md-focusVisible$group-md-focusWithin$group-md-hover$group-md-press$group-press$group-sm$group-sm-focus$group-sm-focusVisible$group-sm-focusWithin$group-sm-hover$group-sm-press$group-vs$group-vs-focus$group-vs-focusVisible$group-vs-focusWithin$group-vs-hover$group-vs-press$group-xl$group-xl-focus$group-xl-focusVisible$group-xl-focusWithin$group-xl-hover$group-xl-press$group-xs$group-xs-focus$group-xs-focusVisible$group-xs-focusWithin$group-xs-hover$group-xs-press$group-xxl$group-xxl-focus$group-xxl-focusVisible$group-xxl-focusWithin$group-xxl-hover$group-xxl-press$lg$ltLg$ltMd$ltSm$ltVs$ltXl$ltXxl$md$platform-android$platform-ios$platform-native$platform-web$sm$vs$xl$xs$xxl
Edit this page
Previous
Tabs
Next
BottomSheet
  • Styling
  • Playground