CodeBlock
@randall-enterprises/ui/components/ai-elements/code-blockShiki-highlighted code with container, header, filename, actions, and copy.
Props (3)
Inherits everything from HTML <div> props; HTML <span> props.
code *stringlanguage *stringshowLineNumbersbooleanimport { Button } from "@randall-enterprises/ui/components/primitives/button";Manual composition
example.tsxconst answer = 42;