How horizon-ui/horizon-ui-chakra works
Horizon UI is a React and Chakra UI admin-dashboard template. A browser loads the app, which selects an authentication, admin, or RTL layout; the dashboard layouts provide navigation and a routed content area for example pages. The repository also includes marketplace/NFT, profile, data-table, and dashboard examples, plus reusable visual components and a shared theme. Layout and theme wiring is supported by excerpts; some page-to-route relationships are only represented as unverified because route definitions were not excerpted.
Main entry points: routes.js Route Registry · App.js Application Router · admin/index.js Admin Layout · rtl/index.js RTL Layout
Components 23
Application Shell
- React Bootstrap
src/index.js - Application Router
src/App.js
Layouts and Navigation
- Admin Layout
src/layouts/admin/index.js - Auth Layout
src/layouts/auth/index.js - RTL Layout
src/layouts/rtl/index.js - Route Registry
src/routes.js
Example Pages
- Dashboard Examples
src/views/admin/default/index.jsx - Data Tables
src/views/admin/dataTables/index.jsx - Marketplace and NFTs
src/views/admin/marketplace/index.jsx - Profile
src/views/admin/profile/index.jsx - RTL Examples
src/views/admin/rtl/index.jsx - Sign In
src/views/auth/signIn/index.jsx
Reusable UI
- Sidebar Navigation
src/components/sidebar/Sidebar.js - Dashboard Chrome
src/components/navbar/NavbarAdmin.js - Dashboard Footer
src/components/footer/FooterAdmin.js - RTL Provider
src/components/rtlProvider/RtlProvider.js - Charts and Cards
src/components/charts/LineChart.js
Theme System
- Theme Configuration
src/theme/theme.js - Component Theme Styles
src/theme/components - Global Styles
src/theme/styles.js - Card Theme
src/theme/additions/card/card.js - Responsive Breakpoints
src/theme/foundations/breakpoints.js
Other components
- Browser
Connections 25
- Browser → React Bootstrap: loads
src/index.js - React Bootstrap → Application Router: renders
src/index.js - Application Router → Admin Layout: routes to
src/App.js - Application Router → Auth Layout: routes to
src/App.js - Application Router → RTL Layout: routes to
src/App.js - Application Router → Theme Configuration: provides theme
src/App.js - Admin Layout → Route Registry: reads routes
src/layouts/admin/index.js - Admin Layout → Sidebar Navigation: renders
src/layouts/admin/index.js - Admin Layout → Dashboard Chrome: renders
src/layouts/admin/index.js - Admin Layout → Dashboard Footer: renders
src/layouts/admin/index.js - RTL Layout → Route Registry: reads routes
src/layouts/rtl/index.js - RTL Layout → Sidebar Navigation: renders
src/layouts/rtl/index.js - RTL Layout → Dashboard Footer: renders
src/layouts/rtl/index.js - RTL Layout → RTL Provider: wraps
src/layouts/rtl/index.js - Auth Layout → Route Registry: reads routes
src/layouts/auth/index.js - Route Registry → Dashboard Examples: selects pages
- Route Registry → Data Tables: selects pages
- Route Registry → Marketplace and NFTs: selects pages
- Route Registry → Profile: selects pages
- Route Registry → RTL Examples: selects pages
- Route Registry → Sign In: selects pages
- Theme Configuration → Component Theme Styles: assembles styles
src/theme/theme.js - Theme Configuration → Global Styles: assembles styles
src/theme/theme.js - Theme Configuration → Card Theme: assembles styles
src/theme/theme.js - Theme Configuration → Responsive Breakpoints: sets breakpoints
src/theme/theme.js