Use icons in css? #3728
Replies: 4 comments
-
|
That's such a good idea, we should write one. I really like using You can also do cool things using CSS masks such as setting custom colors. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I've been eyeing implementing Lucide for SASS for a while now. Pure CSS is of course totally out of the question because of the lack of bundling, but implementing some SASS mixins for adding mask-image pseudo-element icons seems pretty straightforward. |
Beta Was this translation helpful? Give feedback.
-
|
Adding a "Copy as CSS background image" button to lucide.dev could also be nice. |
Beta Was this translation helpful? Give feedback.
-
We basically do have that already:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using lucid (web) and esm and find my self wanting to use the icons in css for backgrounds. Is there a guide how to do this, or suggestion?
Beta Was this translation helpful? Give feedback.
All reactions