Components
Clipboard
BetaCopies a value such as an API key, a link or a command.
Details
Copy a value: an API key, a link, a command. Copy a value. The trigger is the code block's Copy button: the Button with two states in one cell (Copy, then Copied, cross-fading and tinted green while the copied state lasts). variant button is that button alone; variant field puts an icon-only Copy button inside the end of a read-only Input that shows the value (an API key, a link). The change is announced through a status region. Behaviour comes from the Zag clipboard machine, through Ark UI.
Behaviour from Ark UI, the clipboard machine of Zag.