IN-15InputsNew, October 22, 2026
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.
PRONatural Date Input and more like it are in Kokonut UI Pro
Installation
Tip Selector 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/tip-selector.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/tip-selectorOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/tip-selector.tsx.
npm install lucide-react motionUsage
import TipSelector from "@/components/kokonutui/tip-selector";
export default function Example() {
return <TipSelector />;
}Props
subtotalnumberDefault 42.6The order before the tip.
recipient{ name: string; note?: string }Default { name: "Sam", note: "Your courier · 6 min earl…Who the tip goes to.
percentsnumber[]Default [15, 18, 20]Marked on the tape and offered as shortcuts, in percent.
defaultPercentnumberDefault 18Where the tape starts.
maxnumberDefault 30The far end of the tape, in percent.
currencystringDefault "$"onChange(tip: number) => voidonPay(total: number) => voidclassNamestringExtra 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.
Slot Picker
Book a meeting on a day rail. Drag a meeting into a free gap; it hops over existing bookings, resizes in place and shows the host's local time.
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.

