Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with rx icons | Lucide #4652

Closed
AnonimPython opened this issue Jan 17, 2025 · 4 comments
Closed

Bug with rx icons | Lucide #4652

AnonimPython opened this issue Jan 17, 2025 · 4 comments
Labels
need version Issue is not specifying the version where it happened

Comments

@AnonimPython
Copy link

When I try to get a specific tag for rx.icon() from the Lucide website, I get an error.

If you use icons such as: house or binoculars. The server throws an error.

Test code
rx.link( rx.icon(tag="house", color="red"), href="/hotels", ),

Terminal result

ValueError: Invalid icon tag: house. Please use one of the following: a_arrow_down, a_arrow_up, a_large_small, accessibility, activity, air_vent, airplay, alarm_clock, alarm_clock_check, alarm_clock_minus, alarm_clock_off, alarm_clock_plus, alarm_smoke, album, align_center, align_center_horizontal, align_center_vertical, align_end_horizontal, align_end_vertical, align_horizontal_distribute_center, align_horizontal_distribute_end, align_horizontal_distribute_start, align_horizontal_justify_center, align_horizontal_justify_end, align_horizontal_justify_start, ...
See full list at https://lucide.dev/icons.

Copy link

linear bot commented Jan 17, 2025

@Lendemor Lendemor added the need version Issue is not specifying the version where it happened label Jan 18, 2025
@Lendemor
Copy link
Collaborator

"house" works on main branch, are you using an outdated version of Reflex?

@AnonimPython
Copy link
Author

I use Reflex version 0.6.7
installing with pip pip install reflex

@Lendemor
Copy link
Collaborator

This is fixed in 0.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need version Issue is not specifying the version where it happened
Projects
None yet
Development

No branches or pull requests

2 participants