Mention

The Mention component allows users to mention people, tags, or other entities using a prefix like @ or #.

Example Usage

Custom Prefix

You can use different prefixes like # for tags.

Custom Items

You can use the MentionItem component to pass custom content, such as avatars or icons.

John Doe
JS
Jane Smith
`} language='astro' filename='CustomItems.astro' />

Multiline

Mention works great with multiline textareas.

API

속성
설명
타입
기본값

options

옵션 배열 (문자열 또는 value 및 label이 있는 객체) string[] | { value: string; label?: string }[] []

prefix

트리거 접두사 문자 string | string[] '@'

...TextInputProps

Inherits all props from TextInput any