starwind-ui/starwind-ui
À propos
55 composants d’interface portables entre frameworks pour Astro, React, Vue et Svelte. Installez des composants Tailwind CSS accessibles sous forme de code source dont vous êtes propriétaire, avec le support d’un Runtime partagé et indépendant des frameworks.
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +5
- in 15 days
- +10
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
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, and Svelte 5 adapters today.
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, and Svelte 5 adapters.
- 🛠️ CLI-Powered — Add only what you need with a simple
npx starwind addcommand.
Looking for the main package? See starwind-ui/cli.
Get Started
Initialize an Astro or React project:
npx starwind@latest init
Then add the components you need:
npx starwind@latest add
Vue 3.5
Use Starwind in Vite Vue, Astro Vue, Nuxt 3 or 4, Laravel with Inertia Vue, or Quasar Vite SPA/SSR projects:
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. Report issues in the
Starwind UI issue tracker.
Svelte 5
Use Starwind in Vite with Svelte, SvelteKit, or Astro with Svelte:
npx starwind@latest init --framework svelte
Vue and Svelte provide the same 37 Primitive families and 55 portable Styled components as the other first-party adapters. The Styled Image component remains Astro-only. Starwind Pro setup works with Svelte.
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, or Svelte 5"]
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.
Explorer des projets similaires
Chargement…