# Export size

generated by [export-size](https://github.com/antfu/export-size)<br>
version: 9.1.0<br>
date: 2022-08-13T04:10:16.215Z

> Please note this is bundle size for each individual APIs (excluding Vue). Since we have a lot shared utilities underneath each function, importing two different functions does NOT necessarily mean the bundle size will be the sum of them (usually smaller). Depends on the bundler and minifier you use, the final result might vary, this list is for reference only.

<kbd>@vueuse/core</kbd>

| Function                        | min+gzipped |
| ------------------------------- | ----------- |
| `createFetch`                   | 3.08 kB     |
| `useDark`                       | 3.02 kB     |
| `useColorMode`                  | 2.86 kB     |
| `useFetch`                      | 2.85 kB     |
| `useMediaControls`              | 2.75 kB     |
| `useLocalStorage`               | 2.19 kB     |
| `useSessionStorage`             | 2.19 kB     |
| `useThrottledRefHistory`        | 2.17 kB     |
| `useStorage`                    | 2.16 kB     |
| `useDebouncedRefHistory`        | 2.12 kB     |
| `useUrlSearchParams`            | 1.98 kB     |
| `useInfiniteScroll`             | 1.96 kB     |
| `useParallax`                   | 1.96 kB     |
| `useTimeAgo`                    | 1.93 kB     |
| `useRefHistory`                 | 1.91 kB     |
| `useStorageAsync`               | 1.83 kB     |
| `useVirtualList`                | 1.76 kB     |
| `useGamepad`                    | 1.73 kB     |
| `useWebSocket`                  | 1.7 kB      |
| `useScroll`                     | 1.68 kB     |
| `useDraggable`                  | 1.68 kB     |
| `useTransition`                 | 1.66 kB     |
| `useDevicesList`                | 1.63 kB     |
| `useScreenSafeArea`             | 1.57 kB     |
| `useMagicKeys`                  | 1.57 kB     |
| `useMouseInElement`             | 1.56 kB     |
| `usePointer`                    | 1.55 kB     |
| `useElementBounding`            | 1.54 kB     |
| `useSwipe`                      | 1.53 kB     |
| `usePointerSwipe`               | 1.52 kB     |
| `useFullscreen`                 | 1.48 kB     |
| `useWebNotification`            | 1.48 kB     |
| `useIdle`                       | 1.43 kB     |
| `useClipboard`                  | 1.41 kB     |
| `useDevicePixelRatio`           | 1.41 kB     |
| `useTitle`                      | 1.41 kB     |
| `useBase64`                     | 1.39 kB     |
| `useBreakpoints`                | 1.38 kB     |
| `useTextDirection`              | 1.38 kB     |
| `useWebWorkerFn`                | 1.37 kB     |
| `useOnline`                     | 1.37 kB     |
| `useNetwork`                    | 1.35 kB     |
| `onClickOutside`                | 1.34 kB     |
| `useFileSystemAccess`           | 1.32 kB     |
| `usePermission`                 | 1.3 kB      |
| `useMouse`                      | 1.29 kB     |
| `useScriptTag`                  | 1.29 kB     |
| `useSpeechSynthesis`            | 1.28 kB     |
| `useWakeLock`                   | 1.27 kB     |
| `useElementSize`                | 1.27 kB     |
| `useBattery`                    | 1.27 kB     |
| `onKeyPressed`                  | 1.27 kB     |
| `onKeyUp`                       | 1.27 kB     |
| `onKeyDown`                     | 1.26 kB     |
| `useOffsetPagination`           | 1.26 kB     |
| `useSpeechRecognition`          | 1.25 kB     |
| `useScreenOrientation`          | 1.25 kB     |
| `onStartTyping`                 | 1.24 kB     |
| `useImage`                      | 1.24 kB     |
| `useVibrate`                    | 1.23 kB     |
| `useScrollLock`                 | 1.23 kB     |
| `useTimestamp`                  | 1.23 kB     |
| `useTextSelection`              | 1.22 kB     |
| `useElementVisibility`          | 1.22 kB     |
| `useDeviceMotion`               | 1.21 kB     |
| `useFocus`                      | 1.21 kB     |
| `useMousePressed`               | 1.21 kB     |
| `useEventSource`                | 1.21 kB     |
| `useNow`                        | 1.21 kB     |
| `useUserMedia`                  | 1.2 kB      |
| `onLongPress`                   | 1.2 kB      |
| `useDeviceOrientation`          | 1.2 kB      |
| `useResizeObserver`             | 1.19 kB     |
| `useBluetooth`                  | 1.18 kB     |
| `useMutationObserver`           | 1.18 kB     |
| `useBrowserLocation`            | 1.17 kB     |
| `useNavigatorLanguage`          | 1.17 kB     |
| `useDropZone`                   | 1.16 kB     |
| `useWindowSize`                 | 1.16 kB     |
| `onKeyStroke`                   | 1.16 kB     |
| `useFocusWithin`                | 1.14 kB     |
| `useMemory`                     | 1.14 kB     |
| `useIntersectionObserver`       | 1.14 kB     |
| `useManualRefHistory`           | 1.14 kB     |
| `useKeyModifier`                | 1.13 kB     |
| `usePageLeave`                  | 1.11 kB     |
| `usePreferredColorScheme`       | 1.1 kB      |
| `useGeolocation`                | 1.1 kB      |
| `useDisplayMedia`               | 1.1 kB      |
| `useWindowScroll`               | 1.1 kB      |
| `useVModels`                    | 1.09 kB     |
| `usePreferredReducedMotion`     | 1.09 kB     |
| `useStyleTag`                   | 1.09 kB     |
| `useActiveElement`              | 1.08 kB     |
| `useDocumentVisibility`         | 1.07 kB     |
| `useWindowFocus`                | 1.07 kB     |
| `usePreferredLanguages`         | 1.07 kB     |
| `useBroadcastChannel`           | 1.07 kB     |
| `useVModel`                     | 1.06 kB     |
| `usePreferredDark`              | 1.06 kB     |
| `useElementByPoint`             | 1.05 kB     |
| `useElementHover`               | 1.05 kB     |
| `useAsyncState`                 | 1.04 kB     |
| `useFps`                        | 1.04 kB     |
| `useStepper`                    | 1.03 kB     |
| `useMediaQuery`                 | 1.02 kB     |
| `useShare`                      | 1.02 kB     |
| `useAsyncQueue`                 | 1.02 kB     |
| `useTimeoutPoll`                | 1.02 kB     |
| `useMemoize`                    | 1 kB        |
| `useEventListener`              | 997 B       |
| `useCssVar`                     | 990 B       |
| `useConfirmDialog`              | 985 B       |
| `useFileDialog`                 | 978 B       |
| `asyncComputed`                 | 960 B       |
| `computedAsync`                 | 960 B       |
| `useEventBus`                   | 948 B       |
| `useEyeDropper`                 | 940 B       |
| `useCycleList`                  | 931 B       |
| `useFavicon`                    | 930 B       |
| `useRafFn`                      | 928 B       |
| `useWebWorker`                  | 927 B       |
| `mapGamepadToXbox360Controller` | 911 B       |
| `templateRef`                   | 905 B       |
| `useTextareaAutosize`           | 889 B       |
| `useObjectUrl`                  | 884 B       |
| `StorageSerializers`            | 874 B       |
| `useSupported`                  | 823 B       |
| `useCurrentElement`             | 813 B       |
| `computedInject`                | 803 B       |
| `DefaultMagicKeysAliasMap`      | 793 B       |
| `useTemplateRefsList`           | 793 B       |
| `useCached`                     | 792 B       |
| `unrefElement`                  | 783 B       |
| `breakpointsSematic`            | 780 B       |
| `useMounted`                    | 777 B       |
| `createUnrefFn`                 | 770 B       |
| `breakpointsAntDesign`          | 769 B       |
| `breakpointsBootstrapV5`        | 767 B       |
| `breakpointsTailwind`           | 763 B       |
| `breakpointsQuasar`             | 762 B       |
| `breakpointsVuetify`            | 754 B       |
| `getSSRHandler`                 | 745 B       |
| `setSSRHandler`                 | 743 B       |
| `defaultNavigator`              | 735 B       |
| `defaultLocation`               | 732 B       |
| `defaultDocument`               | 731 B       |
| `defaultWindow`                 | 731 B       |
| `SwipeDirection`                | 724 B       |
| `TransitionPresets`             | 723 B       |

<kbd>@vueuse/components</kbd>

| Function                    | min+gzipped |
| --------------------------- | ----------- |
| `VOnClickOutside`           | 7.75 kB     |
| `vOnClickOutside`           | 7.75 kB     |
| `vScroll`                   | 7.53 kB     |
| `vOnKeyStroke`              | 7.52 kB     |
| `vElementSize`              | 7.52 kB     |
| `vElementVisibility`        | 7.51 kB     |
| `vElementHover`             | 7.5 kB      |
| `VOnLongPress`              | 7.5 kB      |
| `vOnLongPress`              | 7.5 kB      |
| `vIntersectionObserver`     | 7.49 kB     |
| `vInfiniteScroll`           | 7.48 kB     |
| `UseDraggable`              | 7.48 kB     |
| `UseEyeDropper`             | 7.47 kB     |
| `UseFullscreen`             | 7.47 kB     |
| `UseDeviceOrientation`      | 7.46 kB     |
| `UseDevicesList`            | 7.46 kB     |
| `UseOnline`                 | 7.46 kB     |
| `UseGeolocation`            | 7.46 kB     |
| `UseMouseInElement`         | 7.46 kB     |
| `UseColorMode`              | 7.46 kB     |
| `UsePreferredDark`          | 7.46 kB     |
| `UseTimestamp`              | 7.46 kB     |
| `OnLongPress`               | 7.46 kB     |
| `UseNetwork`                | 7.46 kB     |
| `UseBrowserLocation`        | 7.46 kB     |
| `UseActiveElement`          | 7.46 kB     |
| `UseMousePressed`           | 7.46 kB     |
| `OnClickOutside`            | 7.45 kB     |
| `vScrollLock`               | 7.45 kB     |
| `UsePreferredLanguages`     | 7.45 kB     |
| `UseDocumentVisibility`     | 7.45 kB     |
| `UseElementVisibility`      | 7.45 kB     |
| `UseTimeAgo`                | 7.45 kB     |
| `UseWindowSize`             | 7.45 kB     |
| `UseBattery`                | 7.45 kB     |
| `UsePointer`                | 7.45 kB     |
| `UseObjectUrl`              | 7.45 kB     |
| `UsePageLeave`              | 7.45 kB     |
| `UseIdle`                   | 7.44 kB     |
| `UseMouse`                  | 7.44 kB     |
| `UseDark`                   | 7.44 kB     |
| `UseWindowFocus`            | 7.44 kB     |
| `UseVirtualList`            | 7.44 kB     |
| `UseScreenSafeArea`         | 7.42 kB     |
| `UseElementBounding`        | 7.42 kB     |
| `UseNow`                    | 7.41 kB     |
| `UsePreferredReducedMotion` | 7.41 kB     |
| `UseDevicePixelRatio`       | 7.41 kB     |
| `UseElementSize`            | 7.41 kB     |
| `UseImage`                  | 7.4 kB      |
| `UsePreferredColorScheme`   | 7.4 kB      |
| `UseDeviceMotion`           | 7.4 kB      |
| `UseOffsetPagination`       | 7.4 kB      |

<kbd>@vueuse/math</kbd>

| Function                  | min+gzipped |
| ------------------------- | ----------- |
| `useToFixed`              | 300 B       |
| `useProjection`           | 278 B       |
| `useMath`                 | 274 B       |
| `useAverage`              | 273 B       |
| `useSum`                  | 270 B       |
| `useMin`                  | 266 B       |
| `createProjection`        | 264 B       |
| `useMax`                  | 261 B       |
| `useClamp`                | 259 B       |
| `usePrecision`            | 246 B       |
| `createGenericProjection` | 210 B       |
| `and`                     | 204 B       |
| `logicAnd`                | 204 B       |
| `useTrunc`                | 204 B       |
| `useCeil`                 | 202 B       |
| `logicOr`                 | 201 B       |
| `or`                      | 201 B       |
| `useRound`                | 200 B       |
| `useAbs`                  | 199 B       |
| `useFloor`                | 199 B       |
| `logicNot`                | 192 B       |
| `not`                     | 192 B       |

<kbd>@vueuse/nuxt</kbd>

| Function  | min+gzipped |
| --------- | ----------- |
| `default` | 671 B       |

<kbd>@vueuse/router</kbd>

| Function         | min+gzipped |
| ---------------- | ----------- |
| `useRouteQuery`  | 461 B       |
| `useRouteParams` | 454 B       |
| `useRouteHash`   | 185 B       |

<kbd>@vueuse/integrations</kbd>

| Function            | min+gzipped |
| ------------------- | ----------- |
| `useAxios`          | 1.4 kB      |
| `useAsyncValidator` | 1.2 kB      |
| `useDrauu`          | 957 B       |
| `createCookies`     | 771 B       |
| `useCookies`        | 730 B       |
| `useFocusTrap`      | 681 B       |
| `useFuse`           | 490 B       |
| `useNProgress`      | 462 B       |
| `useChangeCase`     | 447 B       |
| `useJwt`            | 359 B       |
| `useQRCode`         | 339 B       |

<kbd>@vueuse/rxjs</kbd>

| Function          | min+gzipped |
| ----------------- | ----------- |
| `useSubject`      | 310 B       |
| `useObservable`   | 279 B       |
| `useSubscription` | 222 B       |
| `fromEvent`       | 210 B       |
| `from`            | 153 B       |
| `toObserver`      | 88 B        |

<kbd>@vueuse/firebase</kbd>

| Function       | min+gzipped |
| -------------- | ----------- |
| `useFirestore` | 506 B       |
| `useRTDB`      | 287 B       |
| `useAuth`      | 164 B       |

<kbd>@vueuse/electron</kbd>

| Function               | min+gzipped |
| ---------------------- | ----------- |
| `useIpcRenderer`       | 535 B       |
| `useZoomFactor`        | 393 B       |
| `useZoomLevel`         | 358 B       |
| `useIpcRendererOn`     | 336 B       |
| `useIpcRendererInvoke` | 303 B       |

<kbd>@vueuse/shared</kbd>

| Function                 | min+gzipped |
| ------------------------ | ----------- |
| `watchTriggerable`       | 987 B       |
| `throttledWatch`         | 824 B       |
| `watchThrottled`         | 824 B       |
| `debouncedWatch`         | 786 B       |
| `watchDebounced`         | 786 B       |
| `ignorableWatch`         | 763 B       |
| `watchIgnorable`         | 763 B       |
| `useDateFormat`          | 734 B       |
| `pausableWatch`          | 714 B       |
| `watchPausable`          | 714 B       |
| `until`                  | 653 B       |
| `useInterval`            | 638 B       |
| `useTimeout`             | 621 B       |
| `watchAtMost`            | 561 B       |
| `toRefs`                 | 525 B       |
| `controlledRef`          | 523 B       |
| `refWithControl`         | 516 B       |
| `computedEager`          | 468 B       |
| `eagerComputed`          | 468 B       |
| `formatDate`             | 458 B       |
| `refThrottled`           | 454 B       |
| `throttledRef`           | 454 B       |
| `useThrottle`            | 454 B       |
| `makeDestructurable`     | 430 B       |
| `watchWithFilter`        | 421 B       |
| `debouncedRef`           | 415 B       |
| `refDebounced`           | 415 B       |
| `useDebounce`            | 415 B       |
| `reactiveOmit`           | 407 B       |
| `useThrottleFn`          | 400 B       |
| `useIntervalFn`          | 394 B       |
| `reactifyObject`         | 374 B       |
| `useDebounceFn`          | 368 B       |
| `useTimeoutFn`           | 347 B       |
| `reactiveComputed`       | 342 B       |
| `normalizeDate`          | 332 B       |
| `computedWithControl`    | 330 B       |
| `controlledComputed`     | 330 B       |
| `extendRef`              | 330 B       |
| `watchArray`             | 330 B       |
| `toReactive`             | 320 B       |
| `autoResetRef`           | 315 B       |
| `refAutoReset`           | 315 B       |
| `syncRef`                | 315 B       |
| `throttleFilter`         | 313 B       |
| `debounceFilter`         | 289 B       |
| `createSharedComposable` | 287 B       |
| `useToggle`              | 285 B       |
| `useToNumber`            | 278 B       |
| `useCounter`             | 258 B       |
| `createReactiveFn`       | 250 B       |
| `reactify`               | 250 B       |
| `useArrayReduce`         | 246 B       |
| `increaseWithUnit`       | 239 B       |
| `syncRefs`               | 236 B       |
| `createEventHook`        | 232 B       |
| `pausableFilter`         | 224 B       |
| `useArrayFindIndex`      | 220 B       |
| `useArrayFind`           | 218 B       |
| `useLastChanged`         | 218 B       |
| `useArrayJoin`           | 215 B       |
| `useArraySome`           | 215 B       |
| `set`                    | 214 B       |
| `useArrayEvery`          | 210 B       |
| `useArrayFilter`         | 209 B       |
| `useArrayMap`            | 208 B       |
| `createSingletonPromise` | 203 B       |
| `reactivePick`           | 201 B       |
| `createInjectionState`   | 200 B       |
| `__onlyVue3`             | 199 B       |
| `directiveHooks`         | 198 B       |
| `createGlobalState`      | 197 B       |
| `useToString`            | 195 B       |
| `createFilterWrapper`    | 193 B       |
| `objectPick`             | 193 B       |
| `refDefault`             | 193 B       |
| `tryOnBeforeMount`       | 192 B       |
| `tryOnMounted`           | 191 B       |
| `promiseTimeout`         | 189 B       |
| `resolveRef`             | 188 B       |
| `watchOnce`              | 187 B       |
| `tryOnScopeDispose`      | 183 B       |
| `get`                    | 179 B       |
| `rand`                   | 177 B       |
| `resolveUnref`           | 176 B       |
| `isWindow`               | 175 B       |
| `whenever`               | 174 B       |
| `tryOnBeforeUnmount`     | 173 B       |
| `tryOnUnmounted`         | 169 B       |
| `clamp`                  | 165 B       |
| `containsProp`           | 165 B       |
| `isObject`               | 164 B       |
| `isDefined`              | 158 B       |
| `assert`                 | 155 B       |
| `isBoolean`              | 151 B       |
| `now`                    | 151 B       |
| `isFunction`             | 148 B       |
| `bypassFilter`           | 147 B       |
| `isString`               | 146 B       |
| `invoke`                 | 145 B       |
| `isNumber`               | 145 B       |
| `timestamp`              | 145 B       |
| `noop`                   | 144 B       |
| `isDef`                  | 143 B       |
| `identity`               | 138 B       |
| `isIOS`                  | 136 B       |
| `isClient`               | 133 B       |

