Date Range Picker

A calendar that previews the range as you hover with a continuous tinted band between endpoint pills, month pages that slide in the direction you move, preset chips, full grid keyboard support and a live summary.

Try it: Click a start and end day, try a preset, or use arrows / PageUp / PageDown.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/date-range-picker.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/date-range-picker. You can also copy the source into components/ui/date-range-picker.tsx (view on GitHub).

Usage

import { DateRangePicker } from '@/components/ui/date-range-picker'

Props

Component props
PropTypeDefaultNotes
value / defaultValue / onValueChange{ from: Date | null; to: Date | null }last weekControlled or uncontrolled range.
todayDatenew Date()Reference day.
disableFuture / presetsbooleantrueBlock future days; show preset chips.
localestringbrowserBCP 47 locale for labels.
classNamestring—Extra classes merged onto the card.

Dependencies

  • motion
  • lucide-react
  • Feedback State Panel

    One surface for the screens nobody designs — empty, error, offline, permission and success — each with its own glyph and motion character, copy that names the next step, and a primary action with a…

  • Sortable Data Table

    A dense, quiet deployments table: sortable headers with aria-sort, search and status filter chips, rows that glide to their new order, hairline hover and selected tints, a bulk-action bar that…

  • Keyboard Shortcut Hint

    A cheat sheet of tactile keycaps that knows your platform (⌘ ⌥ ⇧ vs Ctrl Alt Shift); hold real keys and matching caps sink and light up, complete a combo and its row confirms. Exports Kbd for inline…

  • Onboarding Stepper

    A three-question setup flow on one continuous surface: a progress capsule stretches into the current step with a shared-layout spring, panels slide in the direction of travel, validation speaks…

  • Inset Settings List

    An iOS-style grouped inset list with tinted icon tiles, hairlines inset to the label edge, switches whose knob stretches on press, and choice rows that push a detail page with a parallax slide and…

  • Usage Quota Meter

    A billing-period usage card: hairline tracks fill with stacked segments on the house ease, figures count up in tabular numerals, a limit tick marks 100%, and bars go amber near the limit and rose…

See all 14 Product UI components