Launch-Woche50 % auf ein Jahr AuteurPläne ansehen
SpacesPro holen
Alle Komponenten

Alert Kostenlos

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

Im Editor öffnen
Trip to Lisbon.pdf
Charakter
Verspielt
Kostenlos anmelden zum Herunterladen

Gut für

  • Confirming something that can’t be undone.

Nicht für

  • Good news. Use a toast.

Props

Direkt aus dem TypeScript der Komponente gelesen, also immer aktuell.

PropTypStandard
openPflichtboolean
titlePflichtstring
bodyPflichtstring
confirmPflichtstring
cancelstring'Cancel'
dangerboolean
onClosePflicht(ok: boolean) => void

Mit einem Skill noch besser

Gib deinem Agenten einen davon, und er nutzt Alert so, wie es gedacht ist.

Page structureKostenlos

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

$npx velvo skill page-structure
Skill lesen
Less is moreKostenlos

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

$npx velvo skill less-is-more
Skill lesen

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
WeiterIsland