Skip to content
AiProductsHunt AiProductsHunt

Prompt Area

A production-grade rich text input for AI chat interfaces

Visit website
Screenshot of Prompt Area

About Prompt Area

An open-source React textarea component with @mentions, /commands, #tags, inline markdown, undo/redo, file attachments, and dark mode. Install via npm or shadcn registry: npx shadcn@latest add.

Reviews 4

Your rating

Thanks! Your review is posted.

Sign in to rate and review Prompt Area.

  • Halle Wilkinson 4 months ago

    contentEditable + custom chip rendering for mentions/tags is usually where things fall apart with IME composition (CJK input especially) since the browser's own cursor/selection handling gets confused by non-text inline nodes mid-composition. you list IME support as a feature explicitly so I'm guessing you hit this - was that the hardest bug to get right, and does it still break on any edge case, like composing a mention right at a chip boundary?

  • Kenneth Corwin 4 months ago

    We've just swapped our chat input with prompt area and it has been a major gamechanger! Super excited to be serving 100K+ users through it, thanks for building it!

  • Chaim Schuppe 4 months ago

    Drop-in textarea with all the niceties I usually end up hand-rolling - mentions, slash commands, markdown - actually feels solid. Skimmed the source and the keyboard handling looks thoughtful, not hacky.

  • Nils Auer 4 months ago

    The inline markdown parsing feels really polished, especially how it plays nicely with @mentions and /commands without getting in each other's way. Solid execution for a drop-in component.

Compare