</>PackageGraphPackageGraph

vaul

npmv1.1.2TypeScript

Drawer component for React.

Adopt with care

vaul is usable, with caveats. Last published 635 days ago. 11 releases in the last 2 years. Pulls in 25 transitive packages, about 955 KB installed (at least — some of the tree is still being crawled).

  • AAdoption: grade A, Excellent.

    24.4M downloads per week and 1 known dependents.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 635 days ago. 11 releases in the last 2 years.

  • CWeight: grade C, Fair — worth a look.

    Pulls in 25 transitive packages, about 955 KB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding vaul to a project.

1
Direct dependencies

Runtime packages this one declares itself.

25
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

955 KB
Install size

Unpacked size of this package plus its entire runtime tree.

4
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing vaul, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the vaul README.

import { Drawer } from 'vaul';

function MyComponent() {
  return (
    <Drawer.Root>
      <Drawer.Trigger>Open</Drawer.Trigger>
      <Drawer.Portal>
        <Drawer.Content>
          <Drawer.Title>Title</Drawer.Title>
        </Drawer.Content>
        <Drawer.Overlay />
      </Drawer.Portal>
    </Drawer.Root>
  );
Example truncated — see the full README.

vaul vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
vaulthis page24.4M1MIT1 year ago
react152.8M82MIT1 day ago
react-dom143.7M47MIT1 day ago
react-style-singleton59.1M2MIT1 day ago
reselect44M1MIT1 day ago
next40.6M0MIT1 day ago

Dependencies

Declared by vaul v1.1.2. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on vaul.

Relationship graph

Dependencies (left) and dependents (right) of vaul.

Frequently installed together

Release history

1 release in the last two years, typically about 5 days apart.

Recent versions of vaul
VersionPublishedSizeLicense
1.1.2latest1 year ago180 KBMIT
1.1.11 year ago180 KBMIT
1.1.01 year ago179 KBMIT
1.0.01 year ago181 KBMIT
0.9.91 year ago175 KBMIT
0.9.81 year ago175 KBMIT
0.9.71 year ago174 KBMIT
0.9.61 year ago173 KBMIT
0.9.51 year ago173 KBMIT
0.9.42 years ago156 KBMIT
0.9.32 years ago143 KBMIT
0.9.22 years ago155 KBMIT
0.9.12 years ago155 KBMIT
0.9.02 years ago248 KBMIT
0.8.12 years ago247 KBMIT

Overview

vaul is an npm package that drawer component for React. It is extremely widely used, with about 24.4M downloads per week and 1 known dependents in the graph. The latest version is 1.1.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need drawer component for React and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (24.4M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use vaul?

vaul is usable, with caveats. Last published 635 days ago. 11 releases in the last 2 years. Pulls in 25 transitive packages, about 955 KB installed (at least — some of the tree is still being crawled).

How do I install vaul?

Run `npm install vaul` to add vaul to your npm project.

How many dependencies does vaul have?

vaul declares 15 direct dependencies and pulls in 25 packages in total once its runtime tree is resolved totalling about 955 KB on disk.

What license is vaul released under?

vaul is distributed under the MIT license.

How popular is vaul?

vaul has approximately 24,366,525 downloads per week and 1 known dependent packages.

Is vaul still maintained?

The most recent release of vaul (v1.1.2) was published 1 year ago.

Does vaul run install scripts?

No. vaul does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.