Halo
Deprecation warning
This component has been replaced by the newer Interactable
Displays a translucent overlay when an element is hovered over or has focus.
Importing
1
import { Halo } from '@infinityfx/fluid';Usage
API reference
Halo Props
hover?
boolean
true
color?
string
Custom color for the hover/focus highlight overlay.
target?
React.RefObject<HTMLElement | null>
Ref of target element that triggers highlight on hover/focus (defaults to self).
disabled?
boolean