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

Donut chart Pro

Slices draw round in turn; point at one and it lifts out of the ring while the middle rolls to its value.

Abrir no editor
  • Rent38%
  • Food22%
  • Travel16%
  • Fun14%
  • Other10%
Caráter
Brincalhão

Adicione ao seu app

$npx velvo add donut-chart

Para Claude Code, Cursor ou qualquer projeto com terminal.

Use para

  • Budgets, shares, breakdowns of up to six parts.

Não use para

  • Comparing values that are close. Use bars.

Props

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

PropTipoPadrão
dataObrigatória{ label: string; value: number; color: string }[]
sizenumber220
unitstring''

Specs

Category
Charts
Tier
Pro
Built with
React and TypeScript
Files
16
Size
306 KB
Needs
framer-motion
Install
npx velvo add donut-chart
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

chartschartproreact
PróximoHeatmap