awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
moroshko avatar

moroshko/react-autosuggest

0
View on GitHub↗
5,940 星标·570 分支·JavaScript·MIT·2 次浏览react-autosuggest.js.org↗

React Autosuggest

React Autosuggest is a fully controlled React component that provides an autocomplete input with a dropdown of suggestions as the user types. It delegates all state management to the parent component through callbacks, making it compatible with state management patterns like Flux or Redux. The component implements WAI-ARIA accessibility patterns, including keyboard navigation with arrow keys, Enter, and Escape, along with live region integration for screen reader announcements.

The component offers extensive customization through render-prop functions, allowing developers to replace the default input element and control how each suggestion is rendered, including support for grouped sections with headers. It provides scroll isolation within the suggestions container, preventing page scrolling when the list reaches its boundary. Styling can be applied through a theme object that works with any CSS solution, including CSS Modules, Radium, or JSS.

The component gives developers control over when suggestions are displayed, such as after a minimum character count or based on custom logic, and supports automatic highlighting of matched text. It handles long suggestion lists by rendering them in a scrollable container, and provides direct access to the underlying input element for DOM manipulation.

Features

  • Autocomplete Inputs - Provides a fully controlled autocomplete input with filtered suggestions as the user types.
  • Keyboard and Navigation - Supports full keyboard navigation with arrow keys, Enter, and Escape for suggestion selection.
  • Keyboard-Accessible - Implements full keyboard navigation with arrow keys, Enter, and Escape for suggestion selection.
  • Custom Suggestion Templates - Allows replacing the default input and suggestion container with custom rendering logic.
  • Keyboard Navigation State Machines - Ships an internal state machine for keyboard-driven suggestion navigation and selection.
  • Autocomplete Components - Provides a fully controlled React autocomplete input with a dropdown of suggestions as the user types.
  • Controlled - Ships a fully controlled React autocomplete component that delegates all state management to parent callbacks.
  • Customizable Suggestion Renderers - Provides render-prop functions for fully customizing suggestion markup, grouped sections, and styling.
  • Controlled Components - Delegates all state management to the parent via callbacks, implementing a fully controlled component pattern.
  • Render Props - Exposes render props for input and suggestion rendering, giving full markup and style control.
  • Controlled Component State Integrations - Ships a fully controlled React autocomplete component that delegates all state management to parent callbacks for Flux or Redux integration.
  • Keyboard-Accessible Autocomplete - Provides keyboard-accessible autocomplete with ARIA attributes for screen reader navigation.
  • Screen Reader Accessibility - Announces each suggestion to screen readers with full keyboard navigation for selection.
  • Screen Reader Live Regions - Delivers screen reader announcements through ARIA live regions that update as suggestions appear.
  • WAI-ARIA Frameworks - Implements WAI-ARIA accessibility patterns with keyboard navigation and screen reader announcements.
  • Autocomplete State Controllers - Delegates all autocomplete state management to parent callbacks for seamless Flux or Redux integration.
  • Input Suggestions - Provides a scrollable suggestion container for long lists of autocomplete options.
  • Sectioned Suggestion Groups - Supports rendering suggestions in grouped sections with headers for better organization.
  • Suggestion Visibility Controls - Controls when suggestions appear, such as after a minimum character count or based on custom logic.
  • Grouped List Sections - Renders suggestions as grouped sections with headers for organized browsing.
  • Custom Input Overrides - Allows replacing the default input element with a fully custom component for UI library integration.
  • Container Scroll Isolations - Isolates scroll inside the suggestions container to prevent page scrolling at boundaries.
  • Scroll Boundary Event Captures - Captures wheel events when the suggestion container reaches its scroll boundary to isolate scrolling.
  • Container Scroll Isolations - Isolates scroll within the suggestions container to prevent page scrolling at boundaries.
  • Scrollable Form Lists - Renders the suggestion list inside a scrollable container to keep long lists usable.
  • Scroll-Isolated Suggestion Lists - Isolates scroll within the suggestions container to prevent page scrolling when the list boundary is reached.
  • CSS Styling - Applies custom styles via a theme object compatible with CSS Modules, Radium, Aphrodite, or JSS.
  • Form Controls - WAI-ARIA compliant autosuggest component.

Star 历史

moroshko/react-autosuggest 的 Star 历史图表moroshko/react-autosuggest 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

