Shell Command

Single-line install or run command, prefixed with a dollar sign in monospace.

bun add @beste/ui

New here? Read the installation guide.

Import & use
import { Code3 } from "@/components/beste/piece/code3";

<Code3
  command="bun add @beste/ui"
/>

More Code pieces

View all Code
const greeting = "Hello, Beste!";ts

Code Line

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

Open command palette
K

Keyboard Shortcut

Action label paired with a row of monospace key caps joined by plus separators.

curl-XPOSThttps://api.beste.co/v1/users
-H"Authorization: Bearer sk_live_..."
-H"Content-Type: application/json"
-d'{"name": "Ada Lovelace"}'

cURL Command

HTTP request rendered as a curl invocation with method, URL, headers, and body across continued lines.

const user = await fetchUser("42");

Tokenized Line

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

# 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.

function greet(name) {
return 'Hi ' + name;
return `Hello, ${name}!`;
}

Diff Snippet

Compact diff card with added, removed, and context lines tinted in emerald and rose.

Markdown version