pfrazee/suggest-box — explained in plain English
Analysis updated 2026-08-11 · repo last pushed 2023-04-24
Add @mention autocomplete to a chat or comment box on your website.
Build a tagging field where typing # triggers a dropdown of topic suggestions.
Create a task assignment bar that suggests teammate names as you type in a project management app.
| pfrazee/suggest-box | aframevr/a-saturday-night | apoorvjain25/frontier | |
|---|---|---|---|
| Stars | 77 | 77 | 77 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2023-04-24 | 2017-10-13 | — |
| Maintenance | Dormant | Dormant | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | vibe coder | developer |
Figures from each repo's GitHub metadata at analysis time.
You must write your own CSS to style the popup since the tool only provides the interaction structure, not visual styling.
Suggest Box is a JavaScript tool that adds autocomplete popups to text fields on a website. It gives you the same behavior you see on GitHub or social media platforms, where typing a special character like "@" triggers a dropdown menu of suggestions. When a user types "@" and starts spelling a name, a small menu appears with matching usernames, and selecting one automatically inserts the full mention into the text. The tool works as a decorator, meaning it attaches itself to an existing text field on your webpage without replacing it. You provide it with the text field and a "suggester," which is a set of instructions on what to recommend. The suggester can be a simple list of options, or it can be a function that actively searches a database for matching results as the user types. When the user picks an option from the popup, the tool inserts the corresponding value directly into the text at the cursor's location. A developer would use this when building a chat application, a comment system, or a tagging tool. For example, if you are building a project management app and want users to assign tasks by typing a teammate's name, this tool handles the dropdown interface and insertion logic. You can configure it to watch for specific trigger characters like "@" for usernames or "#" for topics, or you can configure it to suggest options for any word typed. Each suggestion in the popup can display a title, a subtitle, and an optional image, like a user's profile photo. The tool also emits a signal when a selection is made, so the rest of your application can react to that choice. However, it provides only the basic interaction structure, you must write your own CSS to style the popup visually.
A JavaScript tool that adds autocomplete dropdowns to text fields on web pages, like when typing @ to mention someone. It handles the popup menu and inserts the selected suggestion into the text for you.
Mainly JavaScript. The stack also includes JavaScript.
Dormant — no commits in 2+ years (last push 2023-04-24).
No license information is provided in the repository, so usage rights are unclear.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.