Skip to content
vivi
Docs
Ctrl+K

Menu

Docs
  • Getting Started
    • Introduction
    • Rust
    • TypeScript / JavaScript
    • Visual Studio Code
    • Helix
  • Magic
    • AppBar
    • CheckBox
    • CircularProgressSlider
    • ComboBox
    • FormElement
    • GroupBox
    • IconButton
    • Icons
    • Styling
    • StateLayer
    • FilledButton
    • TabBar
    • TextButton
    • TextArea
    • TextField
    • TimePickerPopup
    • OutlineButton
    • ProgressSlider
    • MagicButtonBase
    • MagicHorizontalBox
    • MagicIcon
    • MagicProgressSliderBase
    • MagicText
    • MagicListView
    • MagicVerticalBox
    • MagicWindow
    • ScrollView
    • Switch
    • ListView
  • Foundation
    • AppBarBase
    • Border
    • ButtonBase
    • CheckBoxBase
    • ComboBoxBase
    • FormElementBase
    • GroupBoxBase
    • HorizontalLayoutBase
    • IconBase
    • TabBarBase
    • TextBase
    • TextInputBaste
    • RangeBase
    • FocusTouchArea
    • ScrollViewBase
    • VerticalLayoutBase

© 2026 Copyright © vivi developers · MIT

vivi docs

  • Getting Started
    • Introduction
    • Rust
    • TypeScript / JavaScript
    • Visual Studio Code
    • Helix
  • Magic
    • AppBar
    • CheckBox
    • CircularProgressSlider
    • ComboBox
    • FormElement
    • GroupBox
    • IconButton
    • Icons
    • Styling
    • StateLayer
    • FilledButton
    • TabBar
    • TextButton
    • TextArea
    • TextField
    • TimePickerPopup
    • OutlineButton
    • ProgressSlider
    • MagicButtonBase
    • MagicHorizontalBox
    • MagicIcon
    • MagicProgressSliderBase
    • MagicText
    • MagicListView
    • MagicVerticalBox
    • MagicWindow
    • ScrollView
    • Switch
    • ListView
  • Foundation
    • AppBarBase
    • Border
    • ButtonBase
    • CheckBoxBase
    • ComboBoxBase
    • FormElementBase
    • GroupBoxBase
    • HorizontalLayoutBase
    • IconBase
    • TabBarBase
    • TextBase
    • TextInputBaste
    • RangeBase
    • FocusTouchArea
    • ScrollViewBase
    • VerticalLayoutBase

© 2026 Copyright © vivi developers · MIT

  1. vivi docs
  2. Magic
  3. FormElement

FormElement

On this page
  • FormElement ›
    • Properties
    • Example

FormElement

A FormElement is a container that groups its children together under a common title without background.

Properties

  • title (in string): A text written as the title of the form element.
  • style (in FormElementStyle): Defines the style of the form element.

Example

import { FormElement, FilledButton } from "@vivi/magic.slint";
export component Example inherits Window {
    width: 200px;
    height: 100px;
    FormElement {
        title: "Button";
        FilledButton {
          text: "Click me";
        }
    }
}
← Previous ComboBox Next → GroupBox

On this page

  • FormElement ›
    • Properties
    • Example