designer-skill: cleaner UI from your agent.

Get it

Hold To Confirm

Kit UI — HoldToConfirmButton A press-and-hold confirmation button for destructive actions. Holding the button (pointer, Space or Enter) fills a circular progress ring around the icon; releasing early springs the ring back and nothing fires. Holding to completion fires onConfirm exactly once, draws a check in with a spring pop, staggers the label swap behind it, tints the button emerald and then…

Hold To Confirm preview
hold-to-confirmLive preview · interact with it
Build promptPaste into Claude, Cursor or v0 with the Niblet MCP connected
Build the "Hold To Confirm" React component in this project using the Niblet MCP (connected with my Niblet API key).

1. Call get_ui_component {"id": "hold-to-confirm"} to fetch its source files and dependencies.
2. Write each returned file at its target path, adapting the `@/` imports to this project's aliases.
3. Install the npm dependencies it lists. Add unprefixed registry dependencies with `npx shadcn@latest add <name>`; fetch `@niblet/<id>` ones with get_ui_component.
4. Render it on a page, run the type check, and confirm it works the way the live preview does.

Live preview: https://niblet.pymodel.com/components/hold-to-confirm
If the Niblet MCP is not connected, stop and tell me to create an API key at https://niblet.pymodel.com/account and follow https://niblet.pymodel.com/docs.
Category
uikit
License
MIT

Adapted from MIT-licensed open-source UI projects. Keep the MIT license notice with copies.

npm dependencies
  • framer-motion
  • lucide-react@^0
Registry dependencies
  • utils
Files it installs
  • components/uikit/hold-to-confirm.tsx

Get the source

The source is served to your agent through the hosted Niblet MCP. Have it run:

  1. find_ui_materials {"query": "hold to confirm", "kind": "component"}
  2. get_ui_component {"id": "hold-to-confirm"}

Needs an API key: get one on your account, then see the MCP setup docs.