|
| 1 | +--- |
| 2 | +title: "Interactive Component Demos" |
| 3 | +description: "Explore all ObjectUI components and plugins with live interactive examples" |
| 4 | +--- |
| 5 | + |
| 6 | +# Interactive Component Demos |
| 7 | + |
| 8 | +Explore ObjectUI's comprehensive component library with **live interactive demos**. Each demo features: |
| 9 | + |
| 10 | +- 👁️ **Live Preview** - See components in action |
| 11 | +- 💻 **Source Code** - View and copy JSON schemas |
| 12 | +- 📋 **Copy Button** - One-click code copying |
| 13 | +- 🎨 **Multiple Examples** - Various use cases |
| 14 | + |
| 15 | +## 🧩 Components by Category |
| 16 | + |
| 17 | +### Form Components |
| 18 | + |
| 19 | +Build powerful forms with our comprehensive form controls: |
| 20 | + |
| 21 | +- **[Input](/docs/components/form/input)** - Text input fields with validation |
| 22 | +- **[Select](/docs/components/form/select)** - Dropdown selection menus |
| 23 | +- **[Checkbox](/docs/components/form/checkbox)** - Toggle selection boxes |
| 24 | +- **[Switch](/docs/components/form/switch)** - Binary toggle switches |
| 25 | +- **[Textarea](/docs/components/form/textarea)** - Multi-line text input |
| 26 | +- **[Slider](/docs/components/form/slider)** - Range selection sliders |
| 27 | +- **[Button](/docs/components/form/button)** - Action triggers with variants |
| 28 | + |
| 29 | +### Layout Components |
| 30 | + |
| 31 | +Structure your UI with flexible layout containers: |
| 32 | + |
| 33 | +- **[Stack](/docs/components/layout/stack)** - Vertical/horizontal stacking |
| 34 | +- **[Grid](/docs/components/layout/grid)** - Responsive grid layouts |
| 35 | +- **[Card](/docs/components/layout/card)** - Content containers |
| 36 | +- **[Tabs](/docs/components/layout/tabs)** - Tabbed content sections |
| 37 | +- **[Separator](/docs/components/layout/separator)** - Visual dividers |
| 38 | + |
| 39 | +### Overlay Components |
| 40 | + |
| 41 | +Create modal and overlay experiences: |
| 42 | + |
| 43 | +- **[Dialog](/docs/components/overlay/dialog)** - Modal dialogs |
| 44 | +- **[Drawer](/docs/components/overlay/drawer)** - Sliding side panels |
| 45 | +- **[Tooltip](/docs/components/overlay/tooltip)** - Contextual hints |
| 46 | +- **[Popover](/docs/components/overlay/popover)** - Floating content panels |
| 47 | + |
| 48 | +### Data Display Components |
| 49 | + |
| 50 | +Present information beautifully: |
| 51 | + |
| 52 | +- **[Table](/docs/components/data-display/table)** - Tabular data display |
| 53 | +- **[List](/docs/components/data-display/list)** - Ordered/unordered lists |
| 54 | +- **[Avatar](/docs/components/data-display/avatar)** - User profile images |
| 55 | +- **[Badge](/docs/components/data-display/badge)** - Status indicators |
| 56 | +- **[Alert](/docs/components/data-display/alert)** - Notification messages |
| 57 | + |
| 58 | +### Feedback Components |
| 59 | + |
| 60 | +Provide user feedback and status: |
| 61 | + |
| 62 | +- **[Progress](/docs/components/feedback/progress)** - Progress indicators |
| 63 | +- **[Loading](/docs/components/feedback/loading)** - Loading spinners |
| 64 | +- **[Skeleton](/docs/components/feedback/skeleton)** - Loading placeholders |
| 65 | +- **[Toast](/docs/components/feedback/toast)** - Toast notifications |
| 66 | + |
| 67 | +### Disclosure Components |
| 68 | + |
| 69 | +Progressive content disclosure: |
| 70 | + |
| 71 | +- **[Accordion](/docs/components/disclosure/accordion)** - Collapsible sections |
| 72 | +- **[Collapse](/docs/components/disclosure/collapse)** - Show/hide content |
| 73 | + |
| 74 | +### Complex Components |
| 75 | + |
| 76 | +Advanced composite components: |
| 77 | + |
| 78 | +- **[Command](/docs/components/complex/command)** - Command palette |
| 79 | +- **[DatePicker](/docs/components/complex/date-picker)** - Date selection |
| 80 | + |
| 81 | +## 🔌 Plugin Demos |
| 82 | + |
| 83 | +Extend ObjectUI with powerful plugins: |
| 84 | + |
| 85 | +### [Plugin Markdown](/docs/ecosystem/plugins/plugin-markdown) |
| 86 | + |
| 87 | +Render GitHub Flavored Markdown with syntax highlighting: |
| 88 | + |
| 89 | +- ✅ Basic formatting (bold, italic, links) |
| 90 | +- ✅ Task lists with checkboxes |
| 91 | +- ✅ Tables and code blocks |
| 92 | +- ✅ XSS protection built-in |
| 93 | + |
| 94 | +**Interactive Examples**: 3 live demos |
| 95 | + |
| 96 | +### [Plugin Kanban](/docs/ecosystem/plugins/plugin-kanban) |
| 97 | + |
| 98 | +Drag-and-drop Kanban boards for project management: |
| 99 | + |
| 100 | +- ✅ Drag cards between columns |
| 101 | +- ✅ WIP limits per column |
| 102 | +- ✅ Card badges for status/priority |
| 103 | +- ✅ Keyboard navigation support |
| 104 | + |
| 105 | +**Interactive Examples**: 2 live demos |
| 106 | + |
| 107 | +### [Plugin Charts](/docs/ecosystem/plugins/plugin-charts) |
| 108 | + |
| 109 | +Beautiful data visualizations powered by Recharts: |
| 110 | + |
| 111 | +- ✅ Bar, line, area, pie charts |
| 112 | +- ✅ Responsive design |
| 113 | +- ✅ Customizable colors |
| 114 | +- ✅ Multiple data series |
| 115 | + |
| 116 | +**Interactive Examples**: 3 live demos |
| 117 | + |
| 118 | +### [Plugin Editor](/docs/ecosystem/plugins/plugin-editor) |
| 119 | + |
| 120 | +Monaco Editor integration for code editing: |
| 121 | + |
| 122 | +- ✅ 100+ programming languages |
| 123 | +- ✅ IntelliSense & autocomplete |
| 124 | +- ✅ Syntax highlighting |
| 125 | +- ✅ Find and replace |
| 126 | + |
| 127 | +**Interactive Examples**: 3 live demos |
| 128 | + |
| 129 | +### [Plugin Object](/docs/ecosystem/plugins/plugin-object) |
| 130 | + |
| 131 | +ObjectQL integration for CRUD operations: |
| 132 | + |
| 133 | +- ✅ Auto-generated tables |
| 134 | +- ✅ Smart forms with validation |
| 135 | +- ✅ Complete CRUD views |
| 136 | +- ✅ Schema-driven UI |
| 137 | + |
| 138 | +**Interactive Examples**: 3 live demos |
| 139 | + |
| 140 | +## 🚀 Quick Start |
| 141 | + |
| 142 | +### 1. Browse Components |
| 143 | + |
| 144 | +Click any component link above to see: |
| 145 | +- Live interactive preview |
| 146 | +- JSON schema code |
| 147 | +- Multiple usage examples |
| 148 | + |
| 149 | +### 2. Copy Code |
| 150 | + |
| 151 | +Each demo has a **Code tab** with: |
| 152 | +- Formatted JSON schema |
| 153 | +- Copy button for instant use |
| 154 | +- Syntax highlighting |
| 155 | + |
| 156 | +### 3. Use in Your Project |
| 157 | + |
| 158 | +```tsx |
| 159 | +import { SchemaRenderer } from '@object-ui/react'; |
| 160 | + |
| 161 | +const schema = { |
| 162 | + type: "input", |
| 163 | + label: "Email", |
| 164 | + placeholder: "user@example.com" |
| 165 | +}; |
| 166 | + |
| 167 | +<SchemaRenderer schema={schema} /> |
| 168 | +``` |
| 169 | + |
| 170 | +## 💡 How Interactive Demos Work |
| 171 | + |
| 172 | +Each component page uses our new **InteractiveDemo** component: |
| 173 | + |
| 174 | +```tsx |
| 175 | +<InteractiveDemo |
| 176 | + schema={{ |
| 177 | + type: "button", |
| 178 | + label: "Click me", |
| 179 | + variant: "default" |
| 180 | + }} |
| 181 | + title="Primary Button" |
| 182 | + description="Main action button" |
| 183 | +/> |
| 184 | +``` |
| 185 | + |
| 186 | +### Features |
| 187 | + |
| 188 | +- **Tab Switching** - Toggle between Preview and Code views |
| 189 | +- **Live Rendering** - See components rendered in real-time |
| 190 | +- **Copy Button** - One-click code copying |
| 191 | +- **Multi-Example** - Show related variations together |
| 192 | +- **Responsive** - Works on all screen sizes |
| 193 | + |
| 194 | +## 📚 Component Reference |
| 195 | + |
| 196 | +For complete API documentation including all props, events, and advanced usage: |
| 197 | + |
| 198 | +- **[Component Registry](/docs/concepts/component-registry)** - All available component types |
| 199 | +- **[Schema Rendering](/docs/concepts/schema-rendering)** - How the rendering engine works |
| 200 | +- **[Plugin System](/docs/concepts/plugins)** - Creating custom plugins |
| 201 | + |
| 202 | +## 🎨 Design Resources |
| 203 | + |
| 204 | +- **[Tailwind Integration](/docs/guide/components#styling)** - Using Tailwind classes |
| 205 | +- **[Theming](/docs/guide/components#theming)** - Light/dark mode support |
| 206 | +- **[Accessibility](/docs/guide/components#accessibility)** - WCAG 2.1 compliance |
| 207 | + |
| 208 | +## 🔗 Next Steps |
| 209 | + |
| 210 | +- **[Quick Start Guide](/docs/guide/quick-start)** - Get up and running in 5 minutes |
| 211 | +- **[Try It Online](/docs/guide/try-it-online)** - Online playground |
| 212 | +- **[GitHub Repository](https://github.com/objectstack-ai/objectui)** - Star the project |
| 213 | + |
| 214 | +--- |
| 215 | + |
| 216 | +**Have questions?** Check out our [Getting Started Guide](/docs/guide/quick-start) or visit the [GitHub Discussions](https://github.com/objectstack-ai/objectui/discussions). |
0 commit comments