Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Warning with Title and Action

A warning alert with title and action buttons for cautionary notifications requiring user decision to proceed or cancel

Warnings with choices respect user agency. This React alert displays amber-themed warning titles with Proceed and Cancel buttons using shadcn/ui's warning styling (border-warning/80, bg-warning/5). Built with Radix UI and Button components colored to match alert theme (bg-warning for proceed action), the pattern presents cautions while offering clear decision paths. Perfect for risky action confirmations, destructive operation warnings, quota limit alerts with upgrade options, or any caution where users need to make informed choice to continue or back out.

Warning with Title and Action preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.