Knit UI
GitHub

Playground

Loading playground…

Playground
<LevelsGroup />

Examples

Default

Two month levels laid side by side — the default column layout.

Loading example…

DefaultSourceStorybook

Single Column

A single child renders without issue (one column).

Loading example…

Single ColumnSourceStorybook

Three Columns

Three columns side by side (the numberOfColumns parity case from the groups).

Loading example…

Three ColumnsSourceStorybook

Full Width

Stretched to the full width of its container (fullWidth maps data-full-width).

Loading example…

Full WidthSourceStorybook

Props

PropTypeDefaultDescription
disabled systemboolean | undefined
fullWidth systemboolean | undefinedfalseStretch the group to the full width of its container.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
size systemCalendarSize | undefinedCalendar size of the levels rendered inside. Accepted for API parity and so the group can be sized alongside its children; the row layout itself does not vary by size, so it is a passthrough (no `createStyledContext` is needed — `LevelsGroup` renders no cells of its own).
theme systemThemeName | null | undefinedApplies a theme to this element
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 498 inherited style props from Box — the full Tamagui/React Native style surface, including token shorthands like p, mx, bg and c. See Tokens for the scales they accept, or the full list.