Skip to content

Mentions

The Mentions component provides a text area that triggers a suggestion dropdown when the user types a mention trigger character like @.

Basic Usage

import { Mentions } from "@paramanu/forms-react"
export default function App() {
return (
<Mentions>
<textarea placeholder="Type @ to mention someone..." rows={3} />
</Mentions>
)
}
<div class="pm-mentions pm-mentions--outline pm-mentions--md">
<textarea class="pm-input pm-input--outline pm-input--md" placeholder="Type @ to mention someone..." rows="3"></textarea>
</div>