code: def build_input(
      label,
      input,
      className="col-auto",
      label_class="input-group-addon",
      **kwargs,
  ):
      """
      Helper function to build a standard label/input component in dash.
  
      :param label: name of the input you are displaying
      :type label: str
      :param input: dash component for storing state
      :param className: style class to be applied to encapsulating div
      :type className: str
      :param kwargs: Optional keyword arguments to be applied to encapsulating div (style, title, id...)
      :type kwargs: dict
      :return: dash components for label/input
      :rtype: :dash:`dash_html_components.Div <dash-html-components/div>`
      """
      return html.Div(
          [
              html.Div(
                  [html.Span(label, className=label_class)]
                  + make_list(input),
                  className="input-group mr-3",
              )
          ],
          className=className,
          **kwargs,
      )
  
file_path: dtale/dtale/dash_application/layout/utils.py
imports: import dash_bootstrap_components
  from dtale.dash_application import dcc, html
  from dtale.translations import text
  from dtale.utils import dict_merge, classify_type, flatten_lists, make_list
  from dtale.charts.utils import INDEX_COL
  from dtale.constants import CHART_JOINER_CHAR
label_desc: Use image node_id 2 for calling a global function with example usage: build_input(label, input, className, label_class) and returns: html