Overlays
Popover
A small anchored panel for a quick edit or extra detail next to its trigger. For a full form use Dialog; for a list of actions use DropdownMenu.
function PopoverDemo() { return ( <Popover> <PopoverTrigger asChild> <Button variant="outline" className="w-full"> <Text>Open popover</Text> </Button> </PopoverTrigger> <PopoverContent className="w-[calc(100%-40px)]" side="bottom"> <View className="gap-3"> <Text className="font-semibold">Rename list</Text> <Text className="text-muted-foreground text-sm">A quick edit next to the thing it changes.</Text> <View className="gap-2"> <Label htmlFor="pop-name">Name</Label> <Input id="pop-name" defaultValue="Weekend plans" /> </View> <Button size="sm"> <Text>Save</Text> </Button> </View> </PopoverContent> </Popover> );}Usage
A small anchored panel for a quick edit or extra detail next to its trigger. For a full form use Dialog; for a list of actions use DropdownMenu.
API
<Popover><PopoverTrigger asChild /><PopoverContent side /></Popover>Get it
Already in every copy of the native kit:
import { Popover } from '@/components/ui/popover';Details
- Exports
Popover- Packages
- @rn-primitives/popover@^1.5.2, react-native-reanimated@4.5.1, react-native-screens@~4.26.0
- Installs with
- @halftone-native/lib-utils, @halftone-native/text, rnr/native-only-animated-view
- Also searched as
- bubble, anchored
- Registry JSON
- /r/native/popover.json
<Popover> <PopoverTrigger asChild> <Button variant="outline">Share</Button> </PopoverTrigger> <PopoverContent className="grid gap-2"> <Label htmlFor="demo-share">Invite by email</Label> <Input id="demo-share" placeholder="name@company.com" /> </PopoverContent></Popover>Get it
Already in every copy of the web kit:
import { Popover, PopoverTrigger, PopoverContent } from '@/components/ui/popover';Details
- Exports
Popover,PopoverTrigger,PopoverContent- Upstream
- Unchanged from shadcn/ui; installs from their registry.
Agents: the whole registry is at /llms.txt.