Interactive Demonstrations
Explore live examples with copy-paste code snippets
Documentation
Comprehensive guides and reference materials
/** * Design System Hub * Central landing page for all interactive design system demonstrations * Access: /dev */ import type { Metadata } from 'next'; import Link from 'next/link'; import { Palette, Layout, Ruler, FileText, BookOpen, ArrowRight, Sparkles } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Separator } from '@/components/ui/separator'; export const metadata: Metadata = { title: 'Design System Hub | FastNext Template', description: 'Interactive design system demonstrations with live examples - explore components, layouts, spacing, and forms built with shadcn/ui and Tailwind CSS', }; const demoPages = [ { title: 'Components', description: 'Explore all shadcn/ui components with live examples and copy-paste code', href: '/dev/components', icon: Palette, status: 'enhanced' as const, highlights: ['All variants', 'Interactive demos', 'Copy-paste code'], }, { title: 'Layouts', description: 'Essential layout patterns for pages, dashboards, forms, and content', href: '/dev/layouts', icon: Layout, status: 'new' as const, highlights: ['Grid vs Flex', 'Responsive patterns', 'Before/after examples'], }, { title: 'Spacing', description: 'Visual demonstrations of spacing philosophy and best practices', href: '/dev/spacing', icon: Ruler, status: 'new' as const, highlights: ['Parent-controlled', 'Gap vs Space-y', 'Anti-patterns'], }, { title: 'Forms', description: 'Complete form implementations with validation and error handling', href: '/dev/forms', icon: FileText, status: 'new' as const, highlights: ['react-hook-form', 'Zod validation', 'Loading states'], }, ]; const documentationLinks = [ { title: 'Quick Start', description: '5-minute crash course', href: '/dev/docs/design-system/00-quick-start', }, { title: 'Complete Documentation', description: 'Full design system guide', href: '/dev/docs', }, { title: 'AI Guidelines', description: 'Rules for AI code generation', href: '/dev/docs/design-system/08-ai-guidelines', }, { title: 'Quick Reference', description: 'Cheat sheet for lookups', href: '/dev/docs/design-system/99-reference', }, ]; export default function DesignSystemHub() { return (
Interactive demonstrations, live examples, and comprehensive documentation for the FastNext design system. Built with shadcn/ui + Tailwind CSS 4.
Explore live examples with copy-paste code snippets
Comprehensive guides and reference materials