Export size
generated by export-size
version: 12.1.0
date: 2024-12-23T08:32:26.309Z
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
@vueuse/components
Function | min+gzipped |
---|---|
UseColorMode | 3.35 kB |
vInfiniteScroll | 3.12 kB |
vScroll | 2.49 kB |
UseScreenSafeArea | 2.3 kB |
UseImage | 2.24 kB |
vElementSize | 1.85 kB |
OnLongPress | 1.76 kB |
vElementVisibility | 1.68 kB |
VOnLongPress | 1.67 kB |
vOnLongPress | 1.67 kB |
VOnClickOutside | 1.67 kB |
vOnClickOutside | 1.67 kB |
vIntersectionObserver | 1.56 kB |
UseDraggable | 1.56 kB |
vOnKeyStroke | 1.46 kB |
vResizeObserver | 1.45 kB |
UseDark | 1.42 kB |
UseVirtualList | 1.41 kB |
UseOffsetPagination | 1.38 kB |
vElementHover | 1.36 kB |
UseElementSize | 1.32 kB |
UseTimeAgo | 1.31 kB |
UsePointer | 1.31 kB |
OnClickOutside | 1.31 kB |
UseMousePressed | 1.31 kB |
UseMouseInElement | 1.3 kB |
UseElementBounding | 1.29 kB |
UseIdle | 1.29 kB |
UseClipboard | 1.29 kB |
UseElementVisibility | 1.29 kB |
UseGeolocation | 1.29 kB |
UseFullscreen | 1.29 kB |
UsePointerLock | 1.29 kB |
UseDevicesList | 1.29 kB |
UseEyeDropper | 1.28 kB |
UseMouse | 1.28 kB |
UseTimestamp | 1.28 kB |
UseWindowSize | 1.27 kB |
UseNow | 1.27 kB |
UseObjectUrl | 1.27 kB |
UsePreferredReducedMotion | 1.27 kB |
UsePreferredColorScheme | 1.27 kB |
UsePreferredContrast | 1.26 kB |
UsePageLeave | 1.26 kB |
UseDevicePixelRatio | 1.26 kB |
UseDocumentVisibility | 1.26 kB |
UsePreferredDark | 1.26 kB |
UseWindowFocus | 1.26 kB |
UseActiveElement | 1.26 kB |
UseDeviceMotion | 1.26 kB |
UsePreferredLanguages | 1.26 kB |
UseOnline | 1.26 kB |
UseDeviceOrientation | 1.26 kB |
UseBattery | 1.26 kB |
UseBrowserLocation | 1.25 kB |
UseNetwork | 1.25 kB |
vScrollLock | 1.19 kB |
@vueuse/math
Function | min+gzipped |
---|---|
usePrecision | 263 B |
useClamp | 235 B |
useAverage | 219 B |
useProjection | 214 B |
useSum | 212 B |
useMin | 211 B |
useMax | 209 B |
createProjection | 201 B |
useMath | 193 B |
createGenericProjection | 156 B |
and | 149 B |
logicAnd | 149 B |
logicOr | 148 B |
or | 148 B |
useFloor | 146 B |
useAbs | 145 B |
useRound | 145 B |
useTrunc | 144 B |
useCeil | 143 B |
logicNot | 141 B |
not | 141 B |
@vueuse/nuxt
Function | min+gzipped |
---|---|
default | 801 B |
@vueuse/router
Function | min+gzipped |
---|---|
useRouteParams | 496 B |
useRouteQuery | 487 B |
useRouteHash | 380 B |
@vueuse/integrations
Function | min+gzipped |
---|---|
useAxios | 1.4 kB |
useAsyncValidator | 1.14 kB |
useDrauu | 766 B |
createCookies | 563 B |
useFocusTrap | 533 B |
useCookies | 525 B |
useIDBKeyval | 525 B |
useSortable | 494 B |
useFuse | 467 B |
useNProgress | 448 B |
useChangeCase | 429 B |
useQRCode | 401 B |
useJwt | 339 B |
moveArrayElement | 270 B |
@vueuse/rxjs
Function | min+gzipped |
---|---|
useExtractedObservable | 344 B |
watchExtractedObservable | 264 B |
useSubject | 257 B |
useObservable | 225 B |
fromEvent | 178 B |
useSubscription | 161 B |
from | 122 B |
toObserver | 73 B |
@vueuse/firebase
Function | min+gzipped |
---|---|
useFirestore | 653 B |
useRTDB | 257 B |
useAuth | 160 B |
@vueuse/electron
Function | min+gzipped |
---|---|
useIpcRenderer | 482 B |
useZoomFactor | 322 B |
useZoomLevel | 277 B |
useIpcRendererOn | 267 B |
useIpcRendererInvoke | 213 B |
@vueuse/shared
Function | min+gzipped |
---|---|
useDateFormat | 932 B |
formatDate | 699 B |
until | 631 B |
watchTriggerable | 618 B |
refThrottled | 556 B |
throttledRef | 556 B |
useThrottle | 556 B |
throttledWatch | 550 B |
watchThrottled | 550 B |
syncRef | 527 B |
useThrottleFn | 493 B |
reactivePick | 477 B |
debouncedWatch | 458 B |
watchDebounced | 458 B |
useInterval | 453 B |
debouncedRef | 440 B |
refDebounced | 440 B |
useDebounce | 440 B |
ignorableWatch | 433 B |
watchIgnorable | 433 B |
controlledRef | 413 B |
useTimeout | 409 B |
reactiveOmit | 403 B |
refWithControl | 402 B |
throttleFilter | 394 B |
useDebounceFn | 392 B |
useIntervalFn | 368 B |
createInjectionState | 364 B |
useArrayIncludes | 362 B |
pausableWatch | 347 B |
watchPausable | 347 B |
watchAtMost | 339 B |
reactifyObject | 324 B |
useTimeoutFn | 321 B |
toRefs | 309 B |
watchArray | 301 B |
debounceFilter | 299 B |
normalizeDate | 291 B |
reactiveComputed | 288 B |
toReactive | 269 B |
computedWithControl | 267 B |
controlledComputed | 267 B |
useArrayDifference | 256 B |
autoResetRef | 255 B |
refAutoReset | 255 B |
useCounter | 247 B |
createEventHook | 238 B |
isIOS | 238 B |
useArrayUnique | 236 B |
watchWithFilter | 233 B |
createSharedComposable | 232 B |
injectLocal | 229 B |
provideLocal | 227 B |
useToggle | 224 B |
useToNumber | 223 B |
useArrayFindLast | 216 B |
extendRef | 207 B |
useArrayReduce | 203 B |
makeDestructurable | 201 B |
increaseWithUnit | 199 B |
createReactiveFn | 198 B |
reactify | 198 B |
resolveRef | 193 B |
computedEager | 189 B |
eagerComputed | 189 B |
hyphenate | 187 B |
syncRefs | 185 B |
camelize | 184 B |
pausableFilter | 181 B |
toRef | 180 B |
whenever | 173 B |
createFilterWrapper | 172 B |
useLastChanged | 172 B |
tryOnBeforeMount | 163 B |
tryOnMounted | 162 B |
useArraySome | 161 B |
useArrayJoin | 160 B |
useArrayFind | 159 B |
createSingletonPromise | 157 B |
useArrayEvery | 157 B |
useArrayFindIndex | 157 B |
useArrayMap | 155 B |
createGlobalState | 152 B |
useArrayFilter | 151 B |
tryOnBeforeUnmount | 148 B |
objectOmit | 145 B |
useToString | 145 B |
tryOnUnmounted | 144 B |
objectPick | 141 B |
refDefault | 140 B |
watchOnce | 140 B |
promiseTimeout | 138 B |
isObject | 133 B |
getLifeCycleTarget | 128 B |
resolveUnref | 128 B |
set | 127 B |
tryOnScopeDispose | 125 B |
rand | 124 B |
assert | 120 B |
get | 117 B |
watchImmediate | 117 B |
watchDeep | 113 B |
containsProp | 111 B |
clamp | 109 B |
hasOwn | 107 B |
noop | 107 B |
now | 106 B |
toValue | 106 B |
isDefined | 103 B |
timestamp | 103 B |
notNullish | 102 B |
bypassFilter | 98 B |
isClient | 97 B |
isDef | 94 B |
objectEntries | 94 B |
invoke | 92 B |
isWorker | 84 B |
identity | 83 B |