Expand description
euv-example
Cross-platform native showcase application built with euv and euv-ui, demonstrating fine-grained reactivity, multi-mode rendering, window settings, 17 design schemes, virtualized lists, and overlays.
Structs§
- Charts
Signals - Lazily initialized signals powering the
/chartsECharts Studio page. - Data
Signals - Lazily initialized signals powering the
/datavirtualized list page. - Demo
Open World3D Scene - Interactive AAA 3D open-world city scene with PBR shading, BVH ray tracing, model importing, and runtime settings.
- Demo
Physics Scene - Full-featured 2D arcade arena scene powered by
GameWorld,PhysicsWorld2D,Camera2D,ParticleSystem,TileMap,ActionMap, andAudioBus. - Dynamic
Signals - Lazily initialized signals powering the
/dynamicOTA & WASM showcase page. - Engine3d
Signals - Lazily initialized signals powering the
/game3dPBR + BVH ray-tracing page. - Forms
Signals - Lazily initialized signals powering the
/formsshowcase page. - LabSignals
- Lazily initialized signals powering the
/labUI & Edge Lab page. - Lazy
Water Scene - Zero-boot-cost lazy
GameScenewrapper deferringGyroLiquidGameSceneallocation until/wateris visited. - Markdown
Signals - Lazily initialized signals powering the
/markdownMarkdown & Code Studio page. - Media
Sample Bundle - Decoded Media Studio sample assets assembled off the UI critical path and committed atomically.
- Media
Signals - Lazily initialized signals powering the
/mediaMedia Studio page. - Overlays
Signals - Lazily initialized signals powering the
/overlaysshowcase page. - Reactive
Signals - Lazily initialized signals powering the
/reactiveshowcase page. - Render
Window Signals - Lazily initialized signals powering the
/renderand/windowshowcase pages. - Showcase
Global Banner - App-wide reactive global state store registered via
#[store]and observed withwatch!(global ...). - Showcase
Page - Typed
Component+Lifecyclepage wrapper enforcingPageRetention::Freezefor every showcase route. - Showcase
Pulse Event - Cross-component custom event emitted via
#[event]/emit!and received viaon!across showcase pages. - Showcase
Route Spec - Single source of truth describing one showcase route: path, navigation copy, sidebar section, quick-launch badge, and page builder.
- Showcase
State - Reactive application state powering the cross-platform showcase with minimal boot signals and lazy route-scoped signal groups.
- Stress
Case Result - Measured performance telemetry for a single interactive UI stress benchmark scenario.
- Stress
Signals - Lazily initialized signals powering the
/stressStress Lab page. - Wasm
Registry Entry - Pre-built
.wasmOTA registry entry(url, bytes, etag, fault)generated off the UI critical path. - Wasm
Sample Bundle - Collection of pre-built
.wasmOTA registry payloads generated off the UI critical path. - Water
Signals - Lazily initialized signals powering the
/watergyroscope liquid physics studio page.
Constants§
- FLAG_
AI_ QUERY - Dev-only CLI flag executing a single AI Schema v1 JSON request against the headless showcase.
- FLAG_
AI_ SCHEMA - Dev-only CLI flag printing the live AI Schema v1 runtime & layout snapshot JSON.
- FLAG_
CAPTURE_ DIR - Command-line flag capturing raw RGBA screenshots of all showcase routes into the following directory.
- FLAG_
HARDWARE - Command-line flag selecting the hardware GPU pipeline.
- FLAG_
HEADLESS - Command-line flag enabling deterministic headless execution.
- FLAG_
HYBRID - Command-line flag selecting the hybrid compositor pipeline.
- FLAG_
INTERACTIVE - Command-line flag keeping the native window open in an interactive event loop.
- FLAG_
SOFTWARE - Command-line flag selecting the software rasterizer.
- ROUTE_
AUTOMATION - Route path for the dedicated AI Bridge & E2E automation inspection page.
- ROUTE_
CHARTS - Route path for the interactive Apache ECharts 20-series vector showcase page.
- ROUTE_
CONTROLS - Route path for the dedicated Buttons & Navigation controls page.
- ROUTE_
DATA - Route path for the virtualized list and table showcase page.
- ROUTE_
DISPLAY - Route path for the dedicated Cards, Badges & Content Display page.
- ROUTE_
DYNAMIC - Route path for the component-level and page-level dynamic OTA updates showcase page.
- ROUTE_
DYNAMIC_ PANEL - Route path for the embedded page-level dynamic update preview slot.
- ROUTE_
FORMS - Route path for the interactive forms showcase page.
- ROUTE_
GAME - Route path for the embedded game engine & HUD showcase page.
- ROUTE_
GAME_ 3D - Route path for the AAA 3D open-world PBR & ray-tracing engine showcase page.
- ROUTE_
LAB - Route path for the Architecture & Cases composition recipes page.
- ROUTE_
MARKDOWN - Route path for the Eva-themed CodeBlock and complete GitHub-Flavored Markdown showcase page.
- ROUTE_
MEDIA - Route path for the full cross-platform media studio (Image, SVG, GIF, LIVE, Video, Audio, PDF, HTML).
- ROUTE_
MERMAID - Route path for the dedicated 11-family Mermaid diagram studio page.
- ROUTE_
OVERLAYS - Route path for the modal, toast, and alert overlay showcase page.
- ROUTE_
OVERVIEW - Route path for the overview dashboard page.
- ROUTE_
PROMO_ LIVE - Runtime-injected dynamic route path created on demand without recompiling.
- ROUTE_
REACTIVE - Route path for the fine-grained reactivity demo page.
- ROUTE_
RENDER - Route path for the multi-mode rendering and vector canvas page.
- ROUTE_
STRESS - Route path for the interactive UI stress & performance lab page.
- ROUTE_
SYSTEM - Route path for the dedicated System Events, Lifecycle & Input diagnostics page.
- ROUTE_
THEMES - Route path for the 17-scheme live theme gallery page.
- ROUTE_
WATER - Route path for the real-time gyroscope liquid water physics studio page.
- ROUTE_
WINDOW - Route path for the native window and platform inspector page.
- SHOWCASE_
BRAND - Application brand title displayed in the shell chrome.
- SHOWCASE_
WINDOW_ HEIGHT - Default logical window height in pixels.
- SHOWCASE_
WINDOW_ TITLE - Default window title for the native showcase binary.
- SHOWCASE_
WINDOW_ WIDTH - Default logical window width in pixels.
- SLOT_
METRICS_ WIDGET - Component slot identifier for the independent live-updatable metrics widget.
- SLOT_
PROMO_ BANNER - Component slot identifier for the live-updatable promotional banner.
- SLOT_
WASM_ WIDGET - Scoped partial slot identifier for the live downloaded
.wasmnative widget. - STRESS_
ID_ CJK_ ATLAS - Scenario identifier for the Unicode + CJK glyph rasterization and RGBA8 atlas packing benchmark.
- STRESS_
ID_ DRAWER_ ANIM - Scenario identifier for the 30-frame shadowed drawer & modal animation trace benchmark.
- STRESS_
ID_ GAME_ 2D_ 3D - Scenario identifier for the 2D physics (256 bodies) + 3D BVH ray-tracing benchmark.
- STRESS_
ID_ HIDPI_ SHADOW - Scenario identifier for the HiDPI 3x/4x Gaussian shadow and SDF rasterizer benchmark.
- STRESS_
ID_ LAYOUT_ 2000 - Scenario identifier for the 2,000-node Flex/Grid complex layout benchmark.
- STRESS_
ID_ MACRO_ MOUNT - Scenario identifier for the declarative
view!macro tree mount/unmount benchmark. - STRESS_
ID_ REACTIVE_ 1000 - Scenario identifier for the 1,000-component bulk reactive signal/memo benchmark.
- STRESS_
ID_ TOUCH_ HITTEST - Scenario identifier for the 240Hz multi-touch pan and 1,000-node hit-test benchmark.
- STRESS_
ID_ VLIST_ 100K - Scenario identifier for the 100,000-row virtualized list scroll benchmark.
- STRESS_
ID_ WASM_ HOTSWAP - Scenario identifier for the dynamic
.wasmverification, hot-swap, and rollback benchmark. - TITLE_
WASM_ PARTIAL_ V1 - Display title for the downloaded partial WASM v1 widget fixture.
- URL_
WASM_ BAD_ ABI - CDN URL serving a
.wasmwith mismatched ABI version. - URL_
WASM_ CORRUPTED - CDN URL serving corrupted non-WASM magic header bytes.
- URL_
WASM_ FUEL_ BOMB - CDN URL serving an infinite-loop
.wasmterminated by fuel metering. - URL_
WASM_ GLOBAL_ V1 - CDN URL for healthy global full-app
.wasmbundle v1. - URL_
WASM_ GLOBAL_ V2 - CDN URL for healthy global full-app
.wasmbundle v2. - URL_
WASM_ HTTP_ 500 - CDN URL simulating persistent HTTP 500 server error.
- URL_
WASM_ MISSING_ EXPORT - CDN URL serving a
.wasmmissingeuv_renderexport. - URL_
WASM_ OVERSIZED - CDN URL serving an oversized binary exceeding sandbox limit.
- URL_
WASM_ PARTIAL_ V1 - CDN URL for healthy partial
.wasmmodule v1. - URL_
WASM_ PARTIAL_ V2 - CDN URL for healthy partial
.wasmmodule v2. - URL_
WASM_ TAMPERED - CDN URL serving checksum-tampered
.wasmbytes. - URL_
WASM_ TIMEOUT_ RETRY - CDN URL simulating first-attempt timeout followed by automatic retry success.
- URL_
WASM_ TRAP - CDN URL serving a trapping
unreachable.wasm. - WASM_
SHOWCASE_ SIGNING_ KEY - Shared verification key used to sign showcase dynamic
.wasmbundles.
Functions§
- capture_
showcase_ screenshots - Renders all showcase routes, responsive viewports, dark mode, scroll positions, and overlays to raw RGBA files using native system fonts.
- create_
showcase_ app - Builds an
Appand reactiveShowcaseStateconfigured for either native OS or headless mode. - create_
showcase_ app_ default - Builds an
Appand reactiveShowcaseStateusing the default max-performance configuration (RenderMode::Auto). - create_
showcase_ app_ for_ platform - Builds an
Appand reactiveShowcaseStatereporting a specific hostPlatformKind(for native mobile hosts). - create_
showcase_ app_ with_ viewport - Builds an
Appand reactiveShowcaseStateconfigured with explicit initial logical viewport dimensions and DPR scale. - default_
showcase_ render_ config - Builds the default highest-performance
RenderConfigformode(hardware-first, dirty rects enabled, uncapped refresh). - default_
stress_ results - Returns the default list of 10 interactive UI stress benchmark scenarios in
IDLEstate. - execute_
stress_ batch - Executes a slice of stress scenario identifiers sequentially and updates live summary telemetry.
- execute_
stress_ case - Executes a single interactive stress scenario by
scenario_idand updatesstatesignals immediately. - mount_
active_ route - Mounts the showcase page corresponding to the active route in
state. - mount_
automation_ page - Mounts the dedicated AI Bridge & E2E Automation inspection studio page.
- mount_
charts_ page - Mounts the lazily hydrated ECharts Studio (
/charts) showcase page demonstrating all 20 Apache ECharts series types. - mount_
controls_ page - Mounts the dedicated Buttons & Navigation page in a full-width responsive grid.
- mount_
data_ page - Mounts the Data Display page featuring
EuvStatGrid, 100kEuvVirtualList,EuvDataTable, fullscreenEuvTable,EuvTree, andEuvProgress. - mount_
display_ page - Mounts the dedicated Cards, Badges & Content Display page in a full-width responsive grid.
- mount_
dynamic_ page - Mounts the interactive component-level and page-level dynamic OTA updates showcase page.
- mount_
forms_ page - Mounts the full-width responsive Forms & Input Controls showcase covering text fields, validation, toggles, sliders, full-width dropdowns, OTP, tags, and pickers.
- mount_
game3d_ page - Mounts the 3D Open-World RT Engine studio with a wide BVH viewport beside the graphics quality, lighting, and live model-import inspector rail.
- mount_
game_ page - Mounts the 2D physics & sprite engine studio with a wide arena viewport beside the simulation and arcade-control rail.
- mount_
lab_ page - Mounts the clean Architecture & Cases page featuring the persistent Architecture navigation case study plus compact real-world composition recipes.
- mount_
markdown_ page - Mounts the dedicated Markdown & Code Studio page showcasing GFM prose, alerts, math, footnotes, no-ellipsis fullscreen tables, and Eva Bold
EuvCodeBlockwith interactiveEuvCodeBlockSizeModeswitching. - mount_
media_ page - Mounts the complete cross-platform Media Studio page demonstrating Image, SVG, GIF, LIVE Photo, Video, Audio, PDF, and native HTML5 in a fluid responsive grid.
- mount_
mermaid_ page - Mounts the dedicated 11-family Mermaid Diagram Studio page with category tabs, full-width inline 2D-scrollable vector diagram + fullscreen zoom, and a live side-by-side source preview rail.
- mount_
overlays_ page - Mounts the Overlays, Modals & Toasts page with lazily mounted portals, gesture drawers/sheets, anchored menus, feedback banners, and a global Command Palette launcher.
- mount_
overview_ page - Mounts the executive Overview landing page with
euv.pngbrand hero, live runtime KPI strip, categorized quick-launch cards, and framework highlights. - mount_
reactive_ page - Mounts the dedicated Reactivity & Single-Word Macros lab page.
- mount_
render_ page - Mounts the Rendering & GPU Effects studio page with strictly widget-scoped controls.
- mount_
showcase_ root - Mounts the fully reactive showcase application shell with lazy
PageRetention::Freezerouting and cross-component events. - mount_
stress_ page - Mounts the declarative Interactive UI Stress & Performance Lab page (
/stress). - mount_
system_ page - Mounts the dedicated System Events, Lifecycle & Input Diagnostics page.
- mount_
themes_ page - Mounts the Design System studio: scheme selector + live preview rail beside the semantic palette, radius, control-height, typography and spacing scales.
- mount_
water_ page - Mounts the real-time Gyroscope Liquid Water Studio page with an adaptive interactive liquid vessel, 6-DOF
use_device_motion()synchronization, edge-to-edge fullscreen portal, and SI physics inspector rail. - mount_
window_ page - Mounts the Window, Viewport & Hardware Info page with responsive grids and OS service controls.
- run_
headless_ smoke - Runs a complete headless smoke render of the showcase and returns frame telemetry.