GitHub user VasilijeBursac created a discussion: Using Superset’s internal icon set (or any other icon set) in custom HTML/CSS (table visualizations, dashboard templates)?
Hi everyone, I'm customizing a Superset dashboard and was wondering: Is it possible to reuse the icon package that Superset uses internally for its UI elements (e.g., icons in buttons, panels, etc.) in custom visualizations? Specifically, I’d like to: - Use icons inside a custom column in a Table chart by using a SQL `CONCAT` statement to build HTML. - Or reference icons in custom dashboard CSS or CSS templates. Benefits of being able to do something like this: - Visual consistency with Superset’s built-in UI - Keep it "on the same cost", i.e., avoid adding a separate CDN or local assets if Superset’s icon font or SVG set is already loaded. If Superset’s icon set isn't exposed or usable directly: - Is there a preferred way to import external icon libraries (like Font Awesome or Feather via CDN)? - Alternatively, can we host our icon files and reference them in CSS or HTML manually? Would love any pointers, best practices, or examples if someone’s done something similar. @mistercrunch @rusackas @msyavuz Thanks in advance! GitHub link: https://github.com/apache/superset/discussions/35275 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
