Skip to content
FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    Try live XAML

    Edit the markup and see actual FerroUI controls update. The example runtime loads only after you press Run example. The playground interprets XAML in the browser with a precompiled runtime; it cannot compile Rust, so declarative Rust views (builders, rsx!, components) run from the repository’s samples instead: cargo run -p hello-world-hooks, cargo run -p view-gallery, or cargo run -p todo-mvc. The controls you see here are the same ones a component creates.

    Buttons and commandsFerroUI · 0.5.0
    Try it for yourself

    Real controls, running in WebAssembly.
    The runtime downloads when you press Run.

    Shared runtime · 9.8 MB compressed · cached across examples
    Download project
    <StackPanel xmlns="https://github.com/ferroui" Spacing="12">
    <TextBlock Text="A clear next step" FontSize="20" />
    <Button Content="Continue" HorizontalAlignment="Left" />
    <Button Content="Unavailable" IsEnabled="False" />
    </StackPanel>
    Ready to explore

    Try changing the column definitions or preview width. Invalid markup leaves the last successful view in place.

    A responsive formFerroUI · 0.5.0
    Try it for yourself

    Real controls, running in WebAssembly.
    The runtime downloads when you press Run.

    Shared runtime · 9.8 MB compressed · cached across examples
    Download project
    <Grid xmlns="https://github.com/ferroui" ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto" Margin="12">
    <TextBlock Text="Name" Margin="0,0,16,12" />
    <TextBox Grid.Column="1" PlaceholderText="Your name" />
    <TextBlock Grid.Row="1" Text="Team" Margin="0,0,16,0" />
    <TextBox Grid.Row="1" Grid.Column="1" PlaceholderText="Your team" />
    </Grid>
    Ready to explore

    The local playground deliberately supports a limited registered vocabulary and bundled resources. Use the complete application samples for native services and custom code.

    1. Run the button example, then change Content to “Save changes” and run it again.
    2. Set IsEnabled="False" and confirm the control no longer activates.
    3. In the Grid example, switch between Auto,* and *,* columns and narrow the preview.
    4. Introduce an unknown property to inspect its error, then reset the example.

    This runner supplies a theme and supported type registration. A model binding such as {Binding SaveCommand} still needs an application model; typing it here does not create one. Follow the commands guide for that integration.