How deeplethe/solid-glass works
Solid Glass is a React showcase and customization site for a glass-inspired UI system, with reusable shadcn-style components and agent-focused interface elements. Visitors browse component examples and documentation, tune material options in Create, or inspect and copy complete Blocks; installation of the stylesheet and components is also documented. The graph reflects the routes and calls shown in excerpts plus README-described capabilities. Some page and component implementations were not sampled, so their internal connections are omitted.
Main entry points: App.tsx Route shell · create.tsx Create page · docs.tsx Documentation · component-preview.tsx Component preview
Components 21
Showcase site
- Route shell
src/App.tsx - Home gallery
src/pages/home.tsx - Component wall
src/home/wall.tsx - Documentation
src/site/docs.tsx - Component preview
src/site/component-preview.tsx - Code display
src/site/code.tsx - Site navigation data
src/site/pages.ts - Theme controls
src/site/theme.ts - Site header
src/site/site-header.tsx
Material customization
- Create page
src/pages/create.tsx - Material customizer
src/create/customizer.tsx - Material options
src/create/options.ts - Preview cards
src/create/blocks.tsx
Screen blocks
- Blocks browser
src/pages/blocks.tsx - Block catalog
src/blocks/index.ts - Block screens
src/blocks - Shared overview
src/blocks/shared/overview.tsx
UI components
- UI primitives
src/components/ui - Agent components
src/components/ui - Class utilities
src/lib/utils.ts
Other components
- Visitor
Connections 26
- Visitor → Route shell: opens site
README.md - Route shell → Home gallery: routes home
src/App.tsx - Route shell → Documentation: routes docs
src/App.tsx - Route shell → Create page: routes create
src/App.tsx - Route shell → Blocks browser: routes blocks
src/App.tsx - Route shell → Site header: renders header
src/App.tsx - Home gallery → Component wall: shows examples
README.md - Documentation → Component preview: renders previews
src/site/docs.tsx - Component preview → Code display: renders source
src/site/component-preview.tsx - Documentation → Site navigation data: uses page data
src/site/docs.tsx - Site header → Site navigation data: uses navigation
src/site/site-header.tsx - Visitor → Create page: tunes material
README.md - Create page → Material customizer: renders customizer
src/pages/create.tsx - Create page → Preview cards: shows previews
src/pages/create.tsx - Material customizer → Material options: reads options
src/create/customizer.tsx - Material customizer → Code display: generates CSS
src/create/customizer.tsx - Visitor → Blocks browser: browses screens
README.md - Blocks browser → Block catalog: loads catalog
src/pages/blocks.tsx - Block catalog → Block screens: loads screen modules
src/blocks/index.ts - Block screens → Shared overview: includes overview
src/blocks/index.ts - Shared overview → Agent components: shows agent status
src/blocks/shared/overview.tsx - Component wall → UI primitives: demonstrates components
src/home/wall.tsx - Component preview → UI primitives: renders examples
src/site/component-preview.tsx - UI primitives → Class utilities: merges classes
src/components/ui/button.tsx - Agent components → Class utilities: merges classes
src/components/ui/status-glyph.tsx - Visitor → Agent components: installs components
README.md