structyl

Mentions

stable

A textarea with @-mention autocomplete.

Basic usage

Examples

With default value

Pre-populate the textarea with an existing mention to show highlighted tokens.

People mention textarea

Mentions connects a textarea with filtered suggestions and custom item rendering.

Features

  • Trigger character.
  • Suggestion filtering.

Installation

bash
pnpm dlx structyl add mentions

API Reference

Mentions API reference

Full props, types, defaults, and all 5 parts.

View API
Mentions | structyl