Hover
Hover trigger component that displays content on hover. Content appears below the trigger element with shadow and border.Import
Props
Trigger element(s) that show content on hover
Props for the hover content container (including children to display)
Custom styles for the trigger container
Usage
Notes
- Content is hidden by default and shown on hover
- Positioned absolutely below the trigger (top: 100%)
- Content has white background with border and box shadow
- Border radius of 24px
- Content container has 24px padding
- z-index of 10 ensures content appears above other elements
- Uses CSS
:hoverpseudo-class for simple implementation