alignItems | AlignItems | — | Cross-axis alignment when the display is flex or grid. |
alignSelf | AlignSelf | — | Cross-axis alignment of this flex item. Maps to align-self. |
aria-description | LocalizedMessage | — | Extended description for assistive tech. |
aria-label | LocalizedMessage | DisplayValue | — | Accessible name when the visible label is insufficient. |
aria-placeholder | LocalizedMessage | — | Hint for an empty control. |
as | "div" | "section" | "article" | "aside" | "header" | "footer" | "main" | "nav" | "search" | "figure" | "figcaption" | "address" | "blockquote" | "form" | "fieldset" | "ul" | "ol" | ... 7 more ... | — | Element to render. Defaults to div. |
attachBlockEnd | boolean | — | Pins the block-end edge. Replaces ui-core attachBottom. |
attachBlockStart | boolean | — | Pins the block-start edge. Replaces ui-core attachTop. |
attachInlineEnd | boolean | — | Pins the inline-end edge. Replaces ui-core attachRight. |
attachInlineStart | boolean | — | Pins the inline-start edge. Replaces ui-core attachLeft. |
background | Background | — | Fill from a background token. |
basis | FlexBasis | — | Initial main size. Maps to flex-basis. |
border | BorderColor | — | Border on every side. |
borderBlockEnd | BorderColor | — | Border on the block-end side. Replaces ui-core borderBottom. |
borderBlockStart | BorderColor | — | Border on the block-start side. Replaces ui-core borderTop. |
borderInlineEnd | BorderColor | — | Border on the inline-end side. Replaces ui-core borderRight. |
borderInlineStart | BorderColor | — | Border on the inline-start side. Replaces ui-core borderLeft. |
borderRadius | Radius | — | Corner radius token. |
borderWidth | BorderWidth | — | Border thickness for whichever sides are on. |
children | ReactNode | — | Content rendered inside the element. |
className | string | — | @deprecated Do not use outside the design system; use Box enum props or a shipped part.
Appended after the generated classes. Apps and remotes must not pass a className to restyle layout or paint
that Box props already express. For a flex column that fills remaining height and scrolls, use grow, shrink,
minHeight={BlockSize.Zero}, and overflow or overflowBlock (BX-3). When no enum prop exists, load the
find-pattern skill and request a typed prop instead of injecting styles. |
containerType | ContainerType | — | CSS container-type. |
display | Display | — | CSS display. |
elevation | Elevation | — | Shadow token. Does not change the background. |
flexDirection | FlexDirection | — | Flex main axis. |
flexWrap | FlexWrap | — | Flex wrapping. |
gap | Gap | — | Space between children. Maps to gap. |
grow | boolean | — | When true, sets flex-grow: 1. |
height | SizedBlock | — | Block size. Replaces ui-core's free-form height. |
item | FlexItem | — | Flex-item recipe for this node as a child of a flex container. Prefer item over className or CSS-module flex
shorthand. grow, shrink, and basis still work for advanced overrides. |
justifyContent | JustifyContent | — | Main-axis alignment when the display is flex or grid. |
loading | boolean | — | Paints this box as its own loading placeholder, sized by its own layout.
The fill matches Skeleton: --color-fill-strong (unchanged from before) is painted at once and opacity pulses 0.6, 1, 0.6 (the range it always had) over 1.8s on
--easing-glide-in-out for 11 cycles, staggered 90ms per sibling, then rests at 0.6. The pulse stops under
reduced motion, increased contrast and forced colors. The box is inert and hidden from assistive tech; set
aria-busy on the region that owns the data. |
margin | Margin | — | Margin from the space scale, including the negative steps. |
maxHeight | MaxBlockSize | — | Maximum block size. |
maxWidth | MaxInlineSize | — | Maximum inline size. |
minHeight | SizedBlock | — | Minimum block size. BlockSize.Zero sets min-block-size: 0 so a flex child in a column can shrink and scroll
with grow, shrink, and overflow. |
minWidth | SizedInline | — | Minimum inline size. |
overflow | Overflow | — | CSS overflow. |
overflowBlock | Overflow | — | Block-axis overflow when the shorthand is not enough. |
overflowInline | Overflow | — | Inline-axis overflow when the shorthand is not enough. |
padding | Spacing | — | Padding from the space scale, on all sides or per logical side. |
position | Position | — | CSS position. |
ref | Ref<BoxHost<T>> | — | Ref to the rendered element. |
regionClass | CssModuleClass | — | Token-only paint from a colocated *.region.module.scss import. Apps and remotes use this instead of
className on Box or FlexBox. The value must be branded {@link CssModuleClass}; plain strings are rejected
in development. |
shrink | boolean | — | When true, sets flex-shrink: 1 and min-inline-size: 0 so flex children can shrink below their content width.
When false, sets flex-shrink: 0. Omitted by default. |
state | StateAttributesInput | — | Design-system state attributes. Raw data-* state names are reserved. |
title | LocalizedMessage | DisplayValue | — | Native tooltip; accessibility hint, not visible UI title text. |
width | SizedInline | — | Inline size. Replaces ui-core's free-form width. |
zIndex | ZIndex | — | Stacking token. |