gitstack

grindlemire/go-tui code browser

403 B markdown 17 lines 2026-04-18 · 7dc88fd raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Multi-Component

Shows how to structure multi-file applications with shared `State[T]` passed between parent and child components, and the mount system that caches children across renders.

## Screenshot

![Multi-Component](../../docs/images/guides/14.png)

## Run

```bash
go run .
```

## Guide

For a detailed walkthrough, see the [Multi-Component guide](https://go-tui.dev/guide/multi-component).