Repository navigation
Getting Started
Qahera UI Kit provides flexible integration pathways depending on your technology stack:
- Zero-Install CLI (Recommended for React, Next.js, and PHP)
- Zero-Build CDN (Recommended for static sites, landing pages, and prototypes)
- Vanilla Web Components (Framework-free custom elements)
- Composer / Packagist (PHP modular applications)
The fastest way to scaffold components into your project with full source ownership:
npx qahera-ui init --target=reactThis generates:
-
qahera.json: Project configuration manifest. -
tokens.css: Semantic CSS variables. - Automatically configures
.vscode/settings.jsonfor IDE custom data autocomplete. - Injects
.agents/skills/qahera-uifor local AI pair-programming.
# Add essential interactive components
npx qahera-ui add button card modal toast --target=react
# Add higher-order patterns
npx qahera-ui add pattern:dashboard-stat --target=react
# Add full turnkey templates
npx qahera-ui add template:admin --target=reactUse the interactive terminal wizard to search and multi-select components:
npx qahera-ui add --interactiveFor static HTML pages, include Qahera's compiled distribution bundles directly from jsDelivr:
<!DOCTYPE html>
<html lang="ar" dir="rtl" data-theme="zamalek" data-mode="dark">
<head>
<meta charset="UTF-8">
<title>تطبيق قاهرة المعماري</title>
<!-- Alexandria & Cairo Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Alexandria:wght@400;600;700&family=Cairo:wght@400;600;700&display=swap" rel="stylesheet">
<!-- Qahera CSS Bundles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/qahera-ui@1.7.0/dist/qahera-tokens.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/qahera-ui@1.7.0/dist/qahera-themes.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/qahera-ui@1.7.0/dist/qahera.css">
<!-- Alpine.js (for interactive behaviors) -->
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body>
<div class="qhr-container">
<button class="qhr-btn qhr-btn--primary">إجراء معياري</button>
</div>
</body>
</html>Generate an instant CDN boilerplate for any of the 13 Cairo themes:
npx qahera-ui cdn zamalekQahera UI Kit components are written as pure Server Components by default. Interactive behaviors (such as modals, tooltips, or accordions) isolate their client JavaScript strictly to terminal leaf files with 'use client':
import { Button } from '@/components/qahera/Button';
import { Card } from '@/components/qahera/Card';
import { Modal } from '@/components/qahera/Modal';
export default function Page() {
return (
<Card elevation="elevated">
<Card.Header title="لوحة التحكم المعمارية" subtitle="نظام قاهرة v1.7.0" />
<Card.Body>
<Button variant="primary" size="md">
إصدار التقرير
</Button>
</Card.Body>
</Card>
);
}For PHP monoliths and modular engines (FlightPHP, Laravel, WordPress):
composer require alwkala/qahera-uiRendering inside Plates templates:
<?= $this->insert('qahera::button', [
'variant' => 'primary',
'size' => 'md',
'label' => 'تأكيد الحجز'
]) ?># Start local preview server with visual directory
npx qahera-ui dev
# Fast architectural linter (verifies Zero Custom CSS & Invariants)
npx qahera-ui lint
# Automatically configure VS Code, Cursor, and Claude Desktop
npx qahera-ui setup-ideQahera UI Kit v1.7.0 • Sovereign AI-Native Arabic/English Design System
Crafted with architectural sovereignty by Alwkala Studio • Distributed under the MIT License • Zero Runtime Tracking