SwiftUI.js
Components

HoverEffect

HoverEffect adapts SwiftUI's hover feedback modifiers into explicit pointer-oriented wrappers for the web.

HoverEffect adapts SwiftUI's hover feedback modifiers into explicit pointer-oriented wrappers for the web.

Examples

Highlight

Preview unavailable for this example in the static docs build.

Show code
<HoverEffect effect="highlight">
      <Button>Hover me</Button>
    </HoverEffect>

Variants

Preview unavailable for this example in the static docs build.

Show code
<HoverEffect effect="lift">
      <Button>Pointer lift</Button>
    </HoverEffect>

API

PropTypeRequiredDescription
effect'lift' | 'highlight'NoNo description yet.
disabledbooleanNoNo description yet.

Inherits additional props from IBaseComponent.

Overview

HoverEffect adapts SwiftUI's hover feedback modifiers into explicit pointer-oriented wrappers for the web.

On this page