Copy field

A copy link field for React with a morphing copy icon. Press the button and the icon's two pages merge into a check that draws itself, while a soft sheen passes through the text. Show it as a link in a pill or a code snippet in a box, with adjustable corners. Handy for share dialogs, invite links, API keys and documentation.

Copy field, at rest

Press · included with Bencho Pro

Copy field props

NameTypeDefaultDescription
viewstring"Code"A link in a pill, or a snippet in a box. One of Code, Link.
cornernumber20pxCorner. From 0 to 26px.

Part of Pro. Use it anywhere, just don't resell it. Licence

More blocks

More press blocks