Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Alert Gratis

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

Trip to Lisbon.pdf
Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • Confirming something that can’t be undone.

Inte till

  • Good news. Use a toast.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
openKrävsboolean
titleKrävsstring
bodyKrävsstring
confirmKrävsstring
cancelstring'Cancel'
dangerboolean
onCloseKrävs(ok: boolean) => void

Bättre med en skill

Ge din agent en, så använder den Alert som det är tänkt.

Page structureGratis

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

$npx velvo skill page-structure
Läs skillen
Less is moreGratis

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

$npx velvo skill less-is-more
Läs skillen

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
16
Size
304 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
NästaIsland