What problem does it solve?
Ckourse's UI conventions solve fragmented and inconsistent component implementations across the desktop app by providing a single source of truth for styling, component patterns, and runtime requirements so new UI work is predictable, maintainable, and accessible.
Core Features & Use Cases
- Centralized tech and runtime guidance for React + TypeScript in a Tauri desktop app, including the required import alias and build expectations.
- Clear styling rules: use theme tokens from src/index.css, avoid hardcoded colors, and apply Tailwind utility classes merged via cn().
- Component patterns and composition: named exports, typed props with a className prop, shadcn/ui primitives usage, and squircle shape conventions with layered borders.
- Practical scenarios: adding a new feature card, building a searchable sidebar button, or creating consistent loading and icon patterns across lessons and course pages.
Quick Start
Create a named React+TypeScript component in src/components that exports a named function, types props with an interface including className, merges classes with cn(), and uses theme tokens from src/index.css.