Logo FS-Skia-UI

Controls Gallery — Display & Typography Page Spec

Inherits the shell, palette, pointer contract, keyboard contract, and determinism rules from 00-controls-gallery-overview.md.

Goal

Demonstrate every read-only display and typography control rendering faithful geometry under the gallery palette, with pointer hover surfacing tooltips and selection where applicable.

Controls Demonstrated

Control

Module

Required

Events

Demonstrates

text-block

TextBlock

text

Static multi-line body text

rich-text

RichText

runs

Styled runs: weight, color, size, clipping

label

Label

text

Short field labels

image

Image

value

Image placeholder / drawing-surface reference

icon

Icon

text

Named glyph at several sizes

separator

Separator

Horizontal and vertical dividers

badge

Badge

text

Compact status counts in accent/success/danger

User Experience

The page presents a vertical, scrollable sequence of titled sections — one per control — each pairing a short label with a live instance. Nothing here is editable, but hovering any element raises its tooltip and updates the status strip, proving the pointer pipeline reaches even non-interactive controls.

Layout

Mouse & Pointer Interactions

Keyboard

Core Behaviors

Data Model

Visual / Palette Requirements

App State

Track: section list; rich-text run definitions; per-badge selected flags; hovered control id; scroll offset.

Determinism and Evidence

Acceptance Criteria

Out of Scope

Type something to start searching.