from dash import html from dash import dcc layout = html.Div([ html.H1("Yeay, my app!"), html.Div([ html.Label("Enter your text:"), dcc.Input(id='input-text', type='text', value=''), html.Button('Submit', id='submit-btn', n_clicks=0), ]), html.Div(id='output-container-button') ])