CopyCode

A single line of code, like an install command, with a button that copies it to the clipboard. For multi-line snippets, use a code block instead.

npm install moth-ui-svelte
        
        
        
    
Property Description Type
code The code to show and copy. Required. string
style Inline styles for the wrapper, for example to change its background on a surface. string