Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os componentes

Done ring Grátis

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

Abrir no editor

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

Caráter
Brincalhão
Cadastre-se grátis para baixar

Use para

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

Não use para

  • Long jobs. Show a progress bar.

Props

Lidas do próprio TypeScript do componente, então estão sempre atualizadas.

PropTipoPadrão
labelObrigatóriastring
runObrigatória() => Promise<boolean>
doneLabelstring'Saved'

Melhore com uma skill

Adicione uma ao seu agente e ele usa Done ring do jeito que foi pensado.

Empty, loading and error statesPro

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

Vem com o ProLer a skill
Interface copyGrátis

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

$npx velvo skill ui-copy
Ler a skill

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
PróximoNotification banner