在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:facultyai/dash-bootstrap-components开源软件地址:https://github.com/facultyai/dash-bootstrap-components开源编程语言:JavaScript 93.2%开源软件介绍:Dash Bootstrap Components
Bootstrap components for Plotly Dash
dash-bootstrap-components is a library of Bootstrap components for use with Plotly Dash, that makes it easier to build consistently styled Dash apps with complex, responsive layouts. Table of contentsInstallationPyPIYou can install dash-bootstrap-components with pip install dash-bootstrap-components AnacondaYou can also install dash-bootstrap-components with conda install -c conda-forge dash-bootstrap-components Dash for RYou can now use dash-bootstrap-components with Dash for R! To get started make sure you have the devtools library installed install.packages("devtools") You can then install dash-bootstrap-components from the library(devtools)
install_github('facultyai/dash-bootstrap-components@r-release') Check out the docs for more details Dash.jlYou can also use dash-bootstrap-components with Dash.jl! Install with pkg> add DashBootstrapComponents Check out the docs for more details Quick startTo use dash-bootstrap-components you must do two things:
Linking a stylesheetdash-bootstrap-components doesn't come with CSS included. This is to give you the freedom to use any Bootstrap v5 stylesheet of your choice. This means however that in order for the components to be styled properly, you must link to a stylesheet yourself. For convenience, links to BootstrapCDN for each theme are
available through the import dash
import dash_bootstrap_components as dbc
app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP]) For more information on how to link local or external CSS, check out the Dash documentation. Build the layoutWith CSS linked, you can start building your app's layout with our Bootstrap components. See our documentation for a full list of available components, which include: Standard row and column-based layoutsCardsTabsFormsDropdown menusTooltips... and many more. ContributingWe welcome contributions to dash-bootstrap-components. If you find a bug or something is unclear please submit a bug report, if you have ideas for new features please feel free to make a feature request. If you would like to submit a pull request, please read our contributing guide, which contains instructions on how to build and install dash-bootstrap-components locally, how to check your code will pass our linting checks, and how to submit the pull request itself. Copyright and licenseCode and documentation is copyright Faculty Science Ltd. 2018-2022, and released under the Apache 2.0 license |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论