Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536<script> import { Subheading } from '$lib/components/base/heading'; import RingChart from '$lib/components/charts/ring-chart/RingChart.svelte';</script>
<Subheading class="mb-4">Ring Chart</Subheading>
<RingChart height="h-64" thickness={20} data={[ { name: 'Svelte', value: 40 }, { name: 'TypeScript', value: 30 }, { name: 'HTML', value: 20 }, { name: 'JavaScript', value: 10 } ]} colors={[ { key: 0, color: 'var(--accent-800)' }, { key: 1, color: 'var(--accent-600)' }, { key: 2, color: 'var(--accent-400)' }, { key: 3, color: 'var(--accent-200)' } ]}/>