BT-15ButtonsNew, October 21, 2026
Save Button
A bookmark button that files into collections. Tap to save to the last one, then change it or make a new one from the strip.
PROPay Button and more like it are in Kokonut UI Pro
Installation
Save Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/save-button.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/save-buttonOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/save-button.tsx.
npm install lucide-react motionUsage
import SaveButton from "@/components/kokonutui/save-button";
export default function Example() {
return <SaveButton />;
}Props
collectionsSaveCollection[]Default built-indefaultCollectionstringWhere a tap saves to, by id. Defaults to the first collection.
defaultSavedbooleanDefault falseonSave(collectionId: string) => voidonMove(collectionId: string) => voidonRemove() => voidclassNamestringExtra classes for the root element.
SaveCollection
idrequiredstringnamerequiredstringcountrequirednumberItems already in it, before this one.
colorrequiredstringTailwind background class for its swatch.
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.

