❯
# input
Bottom prompt input with blinking cursor and status metadata.
──
examples
? for shortcuts · ← for agentsmax
──
install
npx shadcn@latest add "https://www.terminal-kit.com/r/input.json"
──
component api
Input
Bottom prompt input with blinking cursor and footer metadata. ShellInput is a deprecated alias.
PropTypeDefaultDescription
valuestring—Controlled input value.
defaultValuestring""Initial value when uncontrolled.
onValueChange(value: string) => void—Called when the input value changes.
onSubmit(value: string) => void—Called on Enter without Shift.
promptstring—Prompt symbol before the field. Defaults to "❯".
statusReactNode—Inline right metadata on grok compact layout; shown in the default composer meta tray (with metaRight) or Claude stacked footer when metaRight is omitted.
metaLeftReactNode—Footer hint on the left — default composer and Claude stacked layouts.
metaRightReactNode—Footer hint on the right — default composer and Claude stacked layouts.
placeholderstring—Placeholder text when empty.
disabledbooleanfalseDisable input interaction.
showCursorbooleanfalseKeep the blinking cursor visible even when unfocused.
layout"auto" | "inline" | "stacked""auto"auto — composer with footer meta on default, inline box on grok, stacked lines on Claude. inline keeps the bordered box with status on the right.
classNamestring—Additional CSS classes.
advanced
InputLevelMeta
Lightning + level label for default composer metaRight (defaults to max).
PropTypeDefaultDescription
childrenReactNode"max"Level label beside the icon.