benjamincanac / ui3

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
53 stars 7 forks source link

[Meter] Implement component #14

Open benjamincanac opened 5 months ago

sandros94 commented 3 months ago

What is the plan for components like Meter that don't exist in radix-vue yet?

benjamincanac commented 3 months ago

Not sure it will ever exist in Radix Vue, it's almost the same as Progress so I assume we can implement it using the ProgressRoot primitive and with multiple ProgressIndicator for the MeterGroup.

sandros94 commented 3 months ago

IMO they should be separate, otherwise why would they both exists as separate HTML tags?

Also, meter (MDN) has quite a few more (and useful for dashboards) attributes compared to progress (MDN).

I might investigate this and potentially ask radix-vue community about what they think of it once I'm home.

benjamincanac commented 3 months ago

Not sure to understand.. I meant we might be able to implement Meter with Progress primitives from Radix Vue.

sandros94 commented 3 months ago

Ok yes, I need to better understand how radix-vue primitives work, and straighten what I have in my head 🤪