# 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
cargo run --example studio_gallery
cargo run --example cupertino_showcase
```
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.
`studio_gallery` is the professional widget showcase: searchable iced widget cards, hover glow, overlay-style previews, generated image/SVG/QR/canvas/Markdown surfaces, pane-grid and editor samples, and renderer-neutral `rae` gallery models driving the interaction state.
`cupertino_showcase` is the macOS-style desktop surface showcase: traffic lights, titlebar vibrancy, toolbar search, source lists, segmented controls, sheets, inspector panels, glow, loaders, and renderer-neutral `rae` chrome/source-list/presentation models.