# vueuse/vueuse

Collection of essential Vue Composition Utilities for Vue 3

Repository: https://github.com/vueuse/vueuse
Canonical: https://ross.abutalabs.com/products/vueuse
Homepage: https://vueuse.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: vue, utility-library, composable, vue3, vueuse
Last push: 2026-08-20T02:36:22+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 2454, "days_push": 14, "days_rel": 36, "gap_med": 15.0, "n_releases_24m": 31}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 22331, forks 2930 (observed 2026-08-28T04:11:32.547005+00:00)

## What it is
VueUse is a collection of 200+ essential Vue 3 Composition API utility functions written in TypeScript. It provides tree-shakeable, SSR-friendly composables for state, browser APIs, sensors, network, animation, and more.

## Use cases
- reactively persist state in localStorage in a Vue 3 app
- track mouse position or element size reactively
- detect dark mode preference in Vue
- make elements draggable or create drop zones
- share global state across Vue components with composables
- track document visibility and element visibility reactively

## When to choose
- you are building a Vue 3 application and want battle-tested composables instead of writing your own
- you need tree-shakeable utilities so you only bundle what you use
- you want TypeScript-first utilities with strong typing and docs
- you need SSR-friendly reactivity helpers for Nuxt or server-rendered apps

## When to avoid
- you are using Vue 2 (use VueUse v11.x or another library)
- you are building with React, Svelte, or another non-Vue framework
- you need a full state management solution like Pinia rather than small composables

## Facets
- artifact type: library
- maturity: stable
- function: state-management, developer-tools, ui-components
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: vue, vue3, composables, composition-api, typescript, reactivity, tree-shakeable, ssr-friendly, nodejs, web-server

## Member repositories
- vueuse/vueuse (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.547005+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:21.254422+00:00, confidence not recorded.
  - readme: https://github.com/vueuse/vueuse (fetched 2026-08-28T04:11:32.547005+00:00, sha 8502d71a0f6c)
  - homepage: https://vueuse.org (fetched 2026-08-29T07:56:00.475108+00:00, sha 6326e5c369af)
  - site_page: https://vueuse.org/functions (fetched 2026-08-29T07:56:00.484489+00:00, sha 2d4a0e543b6c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
