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

Badge Grátis

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

Abrir no editor
398
Caráter
Brincalhão
Cadastre-se grátis para baixar

Use para

  • Unread counts on tabs and icons.

Não use para

  • Counts nobody acts on. They just nag.

Props

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

PropTipoPadrão
countObrigatórianumber
iconObrigatóriaIconName
labelObrigatóriastring
tonestring'var(--c-red)'

Melhore com uma skill

Adicione uma ao seu agente e ele usa Badge 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
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
PróximoDone ring