SonnerWithDescription() — ui Function Reference
Architecture documentation for the SonnerWithDescription() function in sonner-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0cf33e08_4b43_8702_43cd_e8fca952d916["SonnerWithDescription()"] e2e8960a_6838_05b0_9eba_b14f87998294["sonner-example.tsx"] 0cf33e08_4b43_8702_43cd_e8fca952d916 -->|defined in| e2e8960a_6838_05b0_9eba_b14f87998294 style 0cf33e08_4b43_8702_43cd_e8fca952d916 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/sonner-example.tsx lines 34–50
function SonnerWithDescription() {
return (
<Example title="With Description" className="items-center justify-center">
<Button
onClick={() =>
toast("Event has been created", {
description: "Monday, January 3rd at 6:00pm",
})
}
variant="outline"
className="w-fit"
>
Show Toast
</Button>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SonnerWithDescription() do?
SonnerWithDescription() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/sonner-example.tsx.
Where is SonnerWithDescription() defined?
SonnerWithDescription() is defined in apps/v4/registry/bases/radix/examples/sonner-example.tsx at line 34.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free