Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os componentes

Alert Grátis

A small, centred question that grows in from a touch bigger, the way iOS alerts arrive.

Abrir no editor
Trip to Lisbon.pdf
Caráter
Brincalhão
Cadastre-se grátis para baixar

Use para

  • Confirming something that can’t be undone.

Não use para

  • Good news. Use a toast.

Props

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

PropTipoPadrão
openObrigatóriaboolean
titleObrigatóriastring
bodyObrigatóriastring
confirmObrigatóriastring
cancelstring'Cancel'
dangerboolean
onCloseObrigatória(ok: boolean) => void

Melhore com uma skill

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

Page structureGrátis

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Ler a skill
Less is moreGrátis

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Ler a skill

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
16
Size
302 KB
Needs
framer-motion
Install
npx velvo add alert
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

surfacesmobilefeedbackfreereact
PróximoIsland