Repository navigation
Release v0.0.0
Kanso UI Release Notes
v0.0.0 — Initial Release 🎉
Release Date: June 9, 2026
Status: Alpha (Foundation Release)
Overview
Welcome to Kanso UI — a thoughtfully designed, copy-paste React component library inspired by Japanese minimalism and the principle of Kanso (簡素): simplicity and elegance.
This inaugural release establishes the foundation for a modern, accessible component library with a focus on:
- Simplicity — fewer lines, sensible defaults, minimal abstraction
- Accessibility — keyboard navigation, ARIA labels, semantic HTML
- Developer Experience — type-safe, well-documented, easy to extend
- Performance — server-renderable, optimized animations, CSS-first approach
✨ What's New
📚 Documentation Infrastructure
A fully-featured component documentation site that embraces copy-paste simplicity:
- Dynamic component pages that auto-generate from a central registry
- Live interactive previews with dark mode support
- Copy-paste workflow — browse, preview, download source code with one click
- Installation guides with step-by-step instructions
- Props documentation with searchable filters and TypeScript types
- Mobile-responsive design — perfect on 375px to 1440px+ screens
- Full keyboard navigation with accessible drawer menu
- Dark mode support across all documentation pages
Documentation Components Included
- CodeBlock — Syntax-highlighted code display with Shiki, copy button, collapsible mode
- TerminalBlock — Compact terminal-style blocks for install commands
- Component Demos — Live, interactive component previews
🎨 Kanso-Branded Components (Initial Release)
Three carefully crafted, production-ready components to showcase the library:
1. Magnetic Button (magnetic-button)
A button that follows your cursor with a smooth, spring-physics animation.
Features:
- Cursor-following magnetic effect with customizable strength
- Framer Motion powered for 60fps smoothness
- Keyboard accessible with clear focus indicators
- TypeScript props:
magneticStrength,springConfig,children
Use Case: Premium UI interactions, call-to-action buttons, interactive landing pages
2. Shimmer Border (shimmer-border)
A container component with an animated shimmer effect that slides across the border.
Features:
- Pure CSS animations for exceptional performance
- Customizable: color, animation speed, border radius
- Works as a wrapper component with flexible content
- Supports nested components and complex layouts
- TypeScript props:
color,speed,borderRadius
Use Case: Premium cards, feature highlights, product showcase sections
3. Text Reveal (text-reveal)
Elegantly reveals text character-by-character when it scrolls into view.
Features:
- Staggered blur reveal effect for smooth, polished appearance
- Scroll-triggered animations using Intersection Observer
- Server-renderable with Framer Motion v7+
- Customizable stagger delay and duration
- TypeScript props:
staggerDelay,duration,children
Use Case: Hero sections, testimonials, emphasis text, storytelling
🏗️ Registry System
The single source of truth for all components:
- Central registry (
lib/registry.ts) — metadata for every component - Auto-generating docs — add registry entry → docs page auto-generates at
/docs/components/[name] - Rich metadata — props documentation, dependencies, tags, categories
- API endpoint —
GET /api/registry/[name]returns JSON with source code and dependencies - Future-proof — foundation for CLI tooling, package managers, and component search
🛠️ 55+ Primitive Components
Foundation layer of Base UI primitives — battle-tested, accessible components including:
Form Controls: Button, Input, Textarea, Label, Checkbox, Radio, Select, Switch, Combobox, Search
Layout: Card, Dialog, Sheet, Drawer, Popover, Dropdown Menu, Tooltip, Breadcrumb, Pagination
Display: Tabs, Accordion, Carousel, Skeleton, Badge, Avatar, Progress, Spinner
And 30+ more... All fully typed, keyboard accessible, and themeable with Tailwind CSS.
📖 Developer Resources
AGENTS.md — Comprehensive Rulebook
- Project identity and technical stack
- Step-by-step component addition workflow
- Coding standards (naming, patterns, props)
- Accessibility requirements (WCAG 2.1 AA)
- Git workflow (branch strategy, commit messages)
- Pre-commit checklist
CLAUDE.md — Development Guide
- Detailed component anatomy with code examples
- Registry system explanation and examples
- Recipes for common patterns:
- Framer Motion animations
- CSS animations
- Class variance authority (CVA)
- Tailwind composition
- Design tokens reference
- Do's and don'ts with code examples
- Approved dependencies list
🎯 Technical Stack
| Tool | Version | Purpose |
|---|---|---|
| Next.js | 16 | App Router, Server Components, SSG |
| React | 19 | Component foundation |
| TypeScript | 5.6+ | Type safety, DX |
| Tailwind CSS | 4 | Styling, design tokens |
| Base UI | Latest | Headless UI primitives |
| Framer Motion | 7+ | Smooth animations |
| Lucide React | Latest | Icon library |
| Shiki | Latest | Syntax highlighting (docs) |
| next-themes | Latest | Dark mode support |
🎨 Design Philosophy
Every component follows the Kanso principle — simplicity with purpose:
- Simplicity over cleverness — Minimal code, sensible defaults
- Readability over abstraction — Easy to understand at a glance
- Composition over inheritance — Flexible children/slots over rigid props
- Accessibility over visual tricks — Keyboard navigation, ARIA, semantic HTML first
- Performance over unnecessary features — Optimized animations, server-renderable
🚀 Quick Start
Installation & Setup
# Clone repository
git clone https://github.com/Nagraj-13/Kanso-UI.git
cd kanso-ui
# Install dependencies
pnpm install
# Start development server
pnpm dev