Inserting this into the custom css doesn’t work - I think I need to assign an icon it can access.
My ideal icon is ‘lucide/user’ but entering this in the (‘’) doesn’t work either.
Can anyone help here? I would imagine it’s possible, however, am unsure of how to reference icons outside of using the icon elements found in the library.
is it necessary to place an icon right inside the input field?
In such cases I just use a “div” element to place inside it an “icon” and “input field” elements. Then you remove input field’s border and style the div as an input field. It’s an easy way.
What I do to achieve that kind of design it to wrap my input in a div. Then I add a left padding to the input, that will leave space to add an icon to the left. You can then position your icon with an absolute positionning.
Let me know if you need more detailed instructions