# Switcher

The [`Switcher`][Switcher] widget allows switching between different widgets at
runtime. It can be used with a read-only `WidgetInstance` dynamic or a
convenience function that allows switching based on a mapping function that
produces the new widget to display.

[Switcher]: <{{ docs }}/widgets/struct.Switcher.html>
