Skip to content

Instantly share code, notes, and snippets.

@kshirsagarsiddharth
Created March 21, 2022 17:18
Show Gist options
  • Save kshirsagarsiddharth/62e89c74e24a3c367c23fba096a10ab6 to your computer and use it in GitHub Desktop.
Save kshirsagarsiddharth/62e89c74e24a3c367c23fba096a10ab6 to your computer and use it in GitHub Desktop.
row1 = dbc.Row(dbc.Col(html.Div("A single column")))
row2 = dbc.Row(
[
dbc.Col(html.Div("One of three columns")),
dbc.Col(html.Div("One of three columns")),
dbc.Col(html.Div("One of three columns")),
]
)
import dash_bootstrap_components as dbc
from dash import html
app = JupyterDash(__name__, external_stylesheets = [dbc.themes.BOOTSTRAP])
app.layout = html.Div(
[
row1,
row2
]
)
app.run_server()
Dash app running on http://127.0.0.1:8050/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment