UIInternal UI

AI Elements

Snippet

@randall-enterprises/ui/components/ai-elements/snippet

Copyable code snippet with text, input, and copy button slots.

Props (4)

Inherits everything from InputGroup props; InputGroupText props; InputGroupButton props.

code *string
onCopy() => void
onError(error: Error) => void
timeoutnumber