<RingProgress
label={
<div className='text-center text-sm font-medium leading-snug text-black'>{${percentage}%}</div>
}
rootColor='#E0E3E7'
size={68}
thickness={5}
roundCaps
sections={[{ value: percentage, color: 'url(#gradient)' }]}
sx={{
label: { top: '54%' },
'circle:nth-of-type(2)': {
stroke: 'linear-gradient(to bottom, #FC9D00, #FBCC1D)',
},
}}
/>
It's not working for me)
#How can I create sections in RingProgress with a gradient?
4 messages · Page 1 of 1 (latest)
https://ui.mantine.dev/category/app-cards#stats-ring-card
you want something like this?
Yes, that sounds a lot like what I need! But unfortunately, linearGradient isn't shown in this example
well you can replace the ring in that code with your ring to show the ring you want.