Dash Bootstrap Templates

Hi @Gobrel

Here’s one way: You can get the URL for the stylesheet like this:

print(dbc.themes.BOOTSTRAP)

https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css

Now to get a human readable version take out the .min

https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.css

When you go to this site you will see all the classes for that theme.

Here’s another way – if you inspect the page of an app using the dbc.themes.BOOTSTRAP, can see all the fonts:

3 Likes