VueUse

A tree-shakeable collection of essential Vue 3 composition utilities for state, sensors, and browser APIs.

Library
npm
v15.0.0
22,392 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
93 /100 Excellent
Development Activity 96
Maintenance 100
Community 76
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
91 /100 Excellent
Architecture 92
Code Quality 91
Innovation 95
Learning Curve 85

VueUse is an open-source collection of over 200 composable utility functions built on the Vue 3 Composition API. It wraps everyday browser and application concerns — reactive state persistence, element sizing, mouse and keyboard tracking, network status, clipboard access, and dozens more — into small, typed, tree-shakeable functions that snap directly into a component’s setup.

Written entirely in TypeScript and shipped SSR-friendly, VueUse lets teams reach for a battle-tested composable instead of hand-rolling reactive logic and effect cleanup for each feature. Optional add-ons extend the core into router, RxJS, Firebase, Electron, and Nuxt integrations.

What You Get

  • 200+ tree-shakeable composables covering state, elements, sensors, network, browser, and animation concerns
  • First-class TypeScript types with full TS Docs on every function
  • SSR-friendly implementations that degrade safely on the server
  • Optional add-ons for Vue Router, RxJS, Firebase, Electron, and a dedicated Nuxt module
  • Interactive documentation and live demos at vueuse.org, plus CDN builds for no-bundler usage

Common Use Cases

  • Persisting reactive state to localStorage or sessionStorage with useStorage
  • Tracking pointer, scroll, resize, and intersection state without manual event listeners
  • Reading device and browser capabilities such as battery, clipboard, geolocation, and dark-mode preference
  • Debouncing and throttling reactive values and callbacks
  • Building responsive UI logic with breakpoint and element-size composables

Under The Hood

Architecture — VueUse is a pnpm/turbo monorepo whose @vueuse/core package is organized one directory per composable (134+ folders such as useMouse, useStorage, useBreakpoints), each re-exported from a flat packages/core/index.ts. Core builds on two internal packages — @vueuse/shared (reactivity primitives and utility helpers) and @vueuse/metadata (generated function metadata) — while optional add-ons (router, rxjs, firebase, electron, nuxt, integrations) live as sibling packages so the core stays dependency-light. This one-function-per-module layout is what makes the library fully tree-shakeable.

Tech Stack — Written ~86% in TypeScript with Vue single-file components for demos, targeting Vue 3.5+ as a peer dependency. It is bundled with tsdown, linted via a flat eslint.config.js, styled in demos with UnoCSS, tested with Vitest, and orchestrated across the workspace by Turbo. CDN IIFE builds (index.iife.min.js) are published for no-bundler usage.

Code Quality — Test coverage is strong and colocated: roughly 121 *.test.ts files sit beside the 134 composables, so most public functions ship with unit tests. Consistent naming (use*/on*), per-function README files, and a _configurable.ts convention for shared options give the codebase a uniform, self-documenting shape.

API Design — The developer experience is a standout: every utility is a small composable that returns reactive refs, cleans up its own effects on scope disposal, and accepts a consistent configurable-options object. Full TypeScript inference, TS Docs on the public surface, and the interactive vueuse.org docs with live demos keep boilerplate near zero — a feature is typically one import and one call.

Used by 58 apps in this directory

PHP
58%
AGPL 3.0

Nextcloud Server

Collaboration · File Storage

37,265

Your own private cloud: self-hosted file sync, collaboration, and communication with no vendor lock-in.

View details
95
Repo Health
77
Technical
81
Dependency
Built with
PHP 58%
JavaScript 32%
Updated 5 days ago
TypeScript
51%
AGPL 3.0

Sink

Analytics · Bookmarks Archiving

7,231

Serverless link shortener with real-time analytics, powered by Cloudflare

View details
84
Repo Health
80
Technical
0
Dependency
Built with
TypeScript 51%
Vue 47%
Updated 1 months ago
TypeScript
51%
AGPL 3.0

Sink

Analytics · Bookmarks Archiving

7,231

Serverless link shortener with real-time analytics, powered by Cloudflare

View details
84
Repo Health
80
Technical
0
Dependency
Built with
TypeScript 51%
Vue 47%
Updated 1 months ago
PHP
47%
AGPL 3.0

solidtime

Invoicing Finance · Productivity

9,027

Modern open-source time tracker for freelancers and agencies with invoicing, multi-org support, and Toggl/Clockify migration built in.

View details
84
Repo Health
81
Technical
67
Dependency
Built with
PHP 47%
TypeScript 28%
Vue 22%
Updated 1 weeks ago
PHP
47%
AGPL 3.0

solidtime

Invoicing Finance · Productivity

9,027

Modern open-source time tracker for freelancers and agencies with invoicing, multi-org support, and Toggl/Clockify migration built in.

View details
84
Repo Health
81
Technical
67
Dependency
Built with
PHP 47%
TypeScript 28%
Vue 22%
Updated 1 weeks ago
TypeScript
72%
Apache 2.0

Supabase

Authentication · Databases · Developer Tools

113,827

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
62
Dependency
Built with
TypeScript 72%
MDX 26%
Updated 5 days ago
TypeScript
67%
Other

TaskView

Productivity · Project Management

1,367

Self-hosted project and task management platform for software teams, with Kanban boards, sprints, time tracking, GitHub/GitLab integrations, and an MCP server for AI assistants.

View details
78
Repo Health
77
Technical
68
Dependency
Built with
TypeScript 67%
Vue 21%
Updated 1 weeks ago
TypeScript
67%
Other

TaskView

Productivity · Project Management

1,367

Self-hosted project and task management platform for software teams, with Kanban boards, sprints, time tracking, GitHub/GitLab integrations, and an MCP server for AI assistants.

View details
78
Repo Health
77
Technical
68
Dependency
Built with
TypeScript 67%
Vue 21%
Updated 1 weeks ago
JavaScript
82%
MIT

Unlighthouse

Developer Tools

4,904

An open-source CLI that scans your entire website with Google Lighthouse, using smart sampling and a modern dashboard UI to audit every page instead of one URL at a time.

View details
84
Repo Health
70
Technical
79
Dependency
Built with
JavaScript 82%
TypeScript 13%
Updated 6 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers