DatePickerDay
Individual day cell component used within the DatePicker calendar grid. Handles selection state, today highlight, and disabled states.
Import
import { DatePickerDay } from '@scaffald/ui';
Basic Usage
Props
See the TypeScript definitions for the complete props API.
Common Props
All DatePickerDay components accept standard React Native View props.
Examples
// Individual day cells (typically rendered by DatePickerBase)
<Row gap={4}>
<DatePickerDay day={14} />
<DatePickerDay day={15} selected />
<DatePickerDay day={16} today />
<DatePickerDay day={17} disabled />
</Row>
Accessibility
- Keyboard navigation support
- Screen reader compatible
- ARIA attributes included
- Focus management
Design Tokens
This component uses the following design tokens:
- Colors:
colors.{semantic}.{theme}.{variant} - Spacing:
spacing.* - Typography:
typography.*
See Design Tokens for more information.
Related Components
Changelog
See GitHub Releases for version history.