Launch week50% off a year of AuteurSee plans
SpacesGet Pro
All components

Alert Free

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

Trip to Lisbon.pdf
Character
Playful
Sign up free to download

Use it for

  • Confirming something that can’t be undone.

Not for

  • Good news. Use a toast.

Props

Read from the component’s own TypeScript, so it’s always current.

PropTypeDefault
openRequiredboolean
titleRequiredstring
bodyRequiredstring
confirmRequiredstring
cancelstring'Cancel'
dangerboolean
onCloseRequired(ok: boolean) => void

Make it better with a skill

Add one to your agent and it uses Alert the way it was designed.

Page structureFree

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

$npx velvo skill page-structure
Read the skill
Less is moreFree

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

$npx velvo skill less-is-more
Read the 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
NextIsland