Skip to content

Inline Toast

A toast component that shows a code snippet and a copy button. It animates when copied and displays a success message. It is used to provide feedback after copying code.

byWatermelon Corpfrom Watermelon

Loading preview

Installation

terminal
pnpm dlx layro-cli add @watermeloncorp/inline-toast

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 11, 2026

    First release.

Similar components