Export size

generated by export-size
version: 5.0.0
date: 2021-06-06T05:06:13.122Z

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.

@vueuse/core

Functionmin+gzipped
useMediaControls2 KB
useDark1.39 KB
createFetch1.36 KB
useTimeAgo1.24 KB
useFetch1.21 KB
useRefHistory1.19 KB
useParallax1.18 KB
useUrlSearchParams1.07 KB
useTransition1.02 KB
useSessionStorage1 KB
useLocalStorage1 KB
useStorage998 B
useDevicesList920 B
useSwipe884 B
useMouseInElement881 B
usePointerSwipe828 B
useWebWorkerFn788 B
useMagicKeys787 B
useWebSocket787 B
useIdle756 B
useFullscreen753 B
useTitle712 B
useClipboard711 B
useElementBounding683 B
useDevicePixelRatio663 B
useScriptTag646 B
useOnline636 B
useNetwork624 B
useElementSize623 B
usePermission616 B
onStartTyping600 B
useMousePressed591 B
useBreakpoints590 B
useEventSource581 B
useElementVisibility578 B
useDeviceMotion566 B
useMouse563 B
useBattery561 B
useUserMedia552 B
useResizeObserver550 B
useManualRefHistory549 B
useMutationObserver548 B
onKeyPressed532 B
onKeyDown529 B
useBrowserLocation527 B
useSpeechRecognition527 B
onKeyUp526 B
useTimestamp508 B
onClickOutside500 B
onKeyStroke495 B
useDeviceOrientation495 B
useNow486 B
usePageLeave473 B
useGeolocation470 B
useIntersectionObserver470 B
useWindowSize466 B
useWindowScroll456 B
useVModels449 B
useActiveElement448 B
useDocumentVisibility439 B
usePreferredLanguages432 B
useVModel411 B
usePreferredColorScheme391 B
useAsyncState381 B
useCssVar381 B
useEventListener358 B
TransitionPresets356 B
useWebWorker355 B
usePreferredDark350 B
useFavicon338 B
asyncComputed334 B
useRafFn326 B
useMediaQuery318 B
useShare292 B
templateRef272 B
createGlobalState269 B
toRefs227 B
autoResetRef218 B
breakpointsSematic217 B
unrefElement200 B
DefaultMagicKeysAliasMap196 B
breakpointsAntDesign169 B
breakpointsBootstrapV5161 B
breakpointsTailwind161 B
breakpointsVuetify154 B
SwipeDirection115 B
createEventHook91 B
createSingletonPromise91 B
debounceFilter90 B
debouncedWatch90 B
ignorableWatch90 B
throttleFilter90 B
pausableFilter89 B
pausableWatch89 B
useIntervalFn89 B
controlledComputed88 B
createFilterWrapper88 B
reactivePick88 B
useTimeoutFn88 B
containsProp87 B
isFunction86 B
reactifyObject86 B
useInterval86 B
controlledRef85 B
useToggle85 B
extendRef84 B
increaseWithUnit84 B
isClient84 B
reactify84 B
whenever84 B
biSyncRef83 B
makeDestructurable83 B
promiseTimeout83 B
syncRef83 B
throttledWatch83 B
tryOnMounted83 B
useCounter83 B
useTimeout83 B
watchWithFilter83 B
assert82 B
invoke82 B
useLastChanged82 B
clamp81 B
tryOnUnmounted81 B
useThrottleFn81 B
bypassFilter80 B
identity80 B
noop80 B
timestamp80 B
until80 B
useDebounceFn80 B
and79 B
get79 B
isBoolean79 B
isWindow79 B
not79 B
now79 B
set79 B
useDebounce79 B
or78 B
rand78 B
isNumber77 B
isObject77 B
isString77 B
useThrottle77 B
isDef76 B

@vueuse/router

Functionmin+gzipped
useRouteQuery229 B
useRouteHash194 B

@vueuse/integrations

Functionmin+gzipped
useFocusTrap627 B
createCookies565 B
useCookies531 B
useAxios435 B
useNProgress406 B
useJwt292 B
useQRCode270 B

@vueuse/rxjs

Functionmin+gzipped
fromEvent190 B
useObservable160 B
from133 B
useSubscription129 B
toObserver88 B

@vueuse/firebase

Functionmin+gzipped
useFirestore364 B
useRTDB182 B
useAuth163 B

@vueuse/electron

Functionmin+gzipped
useIpcRenderer472 B
useIpcRendererOn244 B
useIpcRendererInvoke232 B

@vueuse/shared

Functionmin+gzipped
ignorableWatch530 B
throttledWatch478 B
until455 B
controlledRef448 B
pausableWatch441 B
debouncedWatch421 B
useTimeout337 B
watchWithFilter334 B
useInterval312 B
useThrottle310 B
useThrottleFn284 B
useTimeoutFn264 B
useIntervalFn254 B
extendRef251 B
useDebounce245 B
reactifyObject243 B
useDebounceFn200 B
makeDestructurable183 B
throttleFilter181 B
increaseWithUnit176 B
controlledComputed174 B
useLastChanged155 B
createEventHook153 B
syncRef149 B
pausableFilter148 B
useCounter139 B
biSyncRef135 B
set134 B
createSingletonPromise122 B
useToggle120 B
debounceFilter119 B
reactify111 B
tryOnMounted109 B
createFilterWrapper108 B
isWindow106 B
reactivePick106 B
promiseTimeout105 B
and97 B
rand95 B
or94 B
isObject89 B
clamp87 B
tryOnUnmounted85 B
not84 B
whenever83 B
containsProp80 B
get80 B
assert78 B
isBoolean74 B
bypassFilter69 B
isClient68 B
isFunction68 B
isNumber67 B
isString67 B
identity66 B
timestamp65 B
invoke63 B
isDef62 B
now61 B
noop56 B