S
aidankmcalister/sureui

SureUI

registry.directory/aidankmcalister/sureui

Open source confirmation components for shadcn/ui: undo, hold to confirm, type to confirm and more. Built on Base UI.

3 types·21 items·1·updated yesterday
Visit SureUIView on GitHub
Install

$npx shadcn@latest add \@sureui/confirm-button

# works for any of the 21 items in this registry

Featured

ui

confirm-button

A Button that confirms on a click, a second click or a press and hold. Supports inline undo and a pending state for an async onConfirm.

ui

type-to-confirm

An inline form that calls onConfirm only after the exact phrase is typed and every acknowledgement is checked. Supports inline undo and a pending state for an async onConfirm.

ui

undoable

Wraps a list item or table row. Removing it collapses the row in place to a label and an Undo button at the same height, then runs onConfirm when the undo window ends.

ui

tool-approval

Approve or deny an AI SDK tool call, or a batch of them, with a gesture that matches its risk: undo for low, click again for medium, hold for high and a typed phrase for critical. Pass addToolApprovalResponse from useChat as onRespond.

Browse by type

Components10Blocks10Utilities1

Tags

confirmation11block10settings5form2list2ai2button1menu1switch1dialog1popover1toast1table1files1mail1tables1billing1