zui docs v0.0.5
GitHub ↗
Display, content, and media Native Qt

Panel Hero

Panel Hero is a native Zui component in the display, content, and media catalog, with 8 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
panel_hero "Build complete", meta: "main · 42s", detail: "All checks passed"
API

Component properties

8 component-specific values, plus shared item and layout properties.

titleTitle configuration for Panel Hero.property
metaMeta configuration for Panel Hero.property
detailDetail configuration for Panel Hero.property
foregroundForeground configuration for Panel Hero.property
font_familyFont family configuration for Panel Hero.property
icon_sizeIcon size configuration for Panel Hero.property
icon_opacityIcon opacity configuration for Panel Hero.property
meta_opacityMeta opacity configuration for Panel Hero.property
Show 17 shared item properties
visibleenabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

This renderer is display-only and does not emit component-specific events.