Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Badge Gratuit

A count on an icon. It pops when it goes up, the digits roll, and past 99 it says 99+.

398
Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Unread counts on tabs and icons.

Pas pour

  • Counts nobody acts on. They just nag.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
countObligatoirenumber
iconObligatoireIconName
labelObligatoirestring
tonestring'var(--c-red)'

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Badge comme prévu.

Empty, loading and error statesPro

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

Incluse dans ProLire la skill
Interface copyGratuit

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

$npx velvo skill ui-copy
Lire la skill

Specs

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

feedbackfreereact
SuivantDone ring