# Examples
These examples are working `iced` applications.
They use the same model-view-update shape as `iced` applications:
- State owns application data.
- `Message` describes intent.
- `update` is the only mutation path.
- `view` derives widgets from immutable state.
- `cargo run --example pane_grid` opens a real resizable pane-grid window.
Run them with:
```bash
cargo run --example counter
cargo run --example text_input
cargo run --example pane_grid
cargo run --example code_editor
```
Use these as app-shell examples. The reusable `rae` library remains renderer-neutral; `iced` is only a dev-dependency used by examples.
`code_editor` includes a pane-grid shell, syntax-highlighted editor, command search, snippet insertion, diagnostics, sanitized assistant output, catalog inspection, token summaries, code metrics, and shortcuts for the command actions.