examples/

directory
v0.2.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT

README

Examples

Run any example with go run ./examples/<name>.

Getting Started

Example Description
minimal Simplest blit app — a movie watchlist in ~30 lines
dashboard Full-featured dashboard with Table, DualPane, ConfigEditor, overlays, and keybindings
monitor Service fleet dashboard with live data, CollapsibleSection, DetailOverlay, CommandBar, and notifications

Components

Example Description
bigtable Virtualized Table over 1,000,000 rows with lazy row rendering
charts All chart types in a 2x3 grid: bar, line, ring, gauge, heatmap, sparkline
form Form component with validators and wizard mode
logview LogViewer streaming fake logs at 50 Hz with level filtering
picker File browser with fuzzy filtering and content preview
tabs Tabs component nesting a Table, list, and text pane
filetree Tree component as a file browser

Layout

Example Description
flex HBox/VBox flex layout with mixed fixed and flex children
splitpane Split layout with Viewport and Breadcrumbs

CLI

Example Description
cli-demo Interactive CLI primitives (confirm, select, input, spinner, progress) without a full-screen TUI

Theming

Example Description
theme-dev Theme hot-reload — edit theme.yaml while running and watch colors update live

Networking

Example Description
ssh-serve Host a blit dashboard over SSH via Charm Wish

Directories

Path Synopsis
Package main demonstrates the virtualized Table over 1,000,000 rows.
Package main demonstrates the virtualized Table over 1,000,000 rows.
Package main demonstrates all blit chart types in a single dashboard.
Package main demonstrates all blit chart types in a single dashboard.
Package main demonstrates blit's cli/ package — interactive CLI primitives that work without a full-screen TUI.
Package main demonstrates blit's cli/ package — interactive CLI primitives that work without a full-screen TUI.
Package main demonstrates a full-featured blit dashboard.
Package main demonstrates a full-featured blit dashboard.
Package main demonstrates HBox/VBox flex layout with mixed fixed and flex children.
Package main demonstrates HBox/VBox flex layout with mixed fixed and flex children.
Package main demonstrates the blit Form component with validators and wizard mode.
Package main demonstrates the blit Form component with validators and wizard mode.
Package main demonstrates the LogViewer component streaming fake logs at 50 Hz.
Package main demonstrates the LogViewer component streaming fake logs at 50 Hz.
Package main demonstrates the simplest possible blit application.
Package main demonstrates the simplest possible blit application.
Package main demonstrates a full-featured blit service monitor dashboard.
Package main demonstrates a full-featured blit service monitor dashboard.
Package main demonstrates the blit Picker as a file browser.
Package main demonstrates the blit Picker as a file browser.
Package main demonstrates the Split, Viewport, and Breadcrumbs components.
Package main demonstrates the Split, Viewport, and Breadcrumbs components.
Package main demonstrates hosting a blit dashboard over SSH via Charm Wish.
Package main demonstrates hosting a blit dashboard over SSH via Charm Wish.
Package main demonstrates the blit Tabs component.
Package main demonstrates the blit Tabs component.
Package main demonstrates blit's theme hot-reload feature.
Package main demonstrates blit's theme hot-reload feature.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL