
### code
- type: string
- description: Code to render inside the snippet.
### variant
- type: "inline" | "singleline" | "multiline"
- description: Visual variant of the snippet.
- default: 'singleline'
### size
- type: "small" | "tiny" | "medium"
- description: Controls the typography size. Defaults to `'small'` for `singleline` and `multiline`; for `inline`, inherits from the surrounding text when omitted.
### copyText
- type: string
- description: Text written to the clipboard when the copy action is triggered. Defaults to `code`.
### disableCopy
- type: boolean
- description: Disables copy functionality across all variants. For `inline` the code renders as static, non-interactive text; for `singleline` / `multiline` the copy button is hidden.
- default: false
### copyTooltipText
- type: string
- description: Tooltip label shown while idle (before the user copies). Defaults to `'Copy to clipboard'`.
### copiedTooltipText
- type: string
- description: Tooltip label shown right after a successful copy. Auto-reverts to `copyTooltipText` after 3 seconds. Defaults to `'Copied to clipboard'`.
### tooltipProps
- type: Omit<Partial<TooltipProps>, "content">
- description: Accepts props to forward to the `<Tooltip/>` that wraps the copy trigger, for example `placement` or delays. The snippet sets `content` itself, so use `copyTooltipText` and `copiedTooltipText` to customize the labels.
- linkTypeTo: Tooltip
- setTypeName: TooltipProps
### onCopy
- type: (copiedValue: string) => void
- description: Fires after a successful clipboard write. Receives the value that was copied.
### ariaLabel
- type: string
- description: Adds an `aria-label` to the root element.
### wrapText
- type: boolean
- description: Wraps lines instead of using a horizontal scrollbar. Applicable only to the `multiline` variant.
### dataHook
- type: string
- description: Applies a `data-hook` HTML attribute that can be used in tests.
### className
- type: string
- description: Specifies a CSS class name to be appended to the component's root element.
- internal

