GithubHelp home page GithubHelp logo

dawidkopczyk / dash-admin-components Goto Github PK

View Code? Open in Web Editor NEW
84.0 2.0 20.0 4.96 MB

AdminLTE3 Dash components :zap:

Home Page: http://dash-admin-components.opensource.quantee.ai/

License: Other

Python 49.50% HTML 0.08% JavaScript 50.42%
plotly-dash

dash-admin-components's Introduction

dash-admin-components

Creating a fully resposive, beautiful dashboard with Plotly Dash has never been easier!

dash-admin-components relies on shinydashboard implementation of AdminLTE3 template.

It comes with preloaded Bootstrap 4 stylesheet that is fully compatibile with dash-bootstrap-components.

Installation

PyPI

You can install dash-admin-components with pip:

pip install dash-admin-components

Motivation

dash-admin-components was created by Quantee, a company providing statistical and data science solutions in the insurance sector. For our clients, it is extremely important to visualize results from statistical models and we have been looking for a powerful dashboard framework similar to shinydashboard. We have created a package on the top of Plotly Dash to simplify the implementation of dashboards and now, we share the results with you as an open-source solution!

Example

You can analyze the example here and code behind the example here.

Documentation

The documentation is available here.

Components

dash-admin-components includes several high-level components and can be composed with other components from dash-core-components and dash-bootstrap-components.

Dynamic Page with Sidebar, Navbar, Controlbar, Body and Footer.

page


Collapsible and Closeable Boxes

box


InfoBoxes

infobox


ValueBoxes

valuebox


UserBoxes

userbox


TabBoxes

tabbox

For a full list of components, head over to example code.

Contributing

This project was generated by the dash-component-boilerplate it contains the minimal set of code required to create your own custom Dash component.

dash-admin-components's People

Contributors

dawidkopczyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dash-admin-components's Issues

how to load the default "home" view

Hello,

Somehow I am not able to define a default view/tab, which should be started once the page is loaded (using your example dashboard)

any hint?

Bootstrap Themes

Hi,
I was playing around with this component library and dash_bootstrap_components and noticed that the themes of this library conflict with any custom themes used in that library. I'm not sure if themes are something that can be abstracted away in this library so that the user can set a theme in the external_css files so it's unified across component libraries if users choose to combine multiple component libraries like I tried to

dcc.Interval component not working

Merely adding dcc.Interval component to Page or even as a child of the top level div is blanking out the whole app with no errors or warnings anywhere.

How to build this project?

After running

npm install
npm run build:all

and install the built python package, the example/app.py is not runnable. Are there any additional steps that need to be made? Thanks!

Error with path src/lib/components/js/adminlte.jsError: No suitable component definition found.
Error: No suitable component definition found.

FYI, when building above error pops out.

Adding content to each tab from TabBox

On the example given on the sourcem there is no connection between the text which was to display and the tabs. I don't know exactly how to add content to each tab from TabBox.

dac.TabItem(id='content_tab_cards', 
                                            
                    children=[
                    
                        html.Div(
                            [ 
                                dac.TabBox(
                                    [
                                        dac.TabBoxHeader(
                                            dac.TabBoxMenu(
                                                [
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab1',
                                                                    label='Tab 1'),
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab2',
                                                                    label='Tab 2'),
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab3',
                                                                    label='Tab 3') 
                                                ],
                                                id='tab_box_1_menu'
                                            ),
                                            collapsible = True,
                                            title="Categories"
                                        ),
                                        dac.TabBoxBody(
                                            id='tab_box_1'
                                        )		
                                    ],
                                    width=12,
                                    elevation=2
                                ),
                            ], 
                            className='row'
                        )
                            
                    ]
                )

Enhancement href

dac.SidebarMenuSubItem( id='tab_gallery_1', label='Gallery 1', icon='arrow-circle-right', badge_label='Soon', badge_color='success', ),

It would be nice if there would be the possibility to add href item. So my app can route to other pages. Otherwise I have to write a callback for each pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.