Official documentation platform and interactive reference for Rubix - A modern systems programming language.
- 🎨 Modern Design System: Pixel-perfect aesthetic matching the Rubix brand identity with custom isometric 3D hero cube, rich crimson accents, and clean typography.
- 🔍 Animated FastSearch Modal:
- Global keyboard shortcut (
Ctrl + K/Cmd + K) and tactile search button triggers. - Spring-animated popup modal with smooth backdrop blur.
- Live query match highlighting across titles and descriptions.
- Categorized chips (
All,Getting Started,Language,Advanced,Standard Library,CLI & Modules). - Full keyboard navigation (
↑↓↵Esc) and smart empty states with popular suggestions.
- Global keyboard shortcut (
- 📱 Phone & Mobile Optimized:
- Responsive header with dedicated search action.
- Drawer sidebar navigation with integrated search bar.
- Touch-safe modal popup, iOS auto-zoom prevention (16px input scaling), and momentum touch scrolling.
- 🌓 Dual Theme Engine:
- Zero-flicker light and dark mode toggle.
- Automatic persistence with
localStorageanddata-themeattribute synchronization.
- 💻 Syntax Highlighting & Code Playground:
- Integrated code blocks with line numbers, copy-to-clipboard status feedback, and sample
.bixscripts. - Live execution preview simulator with preset switches.
- Integrated code blocks with line numbers, copy-to-clipboard status feedback, and sample
- 📐 Edge-to-Edge Full Bleed Layout:
- Sticky sidebars with synchronized table-of-contents tracking (
On this page). - Independent scrolling containers with custom scrollbars.
- Sticky sidebars with synchronized table-of-contents tracking (
| Shortcut | Action |
|---|---|
| Ctrl + K / ⌘ + K | Open Search Popup |
| ↑ / ↓ | Navigate search results |
| Enter | Jump to selected documentation section |
| Esc | Close search popup / modal |
rubix-documentation/
├── public/ # Public static assets & brand graphics
│ ├── rubix-hero-cube-clean.png
│ └── favicon.svg
├── src/
│ ├── assets/ # Icons & bundled vector assets
│ ├── components/ # Reusable UI components
│ │ ├── Header.jsx # Top navigation bar & search trigger
│ │ ├── SearchModal.jsx # Spring-animated search popup & filters
│ │ ├── CodeBlock.jsx # Syntax highlighting & copy feedback
│ │ ├── Modals.jsx # Share dialog & toast bubbles
│ │ └── Footer.jsx # Documentation page footer
│ ├── data/
│ │ └── docsData.js # Single source of truth (navigation, search index, code samples)
│ ├── lib/
│ │ ├── clipboard.js # Copy helper with fallback support
│ │ └── preview.js # Interactive playground simulation engine
│ ├── pages/
│ │ ├── DocsLayout.jsx # Main documentation layout & mobile drawer
│ │ └── HomePage.jsx # Landing presentation view
│ ├── App.jsx # Route manager, theme provider, and global shortcuts
│ ├── index.css # Vanilla CSS design tokens, keyframes & responsive rules
│ └── main.jsx # Application root entry point
├── ui/ # UI showcase screenshots
│ ├── frontend-light.png # Light theme desktop screenshot
│ └── frontend-dark.png # Dark theme desktop screenshot
├── package.json
└── vite.config.js
-
Clone the repository:
git clone https://github.com/tek-sys-hub/rubix-documentation.git cd rubix-documentation -
Install dependencies:
npm install
-
Start the local development server:
npm run dev
Open http://localhost:5173 in your browser to view the application.
-
Build for production:
npm run build
-
Preview production bundle:
npm run preview
- Core: React 19, JavaScript (ESNext)
- Bundler & Tooling: Vite with Fast Refresh
- Styling: Vanilla CSS with tailored design tokens, HSL color space, and custom keyframe animations
- Icons: Handcrafted lightweight SVGs
This project is licensed under the MIT License.

