Draws a box around a block of content to set it apart. Use to emphasise content, not to warn: a warning is an `AlertNext`.
Health
Source
Playground
Accessibility
unknown
Platform
Universal
Contrib Component
HighlightBox is a community contributed component. We encourage its usage but it might not give the same level of robustness (accessibility, tests, ...) than core Murray components.- Overview
- Props
Loading...
HighlightBox
The HighlightBox component is available for universal (web and mobile) applications.
Overview
See the component source code for API details and examples.
tip
This component is universal, its usage is the same on web and mobile.
HighlightBox props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| css | 12 possibilitiesundefinednullstringnumberfalsetrueComponentSelectorKeyframesSerializedStylesCSSObjectArrayInterpolation<Theme>FunctionInterpolation<Theme> | |||
| 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; } | |||
| variant | 5 possibilities"negative""warning""positive""informative"undefined | informative |
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