def METHOD_NAME(self) -> dict[str, Component]:
    # this is a very custom component based on Bulma css styles
    upload_layout = html.Div(
        html.Label(
            [
                html.Span(
                    [
                        Icon(kind="upload"),
                        html.Span(
                            "Choose a file to upload or drag and drop",
                            className="file-label",
                        ),
                    ],
                    className="file-cta",
                ),
                # TODO: CSS fix style and un-hide file name
                html.Span(
                    id=self.id("upload_label"),
                    className="file-name",
                    style={"display": "none"},
                ),
            ],
            className="file-label",
        ),
        className="file is-boxed",
        # TODO: CSS set sensible maxWidth, don't hard-code
        style={"maxWidth": "312px"},
    )
    upload = html.Div(
        [
            html.Label("Load from your computer: ", className="mpc-label"),
            dcc.Upload(upload_layout, id=self.id("upload_data"), multiple=False),
            html.Div(id=self.id("error_message_container")),
        ]
    )
    return {"upload": upload}