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

Done ring Gratis

Press and the button becomes a spinning ring. It closes on a tick when it works, or shakes when it doesn’t.

Every third try fails, so you can see that too.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • Saving, sending, syncing: short jobs with a yes or no.

Inte till

  • Long jobs. Show a progress bar.

Props

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

PropTypStandard
labelKrävsstring
runKrävs() => Promise<boolean>
doneLabelstring'Saved'

Bättre med en skill

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

Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Ingår i ProLäs skillen
Interface copyGratis

Writes the labels and messages around it in plain, human words.

$npx velvo skill ui-copy
Läs skillen

Specs

Category
Feedback
Tier
Free
Built with
React and TypeScript
Files
16
Size
305 KB
Needs
framer-motion
Install
npx velvo add done-ring
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

feedbackgamefreereact
NästaNotification banner