Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dylantarre avatar

Notifications Toasts

  • 367 installs
  • 68 repo stars
  • Updated December 30, 2025
  • dylantarre/animation-principles

notifications-toasts is a frontend animation skill that applies Disney's 12 principles to toast and notification enter, dwell, and exit patterns for developers who need attention-grabbing alerts without layout thrash or

About

notifications-toasts is a UI animation skill from dylantarre/animation-principles for toasts, alerts, snackbars, and system messages. It applies Disney's 12 principles so notifications compress on entrance, stage in consistent locations, and contract to 95% scale for 100ms before auto-dismiss to signal departure. Developers reach for notifications-toasts when success or error banners need motion that grabs attention yet stays non-disruptive across dashboards and forms. The skill targets enter, dwell, and exit timing so alerts inform users without shifting layout or obscuring primary tasks.

  • Enter and exit choreography for toasts
  • Stacking and dismissal without layout jump
  • Non-blocking transient alert patterns
  • Accessible reduced-motion alternatives
  • Timing aligned with reading and task flow

Notifications Toasts by the numbers

  • 367 all-time installs (skills.sh)
  • Ranked #712 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dylantarre/animation-principles --skill notifications-toasts

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs367
repo stars68
Last updatedDecember 30, 2025
Repositorydylantarre/animation-principles

How do you animate toast notifications without layout shift?

Animate toast and notification enter, dwell, and exit patterns so alerts inform users without blocking tasks or causing layout thrash.

Who is it for?

Frontend developers implementing toast, snackbar, or alert components that need principled motion without blocking user tasks.

Skip if: Modal dialog flows or native OS notification APIs that bypass in-app toast components.

When should I use this skill?

A user asks to animate notifications, toasts, alerts, snackbars, or system messages with enter and exit motion.

What you get

Toast entrance and exit keyframes, dwell timing rules, consistent placement specs, and dismiss anticipation animations.

  • toast animation keyframes
  • placement guidelines
  • dismiss timing specs

By the numbers

  • Applies Disney's 12 animation principles to notifications
  • Uses 95% scale contraction for 100ms before auto-dismiss

Files

SKILL.mdMarkdownGitHub ↗

Notification & Toast Animation Principles

Apply Disney's 12 principles to notifications for attention-grabbing yet non-disruptive alerts.

Principles Applied to Notifications

1. Squash & Stretch

Toast can compress slightly on entrance impact, then stretch back. Creates a "landing" feel as if it arrived from off-screen.

2. Anticipation

Before auto-dismiss, toast can contract slightly (95% scale) for 100ms. Signals imminent departure to user.

3. Staging

Notifications should appear in consistent locations. Use color and icons to stage importance: info, success, warning, error.

4. Straight Ahead & Pose to Pose

Define states: entering, visible, exiting, stacked. Clear keyframes for entrance, attention (if needed), and exit.

5. Follow Through & Overlapping Action

Icon animates after container arrives (checkmark draws, bell wobbles). Progress bar for auto-dismiss follows toast entrance.

6. Ease In & Ease Out

Enter: ease-out (fast in, slow settle). Exit: ease-in (slow start, fast out). cubic-bezier(0.68, -0.55, 0.27, 1.55) for bounce.

7. Arcs

Toasts sliding from corners can follow slight arc. Bell icons should swing in arc, not rotate rigidly.

8. Secondary Action

While toast slides in (primary), shadow appears (secondary), icon animates (tertiary), progress bar starts (quaternary).

9. Timing

  • Toast enter: 200-300ms
  • Toast exit: 150-250ms
  • Auto-dismiss delay: 3000-5000ms
  • Attention pulse: 1000ms loop
  • Success checkmark draw: 300ms
  • Stack reorder: 200ms

10. Exaggeration

Error notifications can shake or pulse red. Critical alerts can be larger, bolder animations. Match urgency to importance.

11. Solid Drawing

Maintain consistent toast sizing. Icons should be crisp. Progress bars should be smooth (use transforms, not width).

12. Appeal

Smooth notifications feel polished. Jarring popups annoy users. A well-animated toast conveys professionalism.

CSS Implementation

.toast {
  animation: toastEnter 300ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.exiting {
  animation: toastExit 200ms ease-in forwards;
}

@keyframes toastEnter {
  from {
    opacity: 0;
    transform: translateY(-100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastExit {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.toast-progress {
  transform-origin: left;
  animation: progress 4000ms linear forwards;
}

Key Properties

  • transform: translate, scale
  • opacity: fade
  • animation: entrance/exit sequences
  • transform-origin: progress bars
  • box-shadow: depth

Related skills

FAQ

How does notifications-toasts handle auto-dismiss?

notifications-toasts applies a 95% scale contraction for 100ms before auto-dismiss as anticipation, signaling imminent departure while keeping alerts attention-grabbing yet non-disruptive.

Which UI components does notifications-toasts target?

notifications-toasts targets toasts, alerts, snackbars, and system messages with consistent staging locations and Disney-principled enter, dwell, and exit animations that avoid layout thrash.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.