Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

DayChip

Open .md
Live preview

Loading example…

Compact single-line chip for a day marker.

import { DayChip } from "@jcsoftdev/ui/calendar";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/calendar/day-chip.

<DayChip marker={marker} />
Prop Type Default Description
marker * CalendarMarker
onOpen ((id: string) => void)
className string
classNames Partial<Record<DayChipPart, string>> Per-part classes merged with cn; consumer classes win. className still targets the root and is merged last.
intent string
intentKey string

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/calendar/day-chip/day-chip.tsx