Home
Docs
Themes
InfinityFX
©Copyright2016-2026 InfinityFX. All rights reserved.
InfinityFX®
Fluid UI
v2.0.0
Getting started
Installation
Configuration
Theming
Components
Display
ActionMenu
Combobox
Annotation
Badge
Code
Empty
Gradient
Key
Swatch
Table
Ticker
Timeline
Toast
Tooltip
Feedback
CircularProgress
Indicator
Interactable
ProgressBar
Skeleton
Spinner
Input
Autocomplete
Button
Calendar
Checkbox
Chip
ColorField
ColorPicker
DateField
Dial
DropZone
Field
FileField
Hamburger
NumberField
PasswordField
Pincode
Radio
Segmented
Select
Slider
Switch
Textarea
ThemeToggle
TimeField
Toggle
Layout
Accordion
Card
Popover
Sidebar
Collapsible
Cull
Divider
Drawer
Group
Modal
Overlay
Panel
Scrollarea
Navigation
NavigationMenu
Pagination
Stepper
Tabs
Hooks
useFluid
Links
Changelog
Create Fluid App
Skills
llms.txt

Autocomplete

A text input which shows autocomplete suggestions.

Importing

1
import { Autocomplete } from '@infinityfx/fluid';

Usage

API reference

Autocomplete Props

completions?
string[] | { label: string; value: string; }[]
The list of autocomplete suggestions.
emptyMessage?
string
"No suggestions"
Text shown when there are no completions to display.
contentSize?
'xsm' | 'sml' | 'med' | 'lrg'
Size of the dropdown content.
virtualItemHeight?
number
When set to a number greater than 0, enables virtual scrolling for better performance with large suggestion lists.
value?
string
Controlled text value.
defaultValue?
string
Default text value.
size?
'xsm' | 'sml' | 'med' | 'lrg'
'med'
variant?
'default' | 'minimal'
'default'
round?
boolean
false
icon?
React.ReactNode
Icon element displayed on the left side of the field.
error?
any
Marks the field as invalid when truthy.
disabled?
boolean
false
variant
size
placeholder
round
disabled