Component recipe · Claude Design source
Prompt Input for Claude Design
Terminal prompt line input with green caret
Component anatomy
Terminal prompt line input with green caret
{
"element": "input",
"baseClasses": [
"font-mono",
"bg-[#0A0E12]",
"border border-[#1F2937]",
"rounded-sm",
"text-[#4AF626]",
"caret-[#4AF626]",
"placeholder:text-[#6272A4]",
"focus:outline-none",
"transition-colors duration-150"
]
}Variants and parameters
Default
Session
bg-[#0D141B]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#4AF626]/60",
"focus:ring-1 focus:ring-[#4AF626]/30"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe