Inline Toast Interaction in Framer

Copy component

Inline Toast Interaction in Framer

Copy component

Nandi Muzsik

How can I improve Framer Uni?

Let me know if there’s a missing feature or something that could be improved.

Share feedback

Nandi Muzsik

How can I improve Framer Uni?

Let me know if there’s a missing feature or something that could be improved.

Share feedback

Component

Inline Toast Interaction in Framer

This is an inline toast interaction recreated in Framer, from the original work of Nitish Khagwal. Feel free to remix the project to see how this interaction can be built in Framer without writing any code.

image of Nandi Muzsik
image of Prianca S.
profile image of Nitish Khagwal

Created by

Copy button for code snippet or referral link
Copy button for code snippet or referral link
Copy button for code snippet or referral link

About the resource

To create this interaction, I built it using two components: a button and the inline toast. The button includes a pressed state and a copy button component inside it to copy the code.

The toast itself has two variants: default and clicked. On click, the frame pinned to the left expands, changes its width, and re-pins to the right. From there, the button inside the toast triggers a transition to the clicked variant. This transition runs for 0.8s, while the fill frame that shows the time left to copy the code uses a linear transition overridden to 4s. Once the timer ends, an appear interaction brings the toast back to the default variant.

About the resource

To create this interaction, I built it using two components: a button and the inline toast. The button includes a pressed state and a copy button component inside it to copy the code.

The toast itself has two variants: default and clicked. On click, the frame pinned to the left expands, changes its width, and re-pins to the right. From there, the button inside the toast triggers a transition to the clicked variant. This transition runs for 0.8s, while the fill frame that shows the time left to copy the code uses a linear transition overridden to 4s. Once the timer ends, an appear interaction brings the toast back to the default variant.

About the resource

To create this interaction, I built it using two components: a button and the inline toast. The button includes a pressed state and a copy button component inside it to copy the code.

The toast itself has two variants: default and clicked. On click, the frame pinned to the left expands, changes its width, and re-pins to the right. From there, the button inside the toast triggers a transition to the clicked variant. This transition runs for 0.8s, while the fill frame that shows the time left to copy the code uses a linear transition overridden to 4s. Once the timer ends, an appear interaction brings the toast back to the default variant.

Copy button with code copied success confirmation message

The two variants of the toast interaction component.

Copy button with code copied success confirmation message

The two variants of the toast interaction component.

Copy button with code copied success confirmation message

The two variants of the toast interaction component.

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

Framer Navigator

Learn the fundamentals of Framer for free.

Build your ideas with ease by learning the basics of website building with Framer.

Nandi portrait's background
Nandi's portrait

More resources

More resources

  • Framer text distortion on scroll effect demonstration

    Text Distortion on Scroll in Framer

    Component

    Framer text distortion on scroll effect demonstration

    Text Distortion on Scroll in Framer

    Component

    Framer text distortion on scroll effect demonstration

    Text Distortion on Scroll in Framer

    Component

  • Classic burgundy car front with chrome bumper detail

    Blob Image Reveal Component for Framer

    Component

    Classic burgundy car front with chrome bumper detail

    Blob Image Reveal Component for Framer

    Component

    Classic burgundy car front with chrome bumper detail

    Blob Image Reveal Component for Framer

    Component