bennymi / ato-ui

The elemental UI component library for Svelte, built with UnoCSS and Melt UI.
https://ato-ui.vercel.app
MIT License
75 stars 6 forks source link

Chart Component #146

Open Mohamed-Kaizen opened 12 months ago

Mohamed-Kaizen commented 12 months ago

Describe the feature.

For the V1 roadmap chart, chartkick is a good choice because it makes it easy to use chartjs, google chart, and highcharts with the same API

Add examples

Demo

What kind of request is it related to?

Component

bennymi commented 12 months ago

@Mohamed-Kaizen for the integrations I was thinking more along the lines of having a section in the docs where we have examples of how to use the design system with other libraries. I haven't really considered turning them into components per se. I think for the #145 (Table) it would perhaps make sense, but maybe not so much for charts. They usually have large APIs, so offering Svelte components would them would be an entire library on its own. Or maybe I misunderstood your comment? I think for the examples we could definitely use it though. Or maybe having a few components also makes sense, I still have to think about it some more.

Mohamed-Kaizen commented 12 months ago

I was thinking more along the lines of having a section in the docs where we have examples of how to use the design system with other libraries.

I was thinking the same. Instead of having developers search online for chart libraries, Ato UI could suggest some and show them how to use them. This would be especially helpful for developers who don't care much about charts and just want a quick solution. Developers who are experts in chart libraries may ignore Ato UI's suggestions, but those who are not will likely appreciate them.