{"id":29031767,"url":"https://github.com/pdevito3/wispe","last_synced_at":"2026-01-20T17:31:05.768Z","repository":{"id":295529142,"uuid":"990351867","full_name":"pdevito3/wispe","owner":"pdevito3","description":"🧚 A headless autocomplete for React with a Tanstack inspired API and rich interactions ","archived":false,"fork":false,"pushed_at":"2025-06-20T21:25:37.000Z","size":515,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T21:30:55.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdevito3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-26T01:45:13.000Z","updated_at":"2025-06-20T21:25:40.000Z","dependencies_parsed_at":"2025-05-26T03:07:46.446Z","dependency_job_id":null,"html_url":"https://github.com/pdevito3/wispe","commit_stats":null,"previous_names":["pdevito3/wispe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pdevito3/wispe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdevito3%2Fwispe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdevito3%2Fwispe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdevito3%2Fwispe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdevito3%2Fwispe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdevito3","download_url":"https://codeload.github.com/pdevito3/wispe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdevito3%2Fwispe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261865042,"owners_count":23221867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-26T10:05:25.410Z","updated_at":"2025-06-26T10:05:25.979Z","avatar_url":"https://github.com/pdevito3.png","language":"TypeScript","readme":"# Wispe\n\nWispe is an autocomplete component for React that is unstyled (headless) and has a Tanstack inspired API with rich interactions.\n\n\u003e [!IMPORTANT]  \n\u003e While usable, Wispe is still currently in development and may still undergo some breaking changes as I near BETA and gather feedback. I invite you at to try it out and provide feedback to help shape the final product! If you choose to ship with this to production, I recommend locking your dependencies to a specific version and keeping up with the latest releases.\n\n## Documentation\n\nVisit https://wispe.dev/docs to view the documentation.\n\n## Usage\n\nTo start using the library, install it in your project:\n\n```bash\nnpm install @wispe/wispe-react\n```\n\nUse `useAutoComplete` to establish your incoming autocomplete state and use the return values to compose your actual component.\n\n```tsx\nimport { useAutoComplete } from \"@wispe/wispe-react\";\n\nexport interface User {\n  id: number;\n  name: string;\n}\n\nexport const users: User[] = [\n  { id: 1, name: \"John Doe\" },\n  { id: 2, name: \"Jane Smith\" },\n  { id: 3, name: \"Bob Johnson\" },\n  { id: 4, name: \"Alice Brown\" },\n  { id: 5, name: \"Charlie Wilson\" },\n];\n\nexport function BasicAutocomplete() {\n  const {\n    getRootProps,\n    getLabelProps,\n    getInputProps,\n    getListProps,\n    getItemProps,\n    getItemState,\n    getItems,\n    isOpen,\n  } = useAutoComplete({\n    items: users,\n    onFilterAsync: async ({ searchTerm }) =\u003e\n      users.filter((u) =\u003e\n        u.name.toLowerCase().includes(searchTerm.toLowerCase())\n      ),\n    itemToString: (u) =\u003e u.name,\n  });\n\n  return (\n    \u003c\u003e\n      \u003clabel {...getLabelProps()}\u003eSearch users\u003c/label\u003e\n      \u003cdiv {...getRootProps()}\u003e\n        \u003cinput {...getInputProps()} /\u003e\n\n        {isOpen \u0026\u0026 (\n          \u003cul {...getListProps()}\u003e\n            {getItems().map((user) =\u003e (\n              \u003cli key={user.id} {...getItemProps(user)}\u003e\n                \u003cspan\u003e\n                  {user.name} {getItemState(user).isSelected \u0026\u0026 \u003cspan\u003e✓\u003c/span\u003e}\n                \u003c/span\u003e\n              \u003c/li\u003e\n            ))}\n          \u003c/ul\u003e\n        )}\n      \u003c/div\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Feature Summary\n\n- 100% TypeScript (but not required)\n- Headless (100% customizable, Bring-your-own-UI)\n- Auto out of the box, opt-in controllable state\n- Keyboard Navigation (and overall a11y support)\n- Flexible Filtering Options\n- 1st Class Async Data Support\n- Built in Debounce Option\n- Single or Multi-Select\n- Tab Navigation\n- Grouping \u0026 Aggregation\n- Link Items\n- Action Items\n- Create New Items\n- Clearable\n- Animatable\n- Virtualizable\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdevito3%2Fwispe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdevito3%2Fwispe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdevito3%2Fwispe/lists"}