The explorer for the shadcn registry ecosystem.
[SureUI] A Switch that moves right away and can be taken back: flipping it again during the undo window undoes it, and onConfirm(checked) runs when the window ends.
[SureUI] A list of what a confirmation will remove, with counts and names that collapse to "and N more". Pass it to TypeToConfirm or ConfirmDialog through their consequences prop.
[SureUI] A project settings danger zone: pause deployments with an undo window, transfer the project in a dialog that shows what changes, and delete it in a dialog that asks for the project name.
[SureUI] An account deletion screen with an export link first, a list of what gets deleted, and a form that unlocks after you type your email and check each acknowledgement.
[SureUI] A file list where selected files move to trash with an undo toast, a Trash tab restores them one at a time, and an Empty trash dialog lists what goes and asks you to type a phrase.
[SureUI] A message list where archive and delete collapse the row in place with an Undo, and a reading pane whose toolbar archives on a second click and deletes on a hold.
[SureUI] A team settings form where any edit brings up a save bar. Discard asks for a second click, and leaving the page with unsaved changes asks whether to save, discard or keep editing.
[SureUI] A team members list whose row menu removes someone after a second click, and makes someone the owner after a dialog explains what changes.
[SureUI] 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.
[SureUI] 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.
[SureUI] 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.
[SureUI] undoToast(message) shows a Sonner toast with an Undo button. It resolves true when the toast closes and false if Undo is clicked, so run the action only on true.
[SureUI] useUnsavedChanges asks before unsaved changes are lost: the browser's prompt on reload or close, an awaitable confirmLeave() for leaving a page, and Keep editing, Discard changes and an optional Save in a Dialog, Sheet or Drawer's footer before it closes.
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]
[SVGL]