Pretty-printed JSON object with sky keys, emerald strings, and amber numerics.
New here? Read the installation guide.
import { Code7 } from "@/components/beste/piece/code7";
<Code7
entries={[
{
"key": "name",
"value": "Beste"
},
{
"key": "version",
"value": "1.0.0"
},
{
"key": "active",
"value": true
},
{
"key": "count",
"value": 42
},
{
"key": "owner",
"value": null
}
]}
/>const user = await fetchUser("42");Single-line snippet with keywords, strings, and function names colored by semantic token kind.
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.
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.
const greeting = "Hello, Beste!";tsOne-line code snippet with a monospace pill and a tiny language tag on the right.