import mesop.labs as mel @mel.web_component(path="./copy_to_clipboard_component.js") def copy_to_clipboard_component( *, text: str = "", key: str | None = None, ): return mel.insert_web_component( name="copy-to-clipboard-component", key=key, properties={ "text": text, }, )