@carbon-labs/react-date-picker
v0.10.0
Published
Carbon Labs - Date Picker for React
Keywords
Readme
React DatePicker Implementation
This directory will contain the React implementation of the DatePicker component in Phase 2.
Planned Structure
components/react/
├── DatePicker.tsx - Main wrapper component
├── DatePickerInput.tsx - Input component
├── Calendar.tsx - Calendar component
├── hooks/
│ └── useDatePicker.ts - React hook for state machine integration
└── adapters/
└── react-adapter.ts - React-specific adapterImplementation Guide
See ../../REACT_IMPLEMENTATION_GUIDE.md for detailed implementation
instructions.
Key Features
- 100% backwards compatible with Carbon React v11 DatePicker API
- Shares state machine logic with Web Components implementation
- Uses Temporal API for date handling
- Supports single, simple, and range modes
- Full keyboard navigation support
Phase 2 Timeline
React implementation is planned for Phase 2 of the Carbon Labs restructuring effort.
