IN-16InputsNew, October 22, 2026
Location Picker
Set a pickup point the way ride apps do. Drag the map under a fixed pin; it lifts off its shadow, glides onto the nearest curb, drops, and the street rolls in.
PRONatural Date Input and more like it are in Kokonut UI Pro
Installation
Location Picker is a free, open-source React component in the Kokonut UI Inputs collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/location-picker.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/location-pickerOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/location-picker.tsx.
npm install lucide-react motionUsage
import LocationPicker from "@/components/kokonutui/location-picker";
export default function Example() {
return <LocationPicker />;
}Props
onConfirm(pickup: { address: string; x: number; y: number }) => voidCalled with the street address when the pickup is confirmed.
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
lucide-react | ^0.556.0 | npm, installed by the CLI |
motion | ^12.23.25 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.
Tip Selector
A tip picker for checkout, set on a tape you drag and flick. The ticks you pass fill in, the amounts roll, and Round up makes the total a whole amount.
Swatch FanPRO
A color picker shaped like a paint fan deck. Drag it open, pick a hue and a shade, and copy the hex. Part of Kokonut UI Pro.

