How lojeevlim/lojee-ui works
Lojee UI is a React/TypeScript component library with a parallel custom-element surface and a built-in documentation/demo site. The principal consumer workflow is importing the library API (or registering its custom elements), configuring a theme, and rendering components; the site separately guides visitors from landing and component navigation to live showcases and playgrounds. Shared design tokens underpin the component styling. The README documents themes, animation, data binding, and broad component families; unsampled family internals are represented by their existing directories.
Main entry points: index.ts React API · register.tsx Element registry · main.tsx Site router · App.tsx Component docs
Components 19
Component library
- React API
src/lib/index.ts - Core components
src/components/ui/Buttons/Button.tsx - Data visualization
src/components/ui/Map - Forms and inputs
src/components/ui/SearchInput - Navigation and layout
src/components/ui/AppLayout - Feedback and overlays
src/components/ui/Tooltip
Web Components
- Elements entry
src/elements/index.ts - Element registry
src/elements/register.tsx - Element adapters
src/elements/with-form-events.tsx
Docs site
- Site router
src/main.tsx - Landing page
src/components/landing/LandingPage.tsx - Component docs
src/App.tsx - Live playground
src/components/ui/Playground.tsx - Component showcase
src/components/ui/ShowcaseHelpers.tsx - Code examples
src/components/ui/CodeBlock.tsx
Shared design
- Themes and effects
src/components/ui/Theme - Design tokens
src/core/tokens.ts
Other components
- Library consumer
- Site visitor
Connections 18
- Library consumer → React API: imports
README.md - React API → Core components: exports
src/lib/index.ts - React API → Data visualization: exports
src/lib/index.ts - React API → Forms and inputs: exports
src/lib/index.ts - React API → Navigation and layout: exports
src/lib/index.ts - React API → Feedback and overlays: exports
src/lib/index.ts - Library consumer → Elements entry: imports
README.md - Elements entry → Element registry: loads
src/elements/index.ts - Element registry → Element adapters: wraps events
src/elements/register.tsx - Element registry → Core components: registers
src/elements/register.tsx - Site visitor → Site router: opens site
src/main.tsx - Site router → Landing page: routes to
src/main.tsx - Site router → Component docs: routes to
src/main.tsx - Component docs → Component showcase: renders
src/App.tsx - Component docs → Live playground: opens
src/App.tsx - Component showcase → Code examples: displays
- Core components → Design tokens: styles with
src/components/ui/Buttons/Button.tsx - Themes and effects → Design tokens: configures