Skip to content
项目

关于

React component library, headless primitives, hooks, variants, and developer tooling for the Gentleduck design system.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

gentleduck/ui

@gentleduck/ui

React component library, headless primitives, hooks, variants, and developer tooling for the Gentleduck design system.

MIT - Changelog - Contributing - Docs

registry-ui primitives cli MIT


Install

bunx @gentleduck/cli init
bunx @gentleduck/cli add button dialog calendar

Quick start

import { Button } from '@/components/ui/button'

export default function App() {
  return <Button variant="default">Quack</Button>
}

Workspace

Path Package Role
packages/registry-ui @gentleduck/registry-ui Styled Tailwind components
packages/duck-primitives @gentleduck/primitives Headless a11y-first primitives
packages/duck-variants @gentleduck/variants Type-safe cva() variant system
packages/duck-motion @gentleduck/motion Motion primitives + reduced motion
packages/duck-hooks @gentleduck/hooks React utility hooks
packages/duck-libs @gentleduck/libs cn() + small utilities
packages/duck-lazy @gentleduck/lazy Lazy-loading helpers
packages/duck-calendar @gentleduck/calendar Headless calendar engine
packages/duck-vim @gentleduck/vim Keyboard command engine
packages/duck-query @gentleduck/query Atom + query primitives
packages/duck-ttest @gentleduck/ttest Type-level testing utilities
packages/duck-gen @gentleduck/gen Codegen helpers
packages/duck-cli @gentleduck/cli Project scaffolding + add CLI
packages/duck-docs @gentleduck/docs Shared docs app kit
packages/duck-registry-build @gentleduck/registry-build Component registry build engine
packages/registers @gentleduck/registers Registry schema + types

Private docs-only: registry-blocks, registry-examples, registry-internals. WIP / deprecated lives under packages/wip/ and packages/deprecated/.

Apps

Path Role
apps/duck Docs site at gentleduck.org/duck-ui

Templates

Path Stack
templates/acme Next.js monorepo starter wired to the registry

Build

bun install
bunx turbo run build --filter='./packages/*'
bunx turbo run test --filter='./packages/*'
bunx turbo run check-types --filter='./packages/*'

Docs

Contributing

PR checklist + style notes in CONTRIBUTING.md. Security: SECURITY.md. Behaviour: CODE_OF_CONDUCT.md.

License

MIT. See LICENSE.

探索相关项目

加载中…