-
Notifications
You must be signed in to change notification settings - Fork 111
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
How to paste iframes and pure html in Vizro? #533
Comments
Hey @vks2, There's no need to feel sorry! 👍 Reading your questions helps us understand where people might have open questions when trying to translate Dash to Vizro, so it's really helpful for us! Here again, custom components are the way to go 😄 If you want to add any dash component (HTML, dcc, dbc, mantine, etc.) unavailable in our library, you can always add it using custom components! In your case, it would look like the one below. I've updated the layout in this example as well. From a visual perspective, adding text to your screen using the vm.Card might be a better solution. In this case, you also wouldn't need a custom component 👍
One thing I wanted to mention because I am unsure if it's clear, is that
To your last question: You can add js code by creating an assets folder and inserting your js files in there, as explained here: https://vizro.readthedocs.io/en/stable/pages/user-guides/assets/ Hope that helps! 🍀 |
thanks much. your final note gives flexibility that i really need working with the framework. |
Hi @vks2, |
Question
hello!
use case for 1-2 (dash code):
please note, that even importing [dbc.themes.BOOTSTRAP] breaks some bootstrap overrides that vizro uses :((
thanks much and sorry for tons of questions
Code/Examples
No response
Other information
No response
Which package?
None
Package version
No response
Python version
No response
OS
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: