Masked API key field with a show/hide eye toggle and a copy button, tagged with the env var name.
New here? Read the installation guide.
import { Ai21 } from "@/components/beste/piece/ai21";
<Ai21
label="OPENAI_API_KEY"
value="sk-proj-EXAMPLE-NOT-A-REAL-KEY-0000"
/>const slug = (s: string) => s.toLowerCase().replace(/\s+/g, '-');
AI code output card with a language tag, copy and regenerate actions, and a monospace block below.
{
"answer": "Use Redis INCR",
"sources": 3,
"latency_ms": 420
}Mini code viewer for a structured response, with a filename header, copy button, and a preformatted JSON preview body.
Monospace prompt card with inline handlebars-style variables highlighted in violet against plain body text.