npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kldhsh123/winui-vue

v0.1.1

Published

Windows 11 / WinUI 3 styled Vue 3 components — tokens extracted from microsoft-ui-xaml

Readme

winui-vue

A Vue component library inspired by WinUI 3 and Windows 11 design language.

This project provides web-compatible design tokens and Vue components based on the visual specifications and resources available in the microsoft-ui-xaml project.

It aims to closely reproduce the Windows 11 Fluent 2 experience while adapting platform-specific features for the web.

Component usage → USAGE.md — installation, theming, and API documentation for all 25 components with examples.

Values Windows supplies at runtime

These are referenced by the theme dictionaries but defined nowhere in the repo, because the OS provides them. src/tokens/os-colors.css holds the substitutes.

  • Accent ramp (7 keys): SystemAccentColor and Light1/2/3, Dark1/2/3. Windows derives the ramp from the user's accent colour.
  • Forced-colors system colours (8 keys): SystemColorWindowColor, SystemColorWindowTextColor, SystemColorButtonFaceColor, SystemColorButtonTextColor, SystemColorHighlightColor, SystemColorHighlightTextColor, SystemColorGrayTextColor, SystemColorHotlightColor. Under forced-colors: active these map to CSS system colour keywords (Canvas, ButtonFace, Highlight, …), which is the correct web equivalent of the HighContrast theme.

scripts/os-values.json supplies the concrete defaults and the CSS mapping; if absent, the accent ramp falls back to a single placeholder blue and the forced-colors keys to CanvasText.

Effects with no CSS equivalent

  • Acrylic / Mica are compositor effects (backdrop blur + noise + luminosity blend). 45 AcrylicBrush tokens are approximated by tint colour × tint opacity; a component that wants the real look adds backdrop-filter: blur() on top.
  • ControlElevationBorderBrush is a 1px gradient stroke that is brighter on one edge. It becomes a linear-gradient in a 3px absolute span, applied via border-image.
  • Reveal (the old pointer-following highlight) is dead in Fluent 2; the *Reveal* tokens are retained for completeness but map to flat fills.

Fonts

WinUI uses XamlAutoFontFamily, resolved by the OS to Segoe UI Variable. This becomes var(--winui-font-family-base), defaulting to "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif. Non-Windows users will not have it — ship a webfont or accept the fallback.

Icon glyphs are Segoe Fluent Icons code points (SymbolThemeFontFamily). 23 glyph tokens are emitted as quoted characters usable in content:. The font is not redistributable; substitute an open icon set, or Fluent UI System Icons as SVG.