MCP
Assinar o Pro
Todos os componentes

Toast stack Grátis

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.

Abrir no editor
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.

Caráter
Brincalhão
Cadastre-se grátis para baixar

Use para

  • Saves, sends, failures you can retry.

Não use para

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

Props

Lidas do próprio TypeScript do componente, então estão sempre atualizadas.

PropTipoPadrão
toastsObrigatóriaToast[]
onDismissObrigatória(id: number) => void
onAction(t: Toast) => Promise<unknown> | void

Melhore com uma skill

Adicione uma ao seu agente e ele usa Toast stack do jeito que foi pensado.

Empty, loading and error statesPro

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

Vem com o ProLer a skill
Interface copyGrátis

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

$npx velvo skill ui-copy
Ler a 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
PróximoContext meter