Appearance
jio-dimmer
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| isEnabled | Whether the dimmer is currently visible | boolean | - | |
| hideOnLargeScreen | Whether to hide the dimmer on larger windows | boolean | - |
General
This component is used to dim the background, so that a particular element becomes emphasized. For instance, when interacting with the navbar, other elements on the page may be dimmed.
Code examples
A button that enables the dimmer. Click the dimmed area to remove it.
Enable dimmer