Compact, self-contained widgets that behave like assets. Drop them into any block, card, or page to add a small touch of polish without rewriting the surrounding UI.
1–12 of 12
const greeting = "Hello, Beste!";tsOne-line code snippet with a monospace pill and a tiny language tag on the right.
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.
bun add @beste/uiSingle-line install or run command, prefixed with a dollar sign in monospace.
function greet(name) { return 'Hi ' + name; return `Hello, ${name}!`;}Compact diff card with added, removed, and context lines tinted in emerald and rose.
const user = await fetchUser("42");Single-line snippet with keywords, strings, and function names colored by semantic token kind.
Stacked import statements with destructured names and module paths in a quiet syntax palette.
Pretty-printed JSON object with sky keys, emerald strings, and amber numerics.
Action label paired with a row of monospace key caps joined by plus separators.
Error headline followed by a few stack frames with file paths and amber line and column numbers.
Multi-line SQL with violet keywords, emerald string literals, and amber numerics.
HTTP request rendered as a curl invocation with method, URL, headers, and body across continued lines.
Dotenv listing with sky keys, italic muted comments, and grouped sections separated by blank lines.