{"name":"@docsearch/react","version":"5.1.1","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@docsearch/react@5.1.1","maintainers":[{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"lorrissaintgenez","email":"lorris.saint-genez@algolia.com"},{"name":"8bittitan","email":"PJankowski25@gmail.com"},{"name":"nyagudayev","email":"natan.yagudayev@algolia.com"},{"name":"dylantientcheu","email":"dylan.tientcheu@algolia.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"294ad0d0f5219b19da6461185faae4afe735fb55","tarball":"http://registry-npm.ywwl.com/@docsearch/react/download/@docsearch/react-5.1.1.tgz","fileCount":73,"integrity":"sha512-Awh49X+8YJc7nGND5bHBML83JT1khGW9sgCy5kSxTcMLSngNQp8z+l7YTEkyGB7ZkPrIrKRYLNQp2RDguYYGrA==","signatures":[{"sig":"MEYCIQC977bazWcpdBPSzvsq0DKX3hRKvbDPo9okEEXz5a5hSQIhAOkUXm3OiMCN4ySAGAZa6h4RkC9yQ43B2MlAw+EJkKaA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBDH3IBrfXFe/2HB7zp4ODWZRvl0ctpuJLwNM4YDUh0xAiBZQSKfObJ+YVXM9ZG83NcXFujBeSOB83aeMner6gwGMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4229055,"size":926141,"noattachment":false,"key":"/@docsearch/react/-/@docsearch/react-5.1.1.tgz"},"main":"./dist/esm/index.js","types":"./dist/esm/index.d.ts","unpkg":"dist/umd/index.js","module":"./dist/esm/index.js","source":"src/index.ts","exports":{".":"./dist/esm/index.js","./modal":"./dist/esm/modal.js","./style":"./style/index.js","./button":"./dist/esm/button.js","./version":"./dist/esm/version.js","./useTheme":"./dist/esm/useTheme.js","./docsearch":"./dist/esm/docsearch.js","./sidepanel":"./dist/esm/sidepanel.js","./askaiModal":"./dist/esm/askaiModal.js","./docsearchAi":"./dist/esm/docsearchAi.js","./style/askai":"./style/askai.js","./style/modal":"./style/modal.js","./style/button":"./style/button.js","./sidepanelPanel":"./dist/esm/sidepanelPanel.js","./sidepanelButton":"./dist/esm/sidepanelButton.js","./style/sidepanel":"./style/sidepanel.js","./style/variables":"./style/variables.js","./useDocSearchKeyboardEvents":"./dist/esm/useDocSearchKeyboardEvents.js"},"gitHead":"9eb5db9c93c75487929da8e11e1593684bd8d5a3","scripts":{"build":"tsdown","watch":"tsdown --watch"},"_npmUser":{"name":"CircleCI","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"circleci","oidcConfigId":"oidc:138836d4-23bd-4fce-b7dc-86c9e0ac5719"}},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git","directory":"packages/docsearch-react"},"_npmVersion":"11.13.0","description":"React package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"ai":"^6.0.256","zod":"^4.1.8","marked":"^16.3.0","@ai-sdk/react":"^3.0.259","algoliasearch":"^5.28.0","@base-ui/react":"^1.5.0","@docsearch/css":"5.1.1","@docsearch/core":"5.1.1","@algolia/autocomplete-core":"1.19.2"},"_hasShrinkwrap":false,"devDependencies":{"preact":"11.0.0-beta.0","tsdown":"catalog:dev","vitest":"3.0.2","typescript":"5.7.3","@docsearch/core":"5.1.1","@testing-library/react":"16.2.0","@testing-library/jest-dom":"6.6.3","@algolia/autocomplete-core":"1.19.2"},"peerDependencies":{"react":">= 16.8.0 < 20.0.0","react-dom":">= 16.8.0 < 20.0.0","@types/react":">= 16.8.0 < 20.0.0","search-insights":">= 1 < 3"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"@types/react":{"optional":true},"search-insights":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_5.1.1_1789750066788_0.05640348198527123","host":"s3://npm-registry-packages-npm-production"},"readme":"# @docsearch/react\n\nReact package for [DocSearch](http://docsearch.algolia.com/), the best search experience for docs.\n\n## Installation\n\n```bash\nnpm install @docsearch/react@5\n```\n\nIf you don’t want to use a package manager, you can use a standalone endpoint:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@docsearch/react@5\"></script>\n```\n\n## Get started\n\nDocSearch generates a fully accessible search box for you.\n\n```jsx App.js\nimport { DocSearch } from '@docsearch/react';\n\nimport '@docsearch/css';\n\nfunction App() {\n  return (\n    <DocSearch\n      appId=\"YOUR_APP_ID\"\n      indices={['YOUR_INDEX_NAME']}\n      apiKey=\"YOUR_SEARCH_API_KEY\"\n    />\n  );\n}\n\nexport default App;\n```\n\n## Documentation\n\n[Lazy-load the Sidepanel](https://docsearch.algolia.com/docs/packages/react/examples#lazy-load-the-sidepanel) with a static `SidepanelButton` import from `@docsearch/react/sidepanelButton` and a dynamic panel import from `@docsearch/react/sidepanelPanel`.\n\n[Read documentation →](https://docsearch.algolia.com/docs/packages/react/getting-started)\n","publish_time":1789750066880,"_cnpm_publish_time":1789750066880,"dist-tags":{"alpha":"3.0.0-alpha.50","beta":"5.0.0-beta.4","latest":"5.2.0","latest-v4":"4.7.1"}}