# Examples Gallery

- **Section:** Getting Started
- **URL:** https://refast.fastapicloud.dev/docs/examples
- **Markdown:** https://refast.fastapicloud.dev/docs/examples.md
- **Source:** https://github.com/idling-mind/refast-docs/blob/main/docs/pages/getting_started/examples_gallery.py
- **Live examples:** the widgets on this page need a browser; open the URL above to try them.
- **Applies to:** refast 0.12.2

Explore working examples demonstrating the full capabilities of the Refast framework.

Showing 41 of 41 examples

### Hello World

Basic

Minimal Refast app — one page, one component with reactive state and greeting updates.

[Launch Demo](https://refast.fastapicloud.dev/examples/hello)

[View Code](https://github.com/idling-mind/refast/blob/main/examples/hello.py)

### Interactive Counter

Basic

Clean counter demonstrating page routing, button callbacks, direct number input, and reactive state updates.

[Launch Demo](https://refast.fastapicloud.dev/examples/counter)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/basic)

### Todo Task Manager

Basic

Complete task management app with task creation, completion toggles, targeted DOM replacement, and toast alerts.

[Launch Demo](https://refast.fastapicloud.dev/docs/todo-live)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/todo_app)

### All Form Inputs Showcase

Basic

Forms

Unified showcase of standard and advanced form controls submitting to a single server callback: inputs, selects, sliders, date pickers, and switches.

[Launch Demo](https://refast.fastapicloud.dev/examples/all-inputs)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/all_inputs_form)

### Form Validation & Alerts

Basic

Forms

User registration form demonstrating client & server validation logic, dynamic error banners, and success feedback with Alert.

[Launch Demo](https://refast.fastapicloud.dev/examples/form-validation)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/form_validation)

### Enhanced Input Features

Basic

Deep dive into Input component features: debounced keystrokes, inline validation error states, labels with required markers, and description hints.

[Launch Demo](https://refast.fastapicloud.dev/examples/input-features)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/input_features)

### SPA Multi-Page App

Basic

Navigation

Single Page Application architecture with a shared Navbar layout and instant view swapping conditioned on session state without page reloads.

[Launch Demo](https://refast.fastapicloud.dev/examples/multi-page)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/multi_page)

### Bookstore URL Routing & Params

Basic

Navigation

Full routing demo featuring typed path parameters (/books/{id:int}), slug parameters, and search query strings with browser history preservation.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/url_params)

### Resizable Panels

Layout

Draggable multi-panel layouts with collapsible sidebars and imperative client/server resize methods via ctx.bound_js().

[Launch Demo](https://refast.fastapicloud.dev/examples/resizable-panels)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/resizable_panels)

### Settings Panel

Layout

Forms

Multi-section settings interface featuring sidebar navigation, avatar upload, switch toggles, radio groups, and toast feedback.

[Launch Demo](https://refast.fastapicloud.dev/examples/settings-panel)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/settings_panel)

### Sidebar Showcase

Layout

Navigation

Collapsible and responsive desktop sidebars with nested menu groups, active route highlights, badges, and icon indicators.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/sidebar_showcase)

### Bound Overlays & Drawers

Layout

Sheet, Drawer, and Dialog overlay primitives controlled imperatively via Python callbacks and bound JS actions.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/bound_overlays)

### Navigation Showcase

Navigation

Header navigation bars, responsive breadcrumbs, pagination controls, and active link states across desktop and mobile.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/navigation_showcase)

### Tabs Sizing & Alignment

Layout

Multi-tab content panels with custom tab bar sizing, horizontal scrolling, icon tabs, and reactive panel switching.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/tabs_sizing)

### Weather Dashboard

Data

Multi-city live weather monitoring cards with dynamic temperature gauges, condition badges, and data refresh callbacks.

[Launch Demo](https://refast.fastapicloud.dev/examples/weather)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/weather_dashboard)

### Analytics Dashboard

Data

Charts

Executive business metrics dashboard featuring KPI cards, revenue summaries, period filters, and activity timelines.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/analytics_dashboard)

### Charts Showcase

Charts

Data

Interactive data visualisations with bar charts, line plots, area graphs, and customizable theme palettes.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/charts_showcase)

### Data Table

Data

Structured tabular data display with typed column formats, striped rows, empty states, and action triggers.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/data_table)

### Rich Table (Sort & Filter)

Data

Advanced data table supporting client and server-side column sorting, multi-column search, pagination, and row selection.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/rich_table)

### Markdown Features

Markdown

Full GitHub-flavored Markdown rendering with lazy-loaded interactive Mermaid SVG diagrams and LaTeX KaTeX math formulas.

[Launch Demo](https://refast.fastapicloud.dev/examples/markdown-features)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/markdown_features)

### Scroll-Stream Markdown

Real-time

Markdown

Real-time token streaming into Markdown inside a ScrollArea with automatic sticky-to-bottom tracking and manual override.

[Launch Demo](https://refast.fastapicloud.dev/examples/scroll-stream)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/scroll_stream)

### AI Chat Interface

Real-time

AI

Conversational LLM assistant UI with message bubbles, avatar indicators, token streaming, and scroll lock.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/aichat)

### Markdown Custom Tags

Markdown

Extending standard Markdown syntax with custom HTML components, callout alert blocks, and styled badges.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/markdown_custom_tags)

### Collapsible Stream

Real-time

Markdown

Dynamic thought/reasoning chains and expandable step logs streaming live content into collapsible disclosure sections.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/collapsible_stream)

### Real-time Dashboard

Real-time

Data

Live server-push telemetry dashboard updating system metrics, memory gauges, and event counters over WebSockets.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/realtime_dashboard)

