Inspector panel
Right-pane inspector used by both the editor and the cursor studio.
Tab strip (Style / Cursor / Audio / Captions / AI) + zero-or-more
PropertySection blocks rendering rows with slider / toggle / color
swatch / pill controls.
States
| State | Story |
|---|---|
| Style tab | inspector-style-tab |
| Cursor tab | inspector-cursor-tab |
| Disabled rows | inspector-disabled-section |
| Slider row | property-row-slider |
| Toggle row | property-row-toggle |
| Color swatch row | property-row-color-swatches |
API
#![allow(unused)] fn main() { use ui_storybook::components::editor::{InspectorPanel, InspectorTab}; use ui_storybook::fixtures::editor::sample_inspector_style_tab; view! { <InspectorPanel view=sample_inspector_style_tab() /> } }
PropertyControlView is an enum (ValueOnly, SliderPercent,
Toggle, ColorSwatches, SelectPill) so all five common controls
render through the same row layout without dragging a Children
slot through the macro. If a future panel needs something custom,
add a new variant — the parent never has to ship its own row markup.