Open sorasful opened 3 weeks ago
I'm in contact with @techniq about how we can integrate layerchart
in a composable way similar to the original with recharts.
It appears this issue will get us most of the way there: https://github.com/techniq/layerchart/issues/223
UP UP UP Lets do it
Btw, using LayerChart with shadcn-svelte is already possible. See the integration issue (which will make it to the docs soon) as well as a simple example project. Mostly the integration is just mapping tailwind design tokens/colors (surface-*
and primary
) but everything can be overwritten, the tokens just streamline conventions.
Simplified Chart components is to simplify common use cases like AreaChart, BarChart, etc, but you can always leverage the full components and chart types within LayerChart (start with Chart
, etc). These simplified chart components will also simplify non-shadcn svelte usage as well especially for data exploration, so it's a win-win.
Not sure when I'll get started on the effort, but I have a good idea of the approach and shouldn't take long, and we can continue to iterate.
@techniq @huntabyte we want the templates that shadcn have on their page, they make the whole process 100x easier
@0x090909 speaking for @huntabyte, but the docs integration will be coming. Mostly exposing the same examples in LayerChart but with shadcn-svelte copy/paste.
Lets go, i will integrate with my app🙌
LFG!!!
I just want to give love ❤️
any update with this ??
updates?
is there any possibility these charts will be realease in the near future? or we should use another chart library ?
let us know
updates?=
Describe the feature
Just recently, Shacdn official has launched Charts : https://ui.shadcn.com/docs/components/chart
I was thinking we can keep this issue open to track when this'll be implemented. I'm not sure about the way the components are translated from Shacdn official to Svelte. Let me know if I can help.