dash-bootstrap-面包屑

from logging import debug
import dash
from dash import Input, Output, State, html
import dash_bootstrap_components as dbc
from dash_bootstrap_components.themes import BOOTSTRAP

app = dash.Dash(external_stylesheets=[dbc.themes, BOOTSTRAP])

# 指示当前页面在导航层次结构中的位置,该层次结构通过 CSS 自动添加分隔符
breadcrumb = dbc.Breadcrumb(
    items=[
        {
            "label": "Docs",
            "href": "/docs",
            "external_link": True,
        },
        {
            "label": "Components",
            "href": "/docs/components",
            "external_link": True,
        },
        {
            "label": "Breadcrumb",
            "active": True,
        },
    ],
)
app.layout = dbc.Container(breadcrumb, fluid=True)

if __name__ == "__main__":
    app.run_server(debug=True)

你可能感兴趣的:(dash框架,python,bootstrap)