magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
11.72k stars 460 forks source link

[bug]: /docs/components/sparkles-text #267

Open maximilianvb opened 3 months ago

maximilianvb commented 3 months ago

Describe the bug The example doesn't work at all.

Draxx0 commented 3 months ago

Hi there! @maximilianvb

Could you be more specific? On my end it works fine, did you install it via the CLI? if so, did you try adding it manually?

owenmorgan commented 2 months ago

same for me - using CLI it doesnt work. you see the text but no sparkle - is there something needed on the tailwind config?

Draxx0 commented 2 months ago

Hey @owenmorgan

Nop, there is no code required in the tailwindconfig

Have you also tried to adding the component manually ?

Have a nice day ! :D

Draxx0 commented 2 months ago

I tried to install the component using the cli, i found that the "npx magicui-cli add sparkles-text" doesn't work for me.

There is a fix that works for me :

Instead of using the npx magicui-cli add sparkles-text, you can use the :

npx magicui-cli add

Then you can select the sparkles-text component.

Let me know if it works for you guys.