Skip to content

SuggestionList

Source: client/lib/theme/vueda-tailwind/display/index.js

Outer suggestion stack; border treatment lives on SuggestionList.list.

Vue component: SuggestionList

SlotDefault classesDescription
rootflex flex-col gap-2Outer suggestion stack; border treatment lives on SuggestionList.list.
headRowflex items-baseline justify-between gap-3Header row aligning the human label with the optional machine source.
head2 classesUppercase suggestion heading.
sourcefont-mono text-[10px] text-muted-foreground leading-noneMono source label for the matching system that produced the suggestions.
list3 classesBordered list container with divided suggestion rows.
item4 classesFull-width router-link row laid out as icon, text stack, chip, and chevron.
icon2 classesLeading icon cell for the suggestion type.
labelStackflex flex-col gap-0.5 min-w-0Text column stacking label above the route path or action description.
labeltext-[13px] font-medium text-foreground leading-[1.3] truncatePrimary suggestion label in foreground text.
subfont-mono text-[12px] font-normal text-muted-foreground leading-[1.3] truncateSecondary suggestion text, usually a mono route path or action description.
score3 classesRoute-match score chip with mono numeric text.
verb3 classesHTTP verb chip for action suggestions, matching SuggestionList.score.
chevron2 classesTrailing chevron affordance for rows that navigate.

root

Outer suggestion stack; border treatment lives on SuggestionList.list.

Default classes:

flex flex-col gap-2

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:16

headRow

Header row aligning the human label with the optional machine source.

Default classes:

flex items-baseline justify-between gap-3

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:20

Uppercase suggestion heading.

Default classes:

text
text-[10px] font-semibold uppercase tracking-[0.06em]
text-muted-foreground leading-none

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:24

source

Mono source label for the matching system that produced the suggestions.

Default classes:

font-mono text-[10px] text-muted-foreground leading-none

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:28

list

Bordered list container with divided suggestion rows.

Default classes:

text
rounded-vueda-card hairline hairline-border overflow-hidden
divide-y-[var(--vueda-hairline-width)] divide-border
list-none m-0 p-0

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:32

item

Full-width router-link row laid out as icon, text stack, chip, and chevron.

Default classes:

text
grid grid-cols-[24px_1fr_auto_auto] items-center gap-x-3 px-2.5 py-2.5
w-full no-underline text-inherit
hover:bg-accent/50 active:bg-accent transition-colors
focus-visible:focus-ring-shadow

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:40

icon

Leading icon cell for the suggestion type.

Default classes:

text
flex items-center justify-center w-6 h-6 shrink-0
text-muted-foreground text-[16px] leading-none

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:49

labelStack

Text column stacking label above the route path or action description.

Default classes:

flex flex-col gap-0.5 min-w-0

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:56

label

Primary suggestion label in foreground text.

Default classes:

text-[13px] font-medium text-foreground leading-[1.3] truncate

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:60

sub

Secondary suggestion text, usually a mono route path or action description.

Default classes:

font-mono text-[12px] font-normal text-muted-foreground leading-[1.3] truncate

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:64

score

Route-match score chip with mono numeric text.

Default classes:

text
font-mono text-[10px] uppercase leading-none
hairline hairline-border rounded-sm bg-muted text-muted-foreground
px-1.5 py-0.5 shrink-0

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:68

verb

HTTP verb chip for action suggestions, matching SuggestionList.score.

Default classes:

text
font-mono text-[10px] uppercase leading-none
hairline hairline-border rounded-sm bg-muted text-muted-foreground
px-1.5 py-0.5 shrink-0

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:76

chevron

Trailing chevron affordance for rows that navigate.

Default classes:

text
flex items-center justify-center shrink-0
text-muted-foreground/60 text-[14px] leading-none

Source: client/lib/theme/vueda-tailwind/display/SuggestionList.theme.js:84

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2