Knit UI
GitHub

Playground

Loading playground…

false
false
false
false
false
false
Playground
<Day
  date="2026-06-15"
  size="md"
/>

Examples

Default

A plain, interactive day cell.

Loading example…

DefaultSourceStorybook

Selected

Selected — solid accent fill with contrast-coloured label.

Loading example…

SelectedSourceStorybook

Weekend

Weekend — the label flips to the accent-error colour.

Loading example…

WeekendSourceStorybook

Outside

Outside the displayed month — dimmed.

Loading example…

OutsideSourceStorybook

Today

Today — bordered highlight (only when not selected / in range).

Loading example…

TodaySourceStorybook

Disabled

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

Loading example…

DisabledSourceStorybook

Static

Static (display-only) — renders as a non-interactive div.

Loading example…

StaticSourceStorybook

Range

A selected range across a week 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 Render Day

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

Loading example…

Custom Render DaySourceStorybook

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
date requiredstring2026-06-15Date displayed in this cell, in `YYYY-MM-DD` format.
disabled systemboolean | undefinedfalseDisable the day.
firstInRangeboolean | undefinedfalseWhether the day is the first in a range selection.
fullWidth systemboolean | undefinedfalseDay takes the full width of its cell.
hiddenboolean | undefinedfalseWhether the day should not be displayed.
highlightTodayboolean | undefinedfalseHighlight today with a border.
inRangeboolean | undefinedfalseWhether the day is within a selected range.
lastInRangeboolean | undefinedfalseWhether the day is the last in a range selection.
localestring | undefineddayjs locale for the fallback `aria-label`; falls back to `DatesProvider`.
outsideboolean | undefinedfalseWhether the day is outside of the current month.
renderDayRenderDay | undefinedCustom renderer for the day's content.
selectedboolean | undefinedfalseWhether the day is selected.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
size systemCalendarSize | undefined
xxs · xs · sm · md · lg · xl · xxl
'md'Width/height of the day.
staticboolean | undefinedfalseRender as a non-interactive `div` instead of a button.
theme systemThemeName | null | undefinedApplies a theme to this element
weekendboolean | undefinedfalseWhether the day is a weekend.
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

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