Knit UI
GitHub

Playground

Loading playground…

false
false
false
false
false
false
Playground
<PickerControl
  size="md"
  aria-label="January 2026"
>
  Jan
</PickerControl>

Examples

Default

A plain, interactive control.

Loading example…

DefaultSourceStorybook

Selected

Selected — solid accent fill with contrast-coloured label.

Loading example…

SelectedSourceStorybook

Disabled

Disabled — dimmed and non-interactive (selection/range styling suppressed).

Loading example…

DisabledSourceStorybook

Range

A selected range across a month strip: the edges round their outer corners (firstInRange/lastInRange), the middle is a squared $color4 tint, and the endpoints are selected. Cells sit flush so the tint reads as one band.

Loading example…

RangeSourceStorybook

Custom Content

Custom content — a non-text node renders without a label.

Loading example…

Custom ContentSourceStorybook

Themed

The accent recolors with the Tamagui theme= prop — no color prop, no hex.

Loading example…

ThemedSourceStorybook

Sizes

Every size token, from xxs to xxl.

Loading example…

SizesSourceStorybook

Props

PropTypeDefaultDescription
childrenReactNodeJanControl children — the month / year label (or a custom node).
disabled systemboolean | undefinedfalseDisables the control.
firstInRangeboolean | undefinedfalseAssigns first-in-range styles.
fullWidth systemboolean | undefinedfalseDetermines whether the control should take the full width of its cell.
inRangeboolean | undefinedfalseAssigns in-range styles.
lastInRangeboolean | undefinedfalseAssigns last-in-range styles.
selectedboolean | undefinedfalseAssigns selected styles.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
size systemCalendarSize | undefined
xxs · xs · sm · md · lg · xl · xxl
'md'Width/font of the control.
theme systemThemeName | null | undefinedApplies a theme to this element
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 497 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.