Docs
アラート
アラート
アラートは重要な情報をユーザーに表示するためのコンポーネントです。
Heads up!
You can add components to your app using the cli.
インストール
npx shadcn-ui@latest add alert
使用方法
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
<Alert>
<Terminal className="h-4 w-4" />
<AlertTitle>ご注目を!</AlertTitle>
<AlertDescription>
CLI を使用してアプリにコンポーネントと依存関係を追加できます。
</AlertDescription>
</Alert>
例
デフォルト
Heads up!
You can add components to your app using the cli.
破棄
Error
Your session has expired. Please log in again.