A
assistant-ui

Code runner · assistant-ui

A snippet with a run button, and the output it produced attached below it.

npx shadcn@latest add @assistant-ui/elements-code-runner
Preview Code runner on assistant-ui's site (opens in a new tab)
Loading the source for elements-code-runner…

elements-code-runner