Motion+

Base UI: Toast

An example of creating a toast component using Base UI and Motion for React. It uses spring animations and AnimatePresence to provide exit animations for the toast dialog.

React
>Live exampleOpen

Related examples

Latest in React

Motion+

Unlock all 370+ examples

  • Source code for every Plus example.
  • Provide examples direct to your agent via Motion's MCP.
  • Lifetime access to new examples and APIs.