Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Alert Gratuit

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

Trip to Lisbon.pdf
Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Confirming something that can’t be undone.

Pas pour

  • Good news. Use a toast.

Props

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

PropTypePar défaut
openObligatoireboolean
titleObligatoirestring
bodyObligatoirestring
confirmObligatoirestring
cancelstring'Cancel'
dangerboolean
onCloseObligatoire(ok: boolean) => void

Améliorez-le avec une skill

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

Page structureGratuit

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

$npx velvo skill page-structure
Lire la skill
Less is moreGratuit

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

$npx velvo skill less-is-more
Lire la 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
SuivantIsland