Search
Search components and blocks
Mention Input
ProA single-line input that turns @people and #channels into inline chips. The suggestion menu springs in, items stagger, and a shared highlight slides between options as you arrow through them.
Props
PropTypeDefault
sourcesMentionSource[]—placeholderstring—onChange(value: string, mentions: Mention[]) => void—classNamestring—When to use the mention input
Use it for comment and chat fields. It turns @people and #channels into inline chips inside a single-line input.
Open the CLI tab on any preview above for the exact shadcn command. The source is copied into your project, so you can edit it like any other file.