CoreCalendar
Calendar API
Every prop of the 2 parts Calendar exports, generated from the package manifest.
import { Calendar, CalendarDayButton } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Calendar · CalendarDayButtontypes: CalendarProps
- Variants
- buttonVariant: default | destructive | ghost | link | outline | secondary
- Contract
- packages/brand-system/src/components/calendar.contract.test-d.ts
- Demos
- 8 on the Calendar page — rendered live, hydrated
- Source
- packages/brand-system/src/components/calendar.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Calendar is for, how it composes and what it looks like, see Calendar.
Calendar
CalendarProps
Prop
Type
Also inherited from react-day-picker — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.
Prop
Type
CalendarDayButton
Inherited from the primitive underneath — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type