项目
在 GitHub 查看
kanakkholwal/baby-ui
关于
Animated, accessible, and customizable components for React and Svelte.
网站与应用开发可以做什么
- 240+ components, two ports. Each one is built once from a shared spec and shipped as a hand-written React port and Svelte port: same props, same motion, same accessibility.
- A shadcn drop-in. The CLI copies source into your project; part names, data-slots and variant/size props match shadcn/ui and shadcn-svelte.
- Accessible by construction. Interactive parts sit on Base UI (React) and bits-ui (Svelte), the primitives shadcn itself uses.
- Motion that answers the hand. Presses squish, popovers zoom from their trigger, panels grow instead of popping. All CSS, all tokens, all honouring reduced motion.
实测星标增长
- 24小时
- 0
- 7天
- +7
- 15天
- +9
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Animated, accessible components for React and Svelte.
One spec, two real ports, source you own.
Site · Docs · Components · Apache-2.0
Features
- 240+ components, two ports. Each one is built once from a shared spec and shipped as a hand-written React port and Svelte port: same props, same motion, same accessibility.
- A shadcn drop-in. The CLI copies source into your project; part names,
data-slots andvariant/sizeprops match shadcn/ui and shadcn-svelte. - Accessible by construction. Interactive parts sit on Base UI (React) and bits-ui (Svelte), the primitives shadcn itself uses.
- Motion that answers the hand. Presses squish, popovers zoom from their trigger, panels grow instead of popping. All CSS, all tokens, all honouring reduced motion.
- Your theme drives it. Components read CSS variables and never name a colour.
- More than primitives. Charts on d3 and SVG, blocks, text effects, backgrounds, agent UI, OG images and emails.
Quick start
In a React or Svelte project with Tailwind CSS v4:
npx @baby-ui/cli init
npx @baby-ui/cli add button
Already on shadcn? Skip init. The installation guide
covers a fresh project and the stock shadcn CLIs, and the CLI guide
covers diff, update, repair and undo.
Contributing
Setup, the dev loop and the checks are in CONTRIBUTING.md.
Star History
License
Apache-2.0, see LICENSE. Ported components credit their sources in
THIRD_PARTY_LICENSES.md.
探索相关项目
加载中…