Some icons missing #2617
Replies: 3 comments 6 replies
-
Hi @me21, we currently only support material icons and symbols. But you can simply add them with a line of custom HTML: ui.add_head_html('<link rel="stylesheet" href="https://cdn.jsdelivr.net/themify-icons/0.1.2/css/themify-icons.css" />')
ui.icon('ti-car') There's probably a more recent version out there, and maybe you need to download and host the CSS and the corresponding font(s). But this is a starting point, at least. |
Beta Was this translation helpful? Give feedback.
-
Thinking wider, it would be nice to add a paragraph to the documentation about adding custom icons and/or fonts. |
Beta Was this translation helpful? Give feedback.
-
One question: how did you find that link to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
According to https://nicegui.io/documentation/icon#material_icons_and_symbols, it should be possible to use various icon sets mentioned in Quasar documentation. Specifically, I'd like to use themify icons. But
ui.button(icon='ti-car')
renders a button with no icon.Beta Was this translation helpful? Give feedback.
All reactions