shadcn/ui components that ship as little JavaScript as possible.
Documentation · Components · Русская версия
State lives in native HTML (<details>, <dialog>, popover, radio inputs with :has()), motion in CSS (scroll-driven animations, View Transitions, @starting-style). A component becomes a client component only when there is no way around it, so your pages keep their PageSpeed score.
94 components, 12 effects and 12 hooks. Docs in English and Russian.
GooseUI is an official shadcn registry, so components install with the shadcn CLI:
npx shadcn@latest add @gooseui/buttonPrefer another package manager? Use pnpm dlx, yarn dlx or bunx --bun instead of npx. The code is copied into your project, there is no package to keep up to date.
| Principle | What it means |
|---|---|
| Server first | About 40% of the registry sends no JavaScript at all. The rest loads only the script it needs, and measure-js reports the weight of every item. |
| No runtime dependencies | Only react and cn. No Radix, no Motion, no icon packages: icons are inline SVG. |
| Baseline | Core behaviour relies on Baseline features. Newer CSS (anchor positioning, interestfor, corner-shape) is a progressive enhancement with a fallback. Every docs page shows a support table and checks your browser. |
| Works without JavaScript | Accordion, tabs, switch, hint, skeletons, marquee and the language switcher keep working with JavaScript disabled. |
| Theme tokens | Colors come from shadcn CSS variables, so dark mode and the theme customizer apply to everything. |
| Accessible | Keyboard support, focus rings, ARIA states and prefers-reduced-motion in every animated item. |
Every name links to its docs page with a live demo.
| Group | Items |
|---|---|
| Text | Glitch Text, Highlight Text, Rotating Text |
| Scroll | Reveal on Scroll, Scroll Word Reveal |
| Decor | Border Beam, Dashed Line, Dither Background, Mesh Gradient |
| Interaction | Click Sparks, Confetti, Theme Transition |
useCopyToClipboard, useDeferredInteraction, useFileDrop, useHorizontalWheel, useKeyboardFit, useKeyboardLayout, useNearViewport, useNotificationPermission, useNow, useScrollSpy, useScrollThreshold, useSoundEffects
Browse everything at gooseui.pro/docs.
pnpm install
pnpm dev # docs site on localhost:3000
pnpm registry:build # build public/r/*.json for the shadcn CLI
pnpm typecheck
pnpm lint # biome
node scripts/measure-js.mjs # client JS weight of every registry itemRegistry sources live in registry/gooseui/{ui,effects,hooks,lib,blocks}, docs pages in app/[locale]/(docs)/docs.
Built with Next.js 16, React 19, Tailwind CSS v4, next-intl and Biome.
Bug reports and pull requests are welcome. For a new component, follow the checklist in CLAUDE.md: registry item, docs page in English and Russian, navigation entry and a card preview. Open an issue first if the change is large.