{#- chirp-ui: Copy button Copies text to clipboard, shows feedback. Requires Alpine.js. Usage: from "chirpui/copy_button.html" import copy_button {{ copy_button("text to copy", label="Copy") }} -#} {% def copy_button(text, label="Copy") %} {# @consumes _streaming_role from: streaming_bubble — falls back to "" #} {% set _role = consume("_streaming_role", "") %} {% end %}