# Filtered suggestion field

https://fieldbook.lizardi.mx/components/filtered-suggestion-field

Category: Inputs
![Still of the Filtered suggestion field component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/filtered-suggestion-field.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/filtered-suggestion-field-12a6d5d873.mp4 (5 s, silent)

Filtered suggestion field: A text field that filters a list of suggestions as you type and shows the matches in a dropdown below, with keyboard navigation and a clear button.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| placeholder | text | Search… | Up to 40 characters |
| accentColor | color | #9BE15D | No additional limit in the metadata. |
| maxVisible | number | 5 | From 3 to 8; step 1 |

## Usage notes

Filtered suggestion field uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Filtered suggestion field?

Filtered suggestion field is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Filtered suggestion field depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

### What accessibility details are visible in Filtered suggestion field?

The React source for Filtered suggestion field includes: native elements (button, input); attributes and handlers (aria-activedescendant, aria-autocomplete, aria-controls, aria-expanded, aria-hidden, aria-label, aria-selected, onKeyDown, tabIndex); explicit roles (combobox, listbox, option); key comparisons (ArrowDown, ArrowUp, Enter, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Filtered suggestion field handle reduced motion?

Filtered suggestion field reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0 : 0.18. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "filtered-suggestion-field",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Combobox field](https://fieldbook.lizardi.mx/components/combobox-field)
- [Range span slider](https://fieldbook.lizardi.mx/components/range-span-slider)
- [Addon Input Group](https://fieldbook.lizardi.mx/components/addon-input-group)
- [Appointment Range Card](https://fieldbook.lizardi.mx/components/appointment-range-card)
- [Auto Grow Textarea](https://fieldbook.lizardi.mx/components/auto-grow-textarea)
- [Birthdate popover picker](https://fieldbook.lizardi.mx/components/birthdate-popover-picker)
