Cool React components, wrapped for Plotly Dash
Project description
Dash Cool Components
Cool React components, wrapped for Plotly Dash
Table of contents
Installation
pip install dash-cool-components
Components
Datatime Picker
A date-time picker. Source React component.
import dash
import dash_html_components as html
import dash_cool_components
app = dash.Dash(__name__)
my_component = dash_cool_components.DateTimePicker(id='date_time_picker')
app.layout = html.Div(my_component)
if __name__ == '__main__':
app.run_server(debug=True)
Keyed File Browser
File and directory browser given a flat keyed list of objects. Source React component.
import dash
import dash_html_components as html
import dash_bootstrap_components as dbc
import dash_cool_components
external_stylesheets = [dbc.themes.BOOTSTRAP]
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)
dir_dict = [
{'key': 'dir1/my_image.jpeg', 'size': 2782874},
{'key': 'dir2/other_image.tif', 'size': 499240007}
]
my_component = dash_cool_components.FileExplorer(
id='file_explorer',
value=dir_dict,
)
app.layout = html.Div(my_component, style={'width': '500px'})
if __name__ == '__main__':
app.run_server(debug=True)
Tag Input
A tag input component. Source React component.
import dash
import dash_html_components as html
import dash_cool_components
app = dash.Dash(__name__)
my_component = dash_cool_components.Keywords(id='tag_input')
app.layout = html.Div(my_component)
if __name__ == '__main__':
app.run_server(debug=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dash_cool_components-0.0.4.tar.gz
(474.6 kB
view hashes)
Close
Hashes for dash_cool_components-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e481dbe6646489b035a6175e4ad36e7f6fb01846237f68edd8334274ee0ab65 |
|
MD5 | a0f745fd3afeb36b3624571218aa12cb |
|
BLAKE2b-256 | d06d59aacb597c684ebd8380c4d957a7301d8b67e488f4477f7c867a17be949d |