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
  • TabList

mobile

Switches between views, and can drive React routes. `TabListNext` is the successor for universal code.

Health
Component health
Source
View on Github
Design
View Figma
Storybook
View in Storybook
Accessibility

not-compliant

Platform
Mobile
📱 Mobile-only
This component is only for mobile. To see how it looks like you can check the mobile storybook with:
yarn workspace alan-mobile dev:install-client -p ios
yarn workspace alan-mobile dev:storybook
Accessibility issues
The component misses an accessible representation of tabs. It misses to include the tab pannels content.
  • Overview
  • Props
  • Figma
info

Mobile components cannot be previewed in the browser. Use Storybook mobile or run the app locally to test.

Use React router links​

You can use the TabList to generate React router links.

In this case you don't have to take care about active state and onClick props, but only passing a NavLink component:

import { NavLink } from "react-router-dom";

function Playground() {
return (
<TabList
items={[
{
visual: "👋",
title: "Tab 1",
reactRouterElement: <Navlink to="/somewhere">
},
{
visual: "🤗",
title: "Tab 2",
reactRouterElement: <Navlink exact to="/somewhere/else">
},
]}
/>
);
}

Playground​

Loading...

TabList props

NameTypeDefault ValueDescriptionUsage count
aria-labelstringundefined
contentContainerStyle
6 possibilitiesundefinednullfalse""ViewStyleRecursiveArray<Falsy | ViewStyle>
disabledbooleanundefinedfalse
items*TabListItem[]
onActiveItemPressed(() => void)undefined
onPress*(index: number, item: TabListItem) => void
overrideSelectorColorstringundefined
selectedIndex*number
size"sm""md"undefinedsm
stretchedItemsbooleanundefined
style
6 possibilitiesundefinednullfalse""ViewStyleRecursiveArray<Falsy | ViewStyle>
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; $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; $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; $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; $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; $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; $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; $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-sm"?: 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-lg"?: 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-ltMd"?: 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-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-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-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-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-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-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-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-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; }
variantTabListVariantundefinedprimary

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
Spacer
Next
TabList
  • Use React router links
  • Playground