Astra

Prompt Bar

Chat composer with @ sources, / commands, a model picker, dictation and attachments.

Prompt Bar, a Astra component

Use Prompt Bar in your project

Choose JavaScript or TypeScript and plain CSS or Tailwind. Enable JavaScript for the interactive preview, customization controls and source tabs.

npx shadcn@latest add @react-bits/PromptBar-TS-TW
How to install Astra components

Related components

  • Branched Menu

    Collapsible menu that branches each section from a trunk and traces a line to your pick.

  • Code Slots

    One-time code input whose digits spring into their slots, with paste and SMS autofill.

  • Comet Dial

    Tick-ring dial you flick by angle, with a comet that streaks behind the lit head.