MCP
Passer à Pro
Tous les composants

Toast stack Gratuit

Toasts in a neat stack: the newest in front, older ones tucked behind, smaller and fainter. Point at the stack and it fans out into a list; swipe one sideways to dismiss it, and its action button spins while it works.

Ouvrir dans l’éditeur
Card declinedYour bank said no. Try another card.
Two people are editingInes and Kofi joined the file.
Draft savedAutosaved a moment ago.

Point at the stack to fan it out. Swipe one away.

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Saves, sends, failures you can retry.

Pas pour

  • Anything people must read before going on: use a dialog.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
toastsObligatoireToast[]
onDismissObligatoire(id: number) => void
onAction(t: Toast) => Promise<unknown> | void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Toast stack comme prévu.

Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Incluse dans ProLire la skill
Interface copyGratuit

Writes the labels and messages around it in plain, human words.

$npx velvo skill ui-copy
Lire la skill

Specs

Category
Feedback
Tier
Free
Built with
React and TypeScript
Files
22
Size
491 KB
Needs
framer-motion
Install
npx velvo add toast-stack
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

feedbackgesturegamefreereact
SuivantContext meter