Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle komponenter

Alert Gratis

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

Trip to Lisbon.pdf
Karakter
Leken
Registrer deg gratis for å laste ned

Bruk til

  • Confirming something that can’t be undone.

Ikke til

  • Good news. Use a toast.

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
openPåkrevdboolean
titlePåkrevdstring
bodyPåkrevdstring
confirmPåkrevdstring
cancelstring'Cancel'
dangerboolean
onClosePåkrevd(ok: boolean) => void

Bedre med en skill

Gi agenten din en, så bruker den Alert slik den er tenkt.

Page structureGratis

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

$npx velvo skill page-structure
Les skillen
Less is moreGratis

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

$npx velvo skill less-is-more
Les skillen

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
NesteIsland