Proyek
Tentang
Menu ⌘K yang sempurna
Pengembangan web dan aplikasiYang dapat Anda lakukan
- Headless + composable: Bring your own UI
- Accessible: WAI-ARIA compliant
- Lightweight: < 6KB min+gzip (core)
- Framework-agnostic: Works everywhere
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
kmenu
Headless, accessible, framework-agnostic command menu component.
About
This is the monorepo for kmenu, a tiny package for building fast, accessible command palettes (⌘K menus). It contains the core headless library and a React adapter, plus the main website at kmenu.dev.
Packages
- core:
kmenu— headless engine with zero runtime dependencies. Seepackages/core. - react:
@kmenu/react— idiomatic React components and hooks. Seepackages/react.
Apps
- web: official websiet (
apps/web).
Features
- Headless + composable: Bring your own UI
- Accessible: WAI-ARIA compliant
- Lightweight: < 6KB min+gzip (core)
- Framework-agnostic: Works everywhere
- Zero dependencies: No runtime deps in core
Install
Core only:
npm install kmenu
# or
pnpm add kmenu
# or
bun add kmenu
React adapter:
npm install kmenu @kmenu/react
# or
pnpm add kmenu @kmenu/react
# or
bun add kmenu @kmenu/react
Monorepo development
Requirements: Node >= 18.
git clone https://github.com/haaarshsingh/kmenu
cd kmenu
bun install # or npm install / pnpm install
# develop example app and packages
bun run dev
# build all packages/apps
bun run build
# type-check, lint, and test
bun run check-types
bun run lint
bun run test
Scripts are powered by Turborepo and run across workspaces. See package.json and turbo.json for details.
Built by Harsh Singh
Jelajahi proyek terkait
Memuat…