Components
For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
A utility button that copies text to the clipboard and provides visual feedback.
A dedicated component for copying strings to the clipboard. It handles the navigator.clipboard logic internally and swaps its icon to a success checkmark for 2 seconds after being clicked.
Since CopyButton inherits from standard ButtonProps, it supports all standard button variants.
You can use the shape="pill" prop (which is the default) to render a perfectly circular button, or shape="default" for standard sharp corners.
You can easily pair the button with explanatory text.
The CopyButton component extends ButtonProps from the standard Button component, allowing you to pass size, variant, and other standard button props.