Code pieces from Beste UI, drop-in widgets built with shadcn/ui and Tailwind CSS.
1–13 of 13
| Piece | Title | Category | Install |
|---|---|---|---|
| code13 | SDK Snippet Card | Code | npx shadcn add https://ui.beste.co/piece/r/code13 |
| code12 | Env File | Code | npx shadcn add https://ui.beste.co/piece/r/code12 |
| code11 | cURL Command | Code | npx shadcn add https://ui.beste.co/piece/r/code11 |
| code10 | SQL Query | Code | npx shadcn add https://ui.beste.co/piece/r/code10 |
| code9 | Stack Trace | Code | npx shadcn add https://ui.beste.co/piece/r/code9 |
| code8 | Keyboard Shortcut | Code | npx shadcn add https://ui.beste.co/piece/r/code8 |
| code7 | JSON Snippet | Code | npx shadcn add https://ui.beste.co/piece/r/code7 |
| code6 | Import Block | Code | npx shadcn add https://ui.beste.co/piece/r/code6 |
| code5 | Tokenized Line | Code | npx shadcn add https://ui.beste.co/piece/r/code5 |
| code4 | Diff Snippet | Code | npx shadcn add https://ui.beste.co/piece/r/code4 |
| code3 | Shell Command | Code | npx shadcn add https://ui.beste.co/piece/r/code3 |
| code2 | Code Snippet Card | Code | npx shadcn add https://ui.beste.co/piece/r/code2 |
| code1 | Code Line | Code | npx shadcn add https://ui.beste.co/piece/r/code1 |
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.
Dotenv listing with sky keys, italic muted comments, and grouped sections separated by blank lines.
HTTP request rendered as a curl invocation with method, URL, headers, and body across continued lines.
Multi-line SQL with violet keywords, emerald string literals, and amber numerics.
Error headline followed by a few stack frames with file paths and amber line and column numbers.
Action label paired with a row of monospace key caps joined by plus separators.
Pretty-printed JSON object with sky keys, emerald strings, and amber numerics.
Stacked import statements with destructured names and module paths in a quiet syntax palette.
const user = await fetchUser("42");Single-line snippet with keywords, strings, and function names colored by semantic token kind.
function greet(name) { return 'Hi ' + name; return `Hello, ${name}!`;}Compact diff card with added, removed, and context lines tinted in emerald and rose.
bun add @beste/uiSingle-line install or run command, prefixed with a dollar sign in monospace.