def METHOD_NAME(self, search_term=None):
    search_field = dcc.Input(
        id=self.id("input"),
        className="input",
        type="text",
        value=search_term,
        placeholder="Enter a formula or mp-id…",
    )
    search_button = Button(
        [Icon(kind="search"), html.Span(), "Search"],
        kind="primary",
        id=self.id("button"),
    )
    search = Field(
        [Control(search_field), Control(search_button)],
        addons=True,
        style={"marginBottom": "0"},
    )
    return html.Div(
        [html.Label("Search Materials Project:", className="mpc-label"), search]
    )