starwind

Install and manage Starwind UI components in Astro, React, Vue (beta), and Svelte (beta) applications
22,190 752
Install
npm install starwind
Latest Version:3.4.0
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: webreaper

Starwind UI

npm + stars downloads follow

Astro-first, framework-portable UI components you can own.

Starwind UI gives you accessible, Tailwind CSS components with Starwind/shadcn-style ergonomics, backed by a portable Runtime that powers Astro, React, Vue 3.5 beta, and Svelte 5 beta adapters today.

Explore Components

Why Starwind?

  • 🎯 Own Your Code — Styled components live in your project, where you can understand and customize them.
  • ✨ Animated by Default — Smooth, polished animations out of the box with Tailwind CSS v4.
  • ♿ Accessible — Keyboard navigable and screen reader friendly. Built with a11y in mind.
  • 🚀 Portable Runtime — Shared DOM behavior with generated Astro, React, Vue 3.5 beta, and Svelte 5 beta adapters.
  • 🛠️ CLI-Powered — Add only what you need with a simple npx starwind add command.

Looking for the main package? See starwind-ui/cli.

Get Started

Initialize an Astro or React project with the stable release:

npx starwind@latest init

Then add the components you need:

npx starwind@latest add

Vue 3.5 beta

Try the public beta in Vite Vue, Astro Vue, Nuxt 3 or 4, Laravel with Inertia Vue, or Quasar Vite SPA/SSR projects:

npm install @starwind-ui/vue@beta vue@^3.5
npx starwind@latest init --framework vue

Vue adapters use idiomatic v-model arguments, matching update:* events, and normal detailed event listeners. The Styled Image component remains Astro-only. The Vue API can change during the 0.x series. Report beta feedback in the Starwind UI issue tracker.

Svelte 5 beta

Try the public beta in Vite with Svelte, SvelteKit, or Astro with Svelte:

npm install @starwind-ui/svelte@beta "svelte@>=5.29.0 <6"
npx starwind@latest init --framework svelte

The beta provides the same 36 Primitive families and 54 portable Styled components as the other first-party adapters. The Styled Image component remains Astro-only. Starwind Pro setup is not available for Svelte. The Svelte API can change during the 0.x series.

Runtime Architecture

Starwind components use a framework adapter backed by the shared, framework-neutral Runtime.

flowchart TD
  App["Your application"]
  Components["Starwind components you own<br/>Tailwind CSS + framework markup"]
  Adapter["Framework adapter<br/>Astro, React, Vue 3.5 beta, or Svelte 5 beta"]
  Runtime["Starwind Runtime<br/>shared accessible behavior"]
  Browser["Browser APIs and the DOM"]

  App --> Components
  Components --> Adapter
  Adapter --> Runtime
  Runtime --> Browser

See Portable Runtime for the current implementation details.

AI integration

Resources for AI:

Contributing

Please read the contributing guide.

License

Licensed under the MIT license.

Related Packages

astro-theme-toggle

Add a ripple-style theme toggle animation to your Astro project with ease

285,212 62
@libretexts/davis-vue

An a11y-first UI library for Vue

3,960 0
rizzo-css

A modern CSS design system with semantic theming, 14 themes, accessible componen...

11,599 1
@ravox-ui/cli

Add Ravox Kit components, blocks and themes to your project (React, Vue, Svelte...

628
ziko-wrapper

integrate zikojs elements within other ui framework like vue react solidjs svelt...

5,604 49

Version History

Version Released License
3.4.0 MIT
3.3.2 MIT
3.3.1 MIT
3.3.0 MIT
3.2.0 MIT
Pre-releases (11)
Version Released License
3.0.0-beta.8 MIT
3.0.0-beta.7 MIT
3.0.0-beta.6 MIT
3.0.0-beta.5 MIT
3.0.0-beta.4 MIT