JSON Snippet

{
"name":"Beste",
"version":"1.0.0",
"active":true,
"count":42,
"owner":null
}
About this piece

JSON Snippet

Pretty-printed JSON object with sky keys, emerald strings, and amber numerics.

Usage

The import and the props worth knowing about, in one place.

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
    }
  ]}
/>

More Code pieces

View all Code
const user = await fetchUser("42");

Tokenized Line

Single-line snippet with keywords, strings, and function names colored by semantic token kind.

members.ts
import { Sirius } from '@sirius/sdk'
const client = new Sirius(apiKey)
await client.members.create({ name })

SDK Snippet Card

A code card with a filename header and copy affordance over syntax-toned, line-numbered source.

greet.ts
export function greet(name: string) {
return `Hello, ${name}!`;
}
 
console.log(greet("Beste"));

Code Snippet Card

Dark editor card with three traffic-light dots, a filename tab, and line-numbered code.

const greeting = "Hello, Beste!";ts

Code Line

One-line code snippet with a monospace pill and a tiny language tag on the right.

# Database
DATABASE_URL=postgres://localhost/beste
REDIS_URL=redis://localhost:6379
# API
API_KEY=sk_test_EXAMPLE_0000
PORT=3000

Env File

Dotenv listing with sky keys, italic muted comments, and grouped sections separated by blank lines.

SELECT id, name, email
FROM users
WHERE active = true
ORDER BY created_at DESC
LIMIT 10;

SQL Query

Multi-line SQL with violet keywords, emerald string literals, and amber numerics.