🎨 PAN Component Gallery

Explore all available components with live examples and documentation

πŸ”§ Core Components

Essential messaging and state management components

πŸ“‘
<pan-bus>
DOM-native message bus with pub/sub, wildcards, and retained messages
CORE
πŸ”Œ
PanClient
High-level JavaScript API for publish/subscribe messaging
CORE
πŸ”
<pan-auth>
JWT authentication with auto-refresh and secure token management
CORE
πŸ›‘οΈ
pan-security
Security utilities for CSP, sanitization, and validation
CORE
βœ…
pan-validation
Declarative schema validation for forms and data
CORE

πŸ’Ύ Data Components

Data fetching, storage, and state management

🌐
<pan-data-connector>
REST API integration with automatic data fetching and caching
DATA
πŸ”—
<pan-graphql-connector>
GraphQL queries and mutations via PAN messaging
INTEGRATION
🐘
<pan-php-connector>
PHP backend integration with session management
INTEGRATION
🌍
<pan-open-data-connector>
Read-only connector for public JSON APIs (USGS, REST Countries, etc.)
DATA
πŸ“‹
<pan-static-connector>
Inline static data for demos and prototypes
DATA
πŸ—ΊοΈ
<pan-leaflet-map>
Interactive Leaflet.js map with PAN data binding
VISUALIZATION
πŸ’Ώ
<pan-idb>
IndexedDB storage with PAN messaging integration
DATA
πŸ“¦
<pan-store>
Reactive state management with persistence options
DATA
πŸ”„
<pan-sse>
Server-Sent Events bridge for real-time updates
INTEGRATION
⚑
<pan-websocket>
WebSocket bridge with automatic reconnection
INTEGRATION
πŸ‘·
<pan-worker>
Web Worker bridge for background processing
INTEGRATION

🎨 UI Components

Pre-built user interface components

πŸ“Š
<pan-data-table>
Sortable, filterable data table with pagination
UI
πŸ“
<pan-form>
Schema-driven forms with validation
UI
πŸ—‚οΈ
<pan-tabs>
Tabbed interface with keyboard navigation
UI
πŸͺŸ
<pan-modal>
Accessible modal dialogs with focus management
UI
πŸ”½
<pan-dropdown>
Accessible dropdown menus with keyboard support
UI
πŸƒ
<pan-card>
Styled card container for content grouping
UI
πŸ“„
<pan-pagination>
Pagination controls with customizable styling
UI
πŸ”
<pan-search-bar>
Search input with debouncing and suggestions
UI
πŸ“…
<pan-date-picker>
Date picker with calendar UI and validation
UI
πŸ“ˆ
<pan-chart>
Simple chart visualization component
UI
πŸ“
<pan-markdown-editor>
Markdown editor with live preview
UI
πŸ“–
<pan-markdown-renderer>
Render markdown with syntax highlighting
UI

πŸ› οΈ Utilities

Helper components and routing

🧭
<pan-router>
Client-side routing with hash or history mode
CORE
πŸ“‘
<pan-forwarder>
Bridge messages between PAN buses and other systems
INTEGRATION
πŸ“
<pan-files>
File upload and management component
UI
🎨
<pan-theme-provider>
Theme management with light/dark mode support
UI
πŸ”¦
<pan-theme-toggle>
Toggle button for theme switching
UI

πŸ“š Live Examples

Progressive examples from basic to advanced patterns

00 Introduction 01 Hello Counter 02 Todos & Inspector 03 BroadcastChannel 04 React Integration 05 Lit Integration 06 CRUD Stack 07 REST API 08 Web Workers 09 Schema Forms 10 SSE Store 11 GraphQL 12 PHP Backend 13 SSE Bridge 14 Message Forwarder 15 Client Routing 16 WebSocket 17a Security 17b IndexedDB πŸ” Authentication πŸ“ Markdown