One-line code snippet with a monospace pill and a tiny language tag on the right.
const greeting = "Hello, Beste!";tsNew here? Read the installation guide.
import { Code1 } from "@/components/beste/piece/code1";
<Code1
code="const greeting = \"Hello, Beste!\";"
language="ts"
/>const user = await fetchUser("42");Single-line snippet with keywords, strings, and function names colored by semantic token kind.
export function greet(name: string) {return `Hello, ${name}!`;}console.log(greet("Beste"));
Dark editor card with three traffic-light dots, a filename tab, and line-numbered code.
Action label paired with a row of monospace key caps joined by plus separators.
import { Sirius } from '@sirius/sdk' const client = new Sirius(apiKey)await client.members.create({ name })A code card with a filename header and copy affordance over syntax-toned, line-numbered source.