Skip to content
PluginStats

@vizejs/vite-plugin-musea weekly downloads statistics

By vizejs · npm · Vite plugins

Vite plugin for Musea - Component gallery for Vue components

View on npm Stale · Oct 17, 2026

@vizejs/vite-plugin-musea has 5,511 recorded weekly downloads on npm, a decrease of 16.7% over the past 30 days, ranking #1067 of 2,256 tracked listings.

Weekly downloads
5,511
Official API · Oct 17, 2026
7-day growth
-58.4%
-7.7K weekly downloads
30-day growth
-16.7%
-1.1K weekly downloads
90-day growth
+860%
+4.9K weekly downloads
Rank
#1067
Among tracked npm listings

About @vizejs/vite-plugin-musea

@vizejs/vite-plugin-musea

Vite plugin for Musea - Vue component gallery and documentation.

Installation

Install vp once from the Vite+ install guide, then add the package:

Usage

Run your Vite dev server and open the gallery route:

Musea middleware is intended for the local Vite dev server and trusted development networks. Do not expose /musea directly on the public internet unless it is protected by your own network controls or authentication layer.

Shared defaults live in vue.musea in your existing vite.config.*. With Vite+, retain your existing options and add Vue settings through the helper:

Direct musea() options override shared config. Pass preview-only options such as previewCss, previewSetup, tokensPath, theme, and storybookOutDir directly to the plugin.

Art File Format

defineArt(source, options) is a compiler macro. It declares the Vue component Musea should render and the metadata shown in the gallery. Prefer a relative component path string; the macro call is removed and Musea generates the component import. The Musea language server uses the same source for path completion, missing-file diagnostics, go-to-definition, and prop/slot inference.

The source may be a .vue, .ts, .tsx, .js, or .jsx file. For render-function components, Musea reads statically declared runtime props and emits for the analysis and props panel.

Vue 3.5.41 does not apply a component prop literally named proto. Retaining its raw editor value does not make it a rendered prop. Avoid this prop name; #8533 tracks explicit editor refusal and release acceptance.

TypeScript and Editor Setup

Add the client types once, usually in src/env.d.ts:

If your project type-checks .art.vue files with Volar or vue-tsc, include the extension in tsconfig.json:

Root state is variant-local by default, so each variant gets its own refs, computed values, and composable calls:

Use when variants intentionally share one setup instance.

Legacy metadata attributes are still supported:

| Attribute | Purpose |

| title | Display name in the gallery | | component | Relative source component path | | category | Sidebar grouping | | status | Optional status badge | | tags | Search and filtering tags | | action-events | Comma-separated events to capture | | capture-mousemove | Include mousemove in captured actions |

Enable inline art when examples should live inside the component file:

Use in an inline block to render the host component.

Preview Setup

Musea's preview scaffold styles are emitted in a low-priority cascade layer, so layered CSS from frameworks such as Tailwind v4 can still override them when loaded through previewCss.

Design Tokens

Expose a Style Dictionary-compatible token file in the gallery:

Tailwind v4 theme variables can also be used as the token source:

tokensPath reads tokens for the gallery and token APIs. Use previewCss separately when that CSS file should also be loaded inside component preview iframes.

Token previews are inferred from token type, path, and referenced token metadata. Spacing, opacity, radius/round, and z-index tokens render previews by default. Add custom rules when your token names use project-specific categories:

Commands

License

MIT

Description from the npm listing.

  • component-gallery
  • musea
  • storybook
  • vite
  • vite-plugin
  • vue

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@vizejs/vite-plugin-musea weekly downloads on npm, last 90 days: 5,511 weekly downloads as of Oct 17, 2026, +860% over 90 days.@vizejs/vite-plugin-museaWeekly downloads on npm · Last 90 days5,511downloads / week+860% over 90 days02K4K6K8K10K12K14K16KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
@vizejs/vite-plugin-musea weekly downloads on npm, last 90 days: 5,511 weekly downloads as of Oct 17, 2026, +860% over 90 days.

7/30/90-day growth

@vizejs/vite-plugin-musea weekly downloads growth on npm: -58.4% over 7 days, -16.7% over 30 days, +860% over 90 days.@vizejs/vite-plugin-museaWeekly downloads growth on npm5,511downloads / week now7-day growth-7,732 weekly downloads-58.4%30-day growth-1,105 weekly downloads-16.7%90-day growth+4,937 weekly downloads+860%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@vizejs/vite-plugin-musea weekly downloads growth on npm: -58.4% over 7 days, -16.7% over 30 days, +860% over 90 days.

Ranking history

@vizejs/vite-plugin-musea npm ranking history: currently #1067 (by weekly downloads).@vizejs/vite-plugin-museanpm ranking · by weekly downloads · Last 90 days#1067current rank#1063#1064#1065#1066#1067#1068#1069Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@vizejs/vite-plugin-musea npm ranking history: currently #1067 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 54, #7 (overall #1,067)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins250 listings · 13 pages · page 10, #9 (overall #189)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for @vizejs/vite-plugin-musea
Date (UTC)Weekly downloadsChange vs. previous
5,511-3.5K
8,985+315
8,670-1.7K
10,375-2.7K
13,0350
13,035-1.8K
14,811+1.6K
13,243+696
12,547-134
12,681+744
11,937+1.9K
10,075-364
10,439+1.6K
8,850—

Similar npm Vite plugins plugins

All 20 @vizejs/vite-plugin-musea alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@vizejs/vite-plugin-musea. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.