Default realization posture for standardized string widgets
FROG — Free Open Graphical Language
- Default realization package posture
- Machine-readable string realization manifest
- String default realization assets
- String widget class law
- Executable UI primitives
This document describes the default realization posture for the standardized string widget classes:
frog.widgets.string_controlfrog.widgets.string_indicator
It does not define string widget semantics.
The class law belongs to Libraries/Widgets/String.md.
This document describes how the default realization family can embody that law through SVG template resources, part bindings, state maps, and realization variants.
The default string realization follows the shared widget convention:
labelrealizes the structural/logical label surface when exposed.captionrealizes the front-panel user-facing caption.text_valuerealizes the current string value.placeholderrealizes optional placeholder text when the value is empty.
The default string realization publishes one initial compatible variant:
rectangular
The variant targets both string classes and is not a separate widget class.
Libraries/Realizations/Default/string.default.wfrogThat manifest declares target classes, realization records, variants, SVG resources, part bindings, state maps, property bindings, anchors, and host hints.
rootlabelcaptionframetext_regiontext_valueplaceholder
assets/string/templates/string_rectangular.svg
string public property
-> realization property binding
-> SVG template part or host-rendered surface
Representative bindings include caption.text to caption, value to text_value, placeholder.text to placeholder, style.frame.* to frame, style.text_region.* to text_region, and style.text.* to text_value.
The published String default realization keeps hover and text-region appearance on style.text_region.*.
It does not publish a focus_ring part, so runtimes must not add a separate hardcoded String focus surface.