Repository navigation
Conversation
kianbazza
added this pull request to stack #526
September 29, 2026 02:50
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
kianbazza
force-pushed
the
ui-567-add-the-styled-suggestion-menu-to-the-registry
branch
from
September 29, 2026 03:45
258fd97 to
6cd6c45
Compare
kianbazza
force-pushed
the
ui-567-add-the-styled-suggestion-menu-to-the-registry
branch
from
September 29, 2026 03:50
6cd6c45 to
d20c1b0
Compare
kianbazza
force-pushed
the
ui-567-add-the-styled-suggestion-menu-to-the-registry
branch
from
September 29, 2026 11:55
d20c1b0 to
2ec7a41
Compare
kianbazza
force-pushed
the
ui-567-add-the-styled-suggestion-menu-to-the-registry
branch
from
September 29, 2026 14:29
2ec7a41 to
47b2b51
Compare
kianbazza
marked this pull request as ready for review
September 29, 2026 14:46
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the styled
suggestion-menuregistry component (npx shadcn add …/r/suggestion-menu, installed assuggestion-menu-preview.tsx), styled to match the registry's dropdown menu.drop-shadow-xl, scale-in from the anchor, 8px offset.EmptyandLoadinguse the dropdown's styles, andLoadingshows the dropdown's diamond spinner by default. The spinner is copied into this file so the component installs on its own, as the dropdown's does. It's exported asDiamondSpinner.min-width: fit-contentis overridden, so long labels truncate instead of being clipped.SuggestionMenu.Shortcutshows an editor shortcut as a hint, one<kbd>per key. It's display-only, because binding the keys would take them from the text field.classNamethrough.The docs page gains the components tier, with installation from the registry and five styled examples:
@mentions and/commands in one field, choosing the rows bypayload.trigger.char.@menu, with Users and Projects groups and a separator.noResults="close".:trigger on an<input>withminLength: 1.The example fields turn off Inter's contextual alternates, so
@doesn't jump up when a capital follows it. Linear does the same on its trigger chip.Evidence
bun run registry:buildpasses. The entry declares@bazza-ui/react,@base-ui/reactandclass-variance-authority, and needs no helper files.apps/webtype-checks.bun run checkpasses.packages/reacttype-checks and its 1,507 tests pass.Merge Danger
Door: two-way
Blast Radius: registry and docs only
Closes UI-567