---
title: Toast
description: 用于短暂展示的简洁消息组件。
component: true
links:
  doc: https://www.radix-ui.com/docs/primitives/components/toast
  api: https://www.radix-ui.com/docs/primitives/components/toast#api-reference
---

<Callout title="Toast 组件已弃用" className="mt-0">
  更多详情请查看 [sonner](/docs/components/sonner) 文档。
</Callout>

如果你需要旧版本的 Toast 组件，请参阅 [旧版文档](https://v3.shadcn.com/docs/components/toast)。