### Chat Application

Real-time

Multi-client WebSocket chat application with user channels, online participant presence, and message broadcasts.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/chat_app)

### Kanban Board

Advanced

Full task management board with customizable columns, priority tags, assignee avatars, and creation sheets.

[Launch Demo](https://refast.fastapicloud.dev/examples/kanban)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/kanban_board)

### File Manager

Advanced

Desktop-style file browser with folder navigation trees, file grid views, size calculations, and breadcrumbs.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/file_manager)

### E-Commerce Catalog

Advanced

Product store with category filtering, price sliders, image carousels, shopping cart drawer, and order checkout.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/ecommerce_product)

### Prop Store Optimization

Advanced

Performance

Techniques for extreme rendering performance using targeted DOM prop updates instead of full component tree re-renders.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/prop_store)

### JS Callbacks

Advanced

Direct client-side JavaScript execution, window event bindings, and imperative DOM interactions via ctx.bound_js().

[View Code](https://github.com/idling-mind/refast/tree/main/examples/js_callbacks)

### File Transfer & Upload

Advanced

Robust file uploads with drag-and-drop dropzones, progress bar updates, file type filters, and chunked transfer.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/file_transfer)

### Desktop Native App

Desktop

Packaging a Refast application as a standalone native desktop GUI window using PyWebView with zero web browser UI.

[View Code](https://github.com/idling-mind/refast/blob/main/examples/desktop_app.py)

### Desktop Notifications

Desktop

Triggering OS-level system tray and desktop push notifications from server-side Python events.

[View Code](https://github.com/idling-mind/refast/blob/main/examples/desktop_notifications.py)

### Long-Running Tasks

Advanced

Managing asynchronous background jobs with live progress bars, cancellation triggers, and completion alerts.

[View Code](https://github.com/idling-mind/refast/blob/main/examples/longrunning.py)

### Theme Customization

Advanced

Live theme swapping with Refast CSS variables, custom color palettes, and seamless dark/light mode switching.

[View Code](https://github.com/idling-mind/refast/tree/main/examples/theme_showcase)

### Event Modifiers

Advanced

Controlling event bubbling with stop_propagation, suppressing native browser actions with prevent_default, and inspecting modifier state.

[Launch Demo](https://refast.fastapicloud.dev/examples/event-modifiers)

[View Code](https://github.com/idling-mind/refast/tree/main/examples/event_modifiers)

### Custom Extensions

Advanced

Building third-party React and Python extensions with custom entry points, npm bundling, and asset pipelines.

[View Code](https://github.com/idling-mind/refast/blob/main/docs/EXTENSION_DEVELOPMENT.md)

### ECharts Visualizations

Extensions

Data & Charts

Apache ECharts integration with 20+ interactive chart types, real-time setOption updates, and mouse events.

[Launch Demo](https://refast.fastapicloud.dev/examples/echarts)

[View Code](https://github.com/idling-mind/refast-echarts)

### Spreadsheet Data Grid

Extensions

Advanced

Excel-like spreadsheet component based on ReactGrid with 15+ cell types, inline editing, and sticky totals.

[Launch Demo](https://refast.fastapicloud.dev/examples/grid)

[View Code](https://github.com/idling-mind/refast_grid)

### 3D VTK.js Visualization

Extensions

Advanced

Hardware-accelerated 3D rendering with react-vtk-js: polygonal meshes, volume rendering, and coordinate picking.

[Launch Demo](https://refast.fastapicloud.dev/examples/vtk-js)

[View Code](https://github.com/idling-mind/refast_vtk_js)

---

Part of the Refast documentation: [all pages](https://refast.fastapicloud.dev/llms.txt), [everything on one page](https://refast.fastapicloud.dev/llms-full.txt), [search](https://refast.fastapicloud.dev/api/search?q=save_prop).
