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.
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óriastringrunObrigató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 skillInterface copyGrátis
Writes the labels and messages around it in plain, human words.
$
Ler a skillnpx velvo skill ui-copySpecs
- 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.