{"componentChunkName":"component---src-templates-docs-tsx","path":"/getting-started/installation","result":{"data":{"site":{"siteMetadata":{"title":"Fluent-Windows"}},"doc":{"fields":{"slug":"/getting-started/installation"},"frontmatter":{"components":null,"title":"Installation","type":"getting-started","langKey":"en"},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/installation/installation.md","rawMarkdownBody":"\n# Installation\n\n<p class=\"description\">Install Fluent-Windows</p>\n\nFluent-Windows is available as an [npm package](https://www.npmjs.com/package/@fluent-windows/core).\n\n## Install\n\n```shell\n// with npm\nnpm install @fluent-windows/core\n\n// with yarn\nyarn add @fluent-windows/core\n```\n\nPlease note that [react](https://www.npmjs.com/package/react) >= 16.8.0 and [react-dom](https://www.npmjs.com/package/react-dom) >= 16.8.0 are peer dependencies.\n\n## SVG Icons\n\nIn order to use prebuilt SVG Fluent icons, you must first install the `@fluent-windows/icons` package:\n\n```shell\n// with npm\nnpm install @fluent-windows/icons\n\n// with yarn\nyarn add @fluent-windows/icons\n```\n\n## CDN\n\nTwo Universal Module Definition (UMD) files are provided:\n\n- one for development: https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.development.js\n- one for production: https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.production.min.js\n\n> ⚠️ Using this approach in production is discouraged though - the client has to download the entire library, regardless of which components are actually used, affecting performance and bandwidth utilization.\n \n","htmlAst":{"type":"root","children":[{"type":"element","tagName":"h1","properties":{},"children":[{"type":"text","value":"Installation"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["description"]},"children":[{"type":"text","value":"Install Fluent-Windows"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Fluent-Windows is available as an "},{"type":"element","tagName":"a","properties":{"href":"https://www.npmjs.com/package/@fluent-windows/core"},"children":[{"type":"text","value":"npm package"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"text","value":"Install"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-shell"]},"children":[{"type":"text","value":"// with npm\nnpm install @fluent-windows/core\n\n// with yarn\nyarn add @fluent-windows/core\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Please note that "},{"type":"element","tagName":"a","properties":{"href":"https://www.npmjs.com/package/react"},"children":[{"type":"text","value":"react"}]},{"type":"text","value":" >= 16.8.0 and "},{"type":"element","tagName":"a","properties":{"href":"https://www.npmjs.com/package/react-dom"},"children":[{"type":"text","value":"react-dom"}]},{"type":"text","value":" >= 16.8.0 are peer dependencies."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"text","value":"SVG Icons"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In order to use prebuilt SVG Fluent icons, you must first install the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"@fluent-windows/icons"}]},{"type":"text","value":" package:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-shell"]},"children":[{"type":"text","value":"// with npm\nnpm install @fluent-windows/icons\n\n// with yarn\nyarn add @fluent-windows/icons\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"text","value":"CDN"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Two Universal Module Definition (UMD) files are provided:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"one for development: "},{"type":"element","tagName":"a","properties":{"href":"https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.development.js"},"children":[{"type":"text","value":"https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.development.js"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"one for production: "},{"type":"element","tagName":"a","properties":{"href":"https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.production.min.js"},"children":[{"type":"text","value":"https://unpkg.com/@fluent-windows/core@latest/umd/fluent-windows.production.min.js"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"⚠️ Using this approach in production is discouraged though - the client has to download the entire library, regardless of which components are actually used, affecting performance and bandwidth utilization."}]},{"type":"text","value":"\n"}]}],"data":{"quirksMode":false}}},"api":null,"docs":{"edges":[{"node":{"fields":{"slug":"/zh/components/box"},"frontmatter":{"title":"Box（分组）","type":"Layout","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Box/Box.zh.md"}},{"node":{"fields":{"slug":"/components/box"},"frontmatter":{"title":"Box","type":"Layout","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Box/Box.md"}},{"node":{"fields":{"slug":"/components/button"},"frontmatter":{"title":"Button","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Button/Button.md"}},{"node":{"fields":{"slug":"/zh/components/button"},"frontmatter":{"title":"Button（按钮）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Button/Button.zh.md"}},{"node":{"fields":{"slug":"/zh/components/card"},"frontmatter":{"title":"Card（卡片）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Card/Card.zh.md"}},{"node":{"fields":{"slug":"/components/card"},"frontmatter":{"title":"Card","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Card/Card.md"}},{"node":{"fields":{"slug":"/components/checkbox"},"frontmatter":{"title":"Checkbox","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Checkbox/Checkbox.md"}},{"node":{"fields":{"slug":"/zh/components/checkbox"},"frontmatter":{"title":"Checkbox（复选框）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Checkbox/Checkbox.zh.md"}},{"node":{"fields":{"slug":"/components/color"},"frontmatter":{"title":"Color","type":"Others","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Color/Color.md"}},{"node":{"fields":{"slug":"/zh/components/color"},"frontmatter":{"title":"Color（颜色）","type":"Others","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Color/Color.zh.md"}},{"node":{"fields":{"slug":"/components/command"},"frontmatter":{"title":"Command","type":"Navigation","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Command/Command.md"}},{"node":{"fields":{"slug":"/zh/components/command"},"frontmatter":{"title":"Command（命令栏）","type":"Navigation","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Command/Command.zh.md"}},{"node":{"fields":{"slug":"/components/dialog"},"frontmatter":{"title":"Dialog","type":"Feedback","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Dialog/Dialog.md"}},{"node":{"fields":{"slug":"/zh/components/dialog"},"frontmatter":{"title":"Dialog（对话框）","type":"Feedback","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Dialog/Dialog.zh.md"}},{"node":{"fields":{"slug":"/components/drawer"},"frontmatter":{"title":"Drawer","type":"Navigation","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Drawer/Drawer.md"}},{"node":{"fields":{"slug":"/zh/components/drawer"},"frontmatter":{"title":"Drawer（抽屉）","type":"Navigation","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Drawer/Drawer.zh.md"}},{"node":{"fields":{"slug":"/components/form"},"frontmatter":{"title":"Form","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Form/Form.md"}},{"node":{"fields":{"slug":"/zh/components/form"},"frontmatter":{"title":"Form（表单）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Form/Form.zh.md"}},{"node":{"fields":{"slug":"/components/form-label"},"frontmatter":{"title":"FormLabel","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/FormLabel/FormLabel.md"}},{"node":{"fields":{"slug":"/zh/components/form-label"},"frontmatter":{"title":"FormLabel（标签）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/FormLabel/FormLabel.zh.md"}},{"node":{"fields":{"slug":"/components/icon"},"frontmatter":{"title":"Icon","type":"Others","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Icon/Icon.md"}},{"node":{"fields":{"slug":"/zh/components/icon"},"frontmatter":{"title":"Icon（图标）","type":"Others","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Icon/Icon.zh.md"}},{"node":{"fields":{"slug":"/components/icon-button"},"frontmatter":{"title":"IconButton","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/IconButton/IconButton.md"}},{"node":{"fields":{"slug":"/zh/components/icon-button"},"frontmatter":{"title":"IconButton（标签按钮）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/IconButton/IconButton.zh.md"}},{"node":{"fields":{"slug":"/components/input"},"frontmatter":{"title":"Input","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Input/Input.md"}},{"node":{"fields":{"slug":"/zh/components/input"},"frontmatter":{"title":"Input（输入框）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Input/Input.zh.md"}},{"node":{"fields":{"slug":"/components/item"},"frontmatter":{"title":"Item","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Item/Item.md"}},{"node":{"fields":{"slug":"/zh/components/item"},"frontmatter":{"title":"Item（项目）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Item/Item.zh.md"}},{"node":{"fields":{"slug":"/components/item-group"},"frontmatter":{"title":"ItemGroup","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/ItemGroup/ItemGroup.md"}},{"node":{"fields":{"slug":"/zh/components/item-group"},"frontmatter":{"title":"ItemGroup（项目组）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/ItemGroup/ItemGroup.zh.md"}},{"node":{"fields":{"slug":"/components/list"},"frontmatter":{"title":"List","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/List/List.md"}},{"node":{"fields":{"slug":"/zh/components/list"},"frontmatter":{"title":"List（列表）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/List/List.zh.md"}},{"node":{"fields":{"slug":"/zh/components/navigation"},"frontmatter":{"title":"Navigation（导航）","type":"Navigation","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Navigation/Navigation.zh.md"}},{"node":{"fields":{"slug":"/components/navigation"},"frontmatter":{"title":"Navigation","type":"Navigation","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Navigation/Navigation.md"}},{"node":{"fields":{"slug":"/components/portal"},"frontmatter":{"title":"Portal","type":"Utils","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Portal/Portal.md"}},{"node":{"fields":{"slug":"/zh/components/portal"},"frontmatter":{"title":"Portal（传送门）","type":"Utils","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Portal/Portal.zh.md"}},{"node":{"fields":{"slug":"/zh/components/progress"},"frontmatter":{"title":"Progress（进度）","type":"Feedback","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Progress/Progress.zh.md"}},{"node":{"fields":{"slug":"/components/progress"},"frontmatter":{"title":"Progress","type":"Feedback","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Progress/Progress.md"}},{"node":{"fields":{"slug":"/components/radio"},"frontmatter":{"title":"Radio","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Radio/Radio.md"}},{"node":{"fields":{"slug":"/components/select"},"frontmatter":{"title":"Select","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Select/Select.md"}},{"node":{"fields":{"slug":"/zh/components/radio"},"frontmatter":{"title":"Radio（单选框）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Radio/Radio.zh.md"}},{"node":{"fields":{"slug":"/zh/components/select"},"frontmatter":{"title":"Select（选择框）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Select/Select.zh.md"}},{"node":{"fields":{"slug":"/zh/components/spinner"},"frontmatter":{"title":"Spinner（环形进度）","type":"Feedback","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Spinner/Spinner.zh.md"}},{"node":{"fields":{"slug":"/components/spinner"},"frontmatter":{"title":"Spinner","type":"Feedback","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Spinner/Spinner.md"}},{"node":{"fields":{"slug":"/components/table"},"frontmatter":{"title":"Table","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Table/Table.md"}},{"node":{"fields":{"slug":"/zh/components/table"},"frontmatter":{"title":"Table（表格）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Table/Table.zh.md"}},{"node":{"fields":{"slug":"/components/tabs"},"frontmatter":{"title":"Tabs","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Tabs/Tabs.md"}},{"node":{"fields":{"slug":"/zh/components/tabs"},"frontmatter":{"title":"Tabs（选项卡）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Tabs/Tabs.zh.md"}},{"node":{"fields":{"slug":"/components/toast"},"frontmatter":{"title":"Toast","type":"Feedback","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Toast/Toast.md"}},{"node":{"fields":{"slug":"/zh/components/toast"},"frontmatter":{"title":"Toast（消息条）","type":"Feedback","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Toast/Toast.zh.md"}},{"node":{"fields":{"slug":"/components/toggle"},"frontmatter":{"title":"Toggle","type":"Inputs","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Toggle/Toggle.md"}},{"node":{"fields":{"slug":"/zh/components/toggle"},"frontmatter":{"title":"Toggle（开关）","type":"Inputs","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Toggle/Toggle.zh.md"}},{"node":{"fields":{"slug":"/components/tooltip"},"frontmatter":{"title":"Tooltip","type":"DataDisplay","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Tooltip/Tooltip.md"}},{"node":{"fields":{"slug":"/zh/components/tooltip"},"frontmatter":{"title":"Tooltip（提示框）","type":"DataDisplay","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Tooltip/Tooltip.zh.md"}},{"node":{"fields":{"slug":"/zh/components/transition"},"frontmatter":{"title":"Transition（过渡动画）","type":"Utils","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Transition/Transition.zh.md"}},{"node":{"fields":{"slug":"/components/transition"},"frontmatter":{"title":"Transition","type":"Utils","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Transition/Transition.md"}},{"node":{"fields":{"slug":"/components/typography"},"frontmatter":{"title":"Typography","type":"Layout","langKey":"en","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Typography/Typography.md"}},{"node":{"fields":{"slug":"/zh/components/typography"},"frontmatter":{"title":"Typography（排版）","type":"Layout","langKey":"zh","order":null},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/components/Typography/Typography.zh.md"}},{"node":{"fields":{"slug":"/getting-started/usage"},"frontmatter":{"title":"Usage","type":"getting-started","langKey":"en","order":2},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/Usage/Usage.md"}},{"node":{"fields":{"slug":"/getting-started/installation"},"frontmatter":{"title":"Installation","type":"getting-started","langKey":"en","order":1},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/installation/installation.md"}},{"node":{"fields":{"slug":"/zh/getting-started/usage"},"frontmatter":{"title":"Usage（使用）","type":"getting-started","langKey":"zh","order":2},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/Usage/Usage.zh.md"}},{"node":{"fields":{"slug":"/zh/getting-started/installation"},"frontmatter":{"title":"安装","type":"getting-started","langKey":"zh","order":1},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/installation/installation.zh.md"}},{"node":{"fields":{"slug":"/getting-started/minimizing-bundle-size"},"frontmatter":{"title":"Minimizing Bundle Size","type":"getting-started","langKey":"en","order":4},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/minimizing-bundle-size/minimizing-bundle-size.md"}},{"node":{"fields":{"slug":"/zh/getting-started/minimizing-bundle-size"},"frontmatter":{"title":"最小化打包大小","type":"getting-started","langKey":"zh","order":4},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/minimizing-bundle-size/minimizing-bundle-size.zh.md"}},{"node":{"fields":{"slug":"/getting-started/theme"},"frontmatter":{"title":"theme","type":"getting-started","langKey":"en","order":3},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/theme/theme.md"}},{"node":{"fields":{"slug":"/zh/getting-started/theme"},"frontmatter":{"title":"theme（主题）","type":"getting-started","langKey":"zh","order":3},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/getting-started/theme/theme.zh.md"}},{"node":{"fields":{"slug":"/hooks/guide"},"frontmatter":{"title":"guide","type":"hooks","langKey":"en","order":0},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/guide/guide.md"}},{"node":{"fields":{"slug":"/zh/hooks/guide"},"frontmatter":{"title":"guide（引导）","type":"hooks","langKey":"zh","order":0},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/guide/guide.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-action"},"frontmatter":{"title":"useAction","type":"hooks","langKey":"en","order":1},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useAction/useAction.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-action"},"frontmatter":{"title":"useAction（全局事件通信）","type":"hooks","langKey":"zh","order":1},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useAction/useAction.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-click"},"frontmatter":{"title":"useClick","type":"hooks","langKey":"en","order":2},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useClick/useClick.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-click"},"frontmatter":{"title":"useClick（订阅点击事件）","type":"hooks","langKey":"zh","order":2},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useClick/useClick.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-click-outside"},"frontmatter":{"title":"useClickOutside","type":"hooks","langKey":"en","order":3},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useClickOutside/useClickOutside.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-click-outside"},"frontmatter":{"title":"useClickOutside（订阅点击外部事件）","type":"hooks","langKey":"zh","order":3},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useClickOutside/useClickOutside.zh.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-focus"},"frontmatter":{"title":"useFocus（订阅焦点事件）","type":"hooks","langKey":"zh","order":4},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useFocus/useFocus.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-focus"},"frontmatter":{"title":"useFocus","type":"hooks","langKey":"en","order":4},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useFocus/useFocus.md"}},{"node":{"fields":{"slug":"/hooks/use-global"},"frontmatter":{"title":"useGlobal","type":"hooks","langKey":"en","order":5},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useGlobal/useGlobal.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-global"},"frontmatter":{"title":"useGlobal（获取全局 this）","type":"hooks","langKey":"zh","order":5},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useGlobal/useGlobal.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-hover"},"frontmatter":{"title":"useHover","type":"hooks","langKey":"en","order":6},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useHover/useHover.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-hover"},"frontmatter":{"title":"useHover（订阅悬停事件）","type":"hooks","langKey":"zh","order":6},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useHover/useHover.zh.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-media"},"frontmatter":{"title":"useMedia（跟踪 CSS 媒体查询）","type":"hooks","langKey":"zh","order":7},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useMedia/useMedia.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-media"},"frontmatter":{"title":"useMedia","type":"hooks","langKey":"en","order":7},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useMedia/useMedia.md"}},{"node":{"fields":{"slug":"/hooks/use-message"},"frontmatter":{"title":"useMessage","type":"hooks","langKey":"en","order":8},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useMessage/useMessage.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-message"},"frontmatter":{"title":"useMessage（函数式调用信息组件）","type":"hooks","langKey":"zh","order":8},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useMessage/useMessage.zh.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-popper"},"frontmatter":{"title":"usePopper（创建 popper）","type":"hooks","langKey":"zh","order":9},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/usePopper/usePopper.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-popper"},"frontmatter":{"title":"usePopper","type":"hooks","langKey":"en","order":9},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/usePopper/usePopper.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-reveal"},"frontmatter":{"title":"useReveal（创建 Reveal 效果）","type":"hooks","langKey":"zh","order":10},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useReveal/useReveal.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-reveal"},"frontmatter":{"title":"useReveal","type":"hooks","langKey":"en","order":10},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useReveal/useReveal.md"}},{"node":{"fields":{"slug":"/hooks/use-touch"},"frontmatter":{"title":"useTouch","type":"hooks","langKey":"en","order":11},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useTouch/useTouch.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-touch"},"frontmatter":{"title":"useTouch（订阅 touch 事件）","type":"hooks","langKey":"zh","order":11},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useTouch/useTouch.zh.md"}},{"node":{"fields":{"slug":"/hooks/use-update-effect"},"frontmatter":{"title":"useUpdateEffect","type":"hooks","langKey":"en","order":12},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useUpdateEffect/useUpdateEffect.md"}},{"node":{"fields":{"slug":"/zh/hooks/use-update-effect"},"frontmatter":{"title":"useUpdateEffect（componentDidUpdate）","type":"hooks","langKey":"zh","order":12},"fileAbsolutePath":"/zeit/2fe7b46c/src/docs/hooks/useUpdateEffect/useUpdateEffect.zh.md"}}]}},"pageContext":{"title":"Installation","langKey":"en"}}}