moroshko/react-autosuggest 是做什么的?

React Autosuggest is a fully controlled React component that provides an autocomplete input with a dropdown of suggestions as the user types. It delegates all state management to the parent component through callbacks, making it compatible with state management patterns like Flux or Redux. The component implements WAI-ARIA accessibility patterns, including keyboard navigation with arrow keys, Enter, and Escape, along with live region integration for screen reader…

moroshko/react-autosuggest 的主要功能有哪些?

moroshko/react-autosuggest 的主要功能包括:Autocomplete Inputs, Keyboard and Navigation, Keyboard-Accessible, Custom Suggestion Templates, Keyboard Navigation State Machines, Autocomplete Components, Controlled, Customizable Suggestion Renderers。

moroshko/react-autosuggest 有哪些开源替代品?

moroshko/react-autosuggest 的开源替代品包括: reactjs/react-autocomplete — This library provides a React component for building accessible combobox and autocomplete inputs. It is designed to… downshift-js/downshift — Downshift is a headless UI component library and framework for React that provides the state and interaction… mui/base-ui — Base UI is a headless component library and unstyled framework providing accessible interface primitives. It decouples… devbridge/jquery-autocomplete — This library is a JavaScript plugin that enhances standard text input fields with real-time, predictive search… coreui/coreui-free-react-admin-template — This project is a React-based administrative template and UI kit designed for building dashboards. It provides a… northwoodssoftware/gojs — GoJS is a JavaScript diagramming library and canvas-based visualization engine used to build interactive flowcharts,…

React Autosuggest 的开源替代方案

相似的开源项目,按与 React Autosuggest 的功能重合度排序。
  • reactjs/react-autocompletereactjs 的头像

    reactjs/react-autocomplete

    2,159在 GitHub 上查看↗

    This library provides a React component for building accessible combobox and autocomplete inputs. It is designed to display dynamic search suggestions as users type, facilitating data selection from large sets while adhering to established accessibility standards for screen readers and keyboard navigation. The component distinguishes itself through a highly flexible architecture that allows developers to define custom visual layouts for both the input field and the suggestion menu. By utilizing render prop composition and custom rendering interfaces, it enables the injection of unique UI logi

    JavaScript
    在 GitHub 上查看↗2,159
  • downshift-js/downshiftdownshift-js 的头像

    downshift-js/downshift

    12,295在 GitHub 上查看↗

    Downshift is a headless UI component library and framework for React that provides the state and interaction primitives necessary to build accessible autocomplete, combobox, and select dropdown components. It functions as a WAI-ARIA UI framework, generating the required ARIA attributes and keyboard event handlers to ensure screen reader compliance without providing any default styling. The library utilizes a headless component pattern to decouple interaction logic from the visual presentation. It manages complex state transitions through reducers and synchronizes internal UI state with extern

    JavaScriptaccessibleautocompleteautosuggest
    在 GitHub 上查看↗12,295
  • mui/base-uimui 的头像

    mui/base-ui

    8,711在 GitHub 上查看↗

    Base UI is a headless component library and unstyled framework providing accessible interface primitives. It decouples behavioral logic and state management from the visual layer, allowing developers to implement complex UI patterns while maintaining total control over the final styling. The library implements WAI-ARIA design patterns to ensure all primitives support standard keyboard navigation and screen reader accessibility. It provides a suite of low-level building blocks that handle the internal mechanics of interface elements without bundling any CSS. The framework covers a broad range

    TypeScriptaccessibilitydesign-systemreact
    在 GitHub 上查看↗8,711
  • devbridge/jquery-autocompletedevbridge 的头像

    devbridge/jQuery-Autocomplete

    3,542在 GitHub 上查看↗

    This library is a JavaScript plugin that enhances standard text input fields with real-time, predictive search suggestions. It functions as a reusable interface component that monitors user input to display dynamic dropdown menus, allowing for the selection of data from either local arrays or remote server endpoints. The plugin distinguishes itself through its ability to manage asynchronous data retrieval, utilizing request orchestration and debouncing to optimize network traffic. It provides granular control over the suggestion lifecycle and rendering, allowing developers to define custom HT

    JavaScriptajax-autocompleteautocompleteautosuggest
    在 GitHub 上查看↗3,542
查看 React Autosuggest 的所有 30 个替代方案→