ME

Mentions

@rc-component/mentions

React Mentions

Component Libraries
react
react-component
react-mentions
mentions
@rc-component/mentions
Component Libraries
javascript
npm
frontend
open source
Stars
342
Weekly
1.1M
Open issues
4
Bundle
~25 kB

Installation

npm install @rc-component/mentions

Code example

import { Button } from "@rc-component/mentions";

export function Example() {
  return (
    <div className="flex gap-2">
      <Button>Primary</Button>
      <Button variant="outline">Secondary</Button>
    </div>
  );
}

Pros & cons

Pros

  • Actively maintained by zombiej
  • 1.1M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 4 open issues on GitHub

FAQs

Alternatives & similar libraries