Skip to content
P

prompt-area

An opinionated, dependency-light React rich-text prompt input

by kacharFree

#667in UI Libraries
0In stores

Description

Prompt Area is a React rich-text input for AI chat interfaces, offered as an npm package or as a shadcn registry component. It combines @men…

Highlights

  • Trigger-based chips for @mentions, /commands and #tags
  • Inline markdown and rich paste conversion
  • Undo and redo history
  • File and image attachments with thumbnails
  • Action bar and chat layout components

Ratings & Reviews

No ratings yet

Be the first to rate prompt-area.

People also visit

F

fancy-area

Textarea with @mention support inspired by GitHub's PR comment section

UI Libraries
Launch
R

rich-textarea

A small customizable textarea for React to colorize, highlight, decorate texts

UI Libraries
Launch
P

plate

AI-powered rich-text editor

UI Libraries
Launch
W

@webscopeio/react-textarea-autocomplete

Offers autocomplete over textarea in style of GitHub

UI Libraries
Launch
P

plate-select-editor

Rich multi-select editor

UI Libraries
Launch
R

react-mentions-ts

A React component that enables Facebook/Twitter-style @mentions

UI Libraries
Launch

prompt-area FAQ

What is Prompt Area?

A React rich-text input for AI chat, with mentions, commands, tags, inline markdown and attachments in one component.

How do I install it?

Use the shadcn registry command, pnpm dlx shadcn@latest add https://prompt-area.com/r/prompt-area.json, or install the pnpm add prompt-area npm package.

How do I add @mentions?

Configure a trigger with the @ character and dropdown mode. The same trigger system handles /commands and #tags.

Does it have dependencies?

The site describes it as zero-dependency, with no ProseMirror, Slate or Lexical needed.

Does it work with Next.js and Tailwind?

It is designed for Next.js and React projects that use Tailwind CSS, and it installs through the shadcn registry.

What happens when I paste formatted text?

Rich text from Word, Slack, Notion or Google Docs is converted to clean markdown.

Does it support dark mode?

Yes. The site lists dark mode as ready out of the box.

What are the best prompt-area alternatives?

Popular alternatives to prompt-area include fancy-area, rich-textarea and plate. See all prompt-area alternatives

Developer Stuff

Badges