How samzydd/sakani-design-system works
Sakani is a token-driven React design-system library, not a standalone business application. A consumer imports its public components or copyable composition blocks, applies the token styles, and renders themed UI. The library spans reusable primitives, domain-oriented blocks (including commerce, authentication, dashboards, chat, and marketing), and a large glass-icon set. Liquid glass is a distinct theme capability with a shared renderer. The README documents these capabilities; several block implementations were not sampled, so their internal calls are not mapped.
Main entry points: src/index.ts Public exports · blocks/index.ts Block exports · tokens.css Design tokens · LiquidGlass.tsx Liquid glass renderer
Components 20
Consumer API
- Public exports
src/index.ts - Block exports
src/blocks/index.ts
UI Components
- UI primitives
src/components - Application components
src/components/ApplicationComponents - Commerce components
src/components/ECommerceComponents - Marketing components
src/components/MarketingComponents
Composition Blocks
- Auth blocks
src/blocks/TwoFactorAuthBlock/TwoFactorAuthBlock.tsx - Billing blocks
src/blocks/Billing - Commerce blocks
src/blocks/CheckoutFlowBlock/CheckoutFlowBlock.tsx - CRM dashboard
src/blocks/CRMDashboardBlock/CRMDashboardBlock.tsx - Chat interface
src/blocks/ChatInterfaceBlock/ChatInterfaceBlock.tsx - Data table
src/blocks/DataTableBlock/DataTableBlock.tsx - Liquid dashboard
src/blocks/LiquidDashboardBlock/LiquidDashboardBlock.tsx - Marketing blocks
src/blocks/BlogListingBlock/BlogListingBlock.tsx - Composition blocks
src/blocks
Theme And Icons
- Design tokens
src/styles/tokens.css - Liquid glass renderer
src/lib/LiquidGlass.tsx - Glass icon set
src/glass-icons/createGlassIcon.tsx - Generated icon shapes
src/glass-icons/icons/route.ts
Other components
- React consumer
Connections 16
- React consumer → Public exports: imports components
README.md - React consumer → Block exports: imports blocks
README.md - Public exports → UI primitives: exports
src/index.ts - Public exports → Application components: exports
src/index.ts - Public exports → Commerce components: exports
src/index.ts - Public exports → Marketing components: exports
src/index.ts - Block exports → Auth blocks: exports
src/blocks/index.ts - Block exports → Commerce blocks: exports
src/blocks/index.ts - Block exports → Marketing blocks: exports
src/blocks/index.ts - React consumer → Design tokens: imports styles
README.md - Design tokens → UI primitives: themes components
README.md - Design tokens → Composition blocks: themes blocks
README.md - Public exports → Liquid glass renderer: exports renderer
README.md - Liquid glass renderer → Liquid dashboard: used in dashboard
README.md - Glass icon set → Generated icon shapes: creates icon
src/glass-icons/icons/route.ts - React consumer → Glass icon set: imports icons
README.md