| ariaLabel | string? | locale | | Accessible name for the copy button. |
| children | Snippet | — | | Renders instead of text when passed; committing applies it, and the dialog edits its text. |
| containerClass | string? | '' | | Extra classes for the wrapper. |
| copyPosition | 'inline' | 'top-right' | 'inline' | | Copy button placement. |
| copyText | string? | text | | Value placed on the clipboard; defaults to text. |
| size | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number | 'md' | | Copy button scale; numbers are icon-scale pixels interpolated between the steps. |
| text | string? | — | | Text to render (or wrap children instead). |
| textClass | string? | 'text-slate-400' | | Classes for the rendered text. |
| tooltip | string? | locale | | Tooltip for the copy button. |