LabsPortfolio

Components

Controls

Date Picker

A spring-physics calendar picker with sliding month transitions, staggered day-cell entry, and a velocity-aware trigger — the date picker your design system deserves.

All components

Installation

Coming soon. Components will be available via the registry once checkout goes live.

Usage

const [date, setDate] = useState<Date>();

<AnimatedDatePicker value={date} onChange={setDate} />

Props

PropTypeDefaultDescription
valueDateCurrently selected date (controlled).
onChange(date: Date) => voidFired when a date is selected.
placeholderstring"Pick a date"Trigger label when no date is selected.
disabledbooleanfalseDisables the trigger and prevents opening.
minDateDateEarliest selectable date. Days before this are dimmed.
maxDateDateLatest selectable date. Days after this are dimmed.
classNamestringTailwind classes on the root container.

Use cases

  • Booking flows

    Check-in / check-out date selection with min/max constraints.

  • Form date fields

    Drop-in replacement for any native <input type='date'> that needs premium feel.

  • Event scheduling

    Pick a date for meetings, reminders, or deadlines.

  • Billing / subscription start dates

    Allow users to choose when a plan takes effect.