bluzky / salad_ui

Phoenix Liveview component library inspired by shadcn UI
https://salad-storybook.fly.dev/welcome
MIT License
245 stars 12 forks source link

Integrate lucide component #8

Closed mrdotb closed 4 weeks ago

mrdotb commented 4 weeks ago

Hello,

I'm not sure where to put it yet, but here is a recipe for adding the Lucide components in a similar fashion to the Hero components. I am happy to help document this part.

https://gist.github.com/mrdotb/8b78fde7dc3c8e191d1c8a4b90e21b0f

bluzky commented 4 weeks ago

@mrdotb thanks for your suggestion. I think SaladUI should not depend on any icon library, so developers can use whatever they want.

mrdotb commented 3 weeks ago

I did not mean to add any dependencies. Instead, I intended it to be more like a guide. Since shadcdn uses Radix Icon or Lucide components, I thought documenting this part would be useful.

bluzky commented 3 weeks ago

I did not mean to add any dependencies. Instead, I intended it to be more like a guide. Since shadcdn uses Radix Icon or Lucide components, I thought documenting this part would be useful.

That's great. So please add guide to integrate Lucide icon.