> For the complete documentation index, see [llms.txt](https://sygnal.gitbook.io/sygnal-webflow-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sygnal.gitbook.io/sygnal-webflow-components/cc/sygnal-components/switch.md).

# Switch

A form of conditional visibility that allows for contextual variations delivered, ideally at SSR.&#x20;

* Browser variations&#x20;
* Country code variations&#x20;
* Device variations&#x20;
  * e.g. Screen width&#x20;
* Current datetime rules&#x20;

## Implementation&#x20;

* Switch wrapper component&#x20;
* Case slotted components&#x20;
* Case slots whatever content you want&#x20;

### Case Rules&#x20;

**Ordering matters.**&#x20;

Hit and accept the first match.  The last case should be default as fallback, if you want one, no rules on that one.&#x20;

Described as;

* Bindable props
* A rule string to access them?&#x20;
