Skip to content
Sign upGet access
MicrointeractionsInk rangeMenu

Ink range (Pro)

ProIncluded in $99

A date range calendar where the selection flows like ink.

ProDrag across the days and the range flows week to week as one shape, wrapping like a text selection, while the dates above roll.

The range is one continuous shape that wraps from week to week like a text selection, its ends flowing across the days on a quick spring as you drag, with fillets where the rows meet. The days under it turn white through a clip of the same shape, rings sit in the settled ends, and the check in, check out and nights above roll the way they moved. Good for booking what an agent found: a stay, a trip, a block of time.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/ink-range

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { InkRange } from "@/components/ui/chatcn/pro/ink-range"

<InkRange month={new Date(2026, 10)} minDay={14} value={range} onValueChange={setRange} />

Props

PropTypeNotes
monthDateAny day in the month to show
value / defaultValue / onValueChange{ start, end }Days of the month, 1 based
minDay / todaynumberDays before minDay can't be picked
labels{ start, end } | nullThe summary; null hides it
footer / locale

Keyboard

KeyAction
TabMove between days
Enter twicePick the start, then the end

Accessibility

  • Every day is a real button with its full date; the summary is announced as it changes.

Motion

  • The ends ride a quick spring (stiffness 150, damping 22). Reduced motion: the ink jumps to the range.