Moduli v1.0.0

Input menzione

Un'area di testo con supporto menzioni inline. Digita un carattere di attivazione (predefinito "@") per aprire un dropdown filtrabile di utenti o elementi. Supporta navigazione da tastiera, visualizzazione avatar e memorizza i dati delle menzioni strutturati in un input nascosto come JSON.

Anteprima e Codice

Opzioni

Nome Tipo Predefinito Descrizione
name * String obbligatorio Form field name for the hidden input storing mention data
value String "" Initial text value for the textarea
placeholder String "" Placeholder text for the textarea
trigger String "@" Character that triggers the mention dropdown
items Array [] Array of mentionable items with keys: id, name, avatar (optional)
max_suggestions Integer 5 Maximum number of suggestions shown in the dropdown
label String nil Label text rendered above the textarea

Registro delle modifiche v1.0.0

- Initial release with trigger character detection
- Filterable dropdown with keyboard navigation
- Avatar support with fallback initials
- Structured JSON mention data in hidden input
- Dark mode support

Ottieni l'Accesso Completo

Sblocca il codice sorgente di questo componente e di tutti gli altri. Un solo pagamento per l'accesso a vita.

Ottieni l'Accesso Ora