Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Done ring Бесплатно

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.

Характер
Игривый
Зарегистрируйтесь бесплатно, чтобы скачать

Подходит для

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

Не подходит для

  • Long jobs. Show a progress bar.

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
labelОбязательныйstring
runОбязательный() => Promise<boolean>
doneLabelstring'Saved'

Лучше с навыком

Добавьте навык агенту, и он будет использовать Done ring так, как задумано.

Empty, loading and error statesPro

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

Входит в ProОткрыть навык
Interface copyБесплатно

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

$npx velvo skill ui-copy
Открыть навык

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
ДальшеNotification banner