Skip to main content

mount_forms_page

Function mount_forms_page 

Source
pub fn mount_forms_page(state: &ShowcaseState, tokens: ThemeTokens) -> NodeId
Expand description

Mounts the full-width responsive Forms & Input Controls showcase covering text fields, validation, toggles, sliders, full-width dropdowns, OTP, tags, and pickers.

§Arguments

  • &ShowcaseState - Reactive showcase state.
  • ThemeTokens - Active design tokens.

§Returns

  • NodeId - Mounted forms page node.