Overlays
Hover card
Available forNativeWeb
Opens on press on native.
Usage
Opens on press on native.
API
<HoverCard><HoverCardTrigger asChild /><HoverCardContent insets /></HoverCard>Get it
Already in every copy of the native kit:
import { HoverCard } from '@/components/ui/hover-card';Details
- Exports
HoverCard- Packages
- @rn-primitives/hover-card@^1.5.2, react-native-reanimated@4.5.1, react-native-screens@~4.26.0
- Installs with
- @kit-native/lib-utils, @kit-native/text, rnr/native-only-animated-view
- Also searched as
- preview, profile card
- Registry JSON
- /r/native/hover-card.json
Usage
For sighted mouse users it previews; touch users never see it. Keep it supplementary.
API
<HoverCard><HoverCardTrigger asChild /><HoverCardContent /></HoverCard>Get it
Already in every copy of the web kit:
import { HoverCard, HoverCardTrigger, HoverCardContent } from '@/components/ui/hover-card';Details
- Exports
HoverCard,HoverCardTrigger,HoverCardContent- Also searched as
- preview, profile card
- Upstream
- Unchanged from shadcn/ui; installs from their registry.
Agents: the whole registry is at /llms.txt.