snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
20
apps/v4/examples/base/alert-basic.tsx
Normal file
20
apps/v4/examples/base/alert-basic.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { CheckCircle2Icon } from "lucide-react"
|
||||
|
||||
import {
|
||||
Alert,
|
||||
AlertDescription,
|
||||
AlertTitle,
|
||||
} from "@/styles/base-nova/ui/alert"
|
||||
|
||||
export default function AlertBasic() {
|
||||
return (
|
||||
<Alert className="max-w-md">
|
||||
<CheckCircle2Icon />
|
||||
<AlertTitle>Account updated successfully</AlertTitle>
|
||||
<AlertDescription>
|
||||
Your profile information has been saved. Changes will be reflected
|
||||
immediately.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user