Popover
Content anchored to its trigger.
- Native host
- Liquid Glass on iOS 26
- New in 0.1
import { Popover, popoverPrimitive } from "nitro-ui-sdk/popover";- HeroUI Native
- Popover
- Expo UI
- PopoverTooltip

Light 
Dark 
Liquid Glass
On this page
Popover presents brief information and actions next to a trigger. Use Dialog when the content should be centered and take focus independently of the trigger.
Anatomy
import { Popover } from "nitro-ui-sdk/popover";
<Popover.Root label="Sharing details" title="Who can view?" closeLabel="Close">
<Popover.Trigger />
<Popover.Content>
<Popover.Title />
<Popover.Description>Team members can view this draft.</Popover.Description>
<Popover.Close />
</Popover.Content>
</Popover.Root>;
| Part | Description |
|---|---|
| Root | Owns visibility, actions and the anchor. Renders a trigger and content by default. |
| Trigger | Opens the anchored presentation. |
| Content | Hosts scrollable React content in the platform popover. |
| Title | Accessible heading. |
| Description | Supporting message. |
| Action | A button for a configured action ID. |
| Close | Optional visible dismiss button. |
Usage
import { Popover } from "nitro-ui-sdk/popover";
<Popover.Root label="Shipping details" title="Delivery" message="Estimates include weekends." />;
Variants and sizes
The anchored presentation has sm, md and lg widths. Set arrow to any, up, down, left or right. Arrow directions describe the arrow pointing toward the trigger. UIKit resolves available placement.
States
Set disabled to block opening through the trigger, controller or agent. Choices also support individual disabled states. An outside tap dismisses the popover. UIKit keeps the presentation anchored on iPhone.
Controlled
import { useState } from "react";
import { Popover } from "nitro-ui-sdk/popover";
export function Details() {
const [open, setOpen] = useState(false);
return <Popover.Root label="Details" title="Delivery" open={open} onOpenChange={setOpen} />;
}
Use defaultOpen for uncontrolled initial visibility. Call details.preventDefault() to decline a request. An accepted controlled request takes effect after the owner renders the new value.
Liquid Glass
UIKit supplies the popover chrome on iOS 26 when glass is enabled. The trigger uses MaterialView. With opaque material, the popover uses the theme’s overlay fill. The Android popup uses the same opaque fill.
Props
Root
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | required | Trigger’s visible and spoken name. |
| title | string | required | Heading and presentation name. |
| message | string | — | Supporting description. |
| closeLabel | string | — | Renders and names a dismiss button. |
| actions | readonly PopoverAction[] | [] | Action IDs, labels, callbacks and optional disabled, destructive and confirm settings. |
| arrow | PopoverArrow | any | Arrow direction preference. |
| size | PopoverSize | md | Content width. |
| open / defaultOpen | boolean | false | Controlled or initial visibility. |
| onOpenChange | (open, details) => void | — | Visibility request and source. |
| disabled | boolean | false | Blocks opening and choice activation. |
| styles | PopoverStyles | — | Part style resolvers. |
| api | Controller |
— | Controller binding. |
| agentId | string | — | Stable agent identity. |
| children | ReactNode | default anatomy | Custom composition. Include a Trigger and Content. |
Trigger, Title, Description, Close
| Prop | Type | Default | Description |
|---|---|---|---|
| part | PopoverPart | component part | Style part to resolve. |
| children | string | matching Root string | Override visible text. |
Content
| Prop | Type | Default | Description |
|---|---|---|---|
| part | PopoverPart | content | Style part to resolve. |
| children | ReactNode | default content | Hosted body. |
Action
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | required | Selects a Root action. |
| part | PopoverPart | action | Style part to resolve. |
| children | string | action label | Override button label. |
Controller API
import { useState } from "react";
import { Popover, popoverPrimitive } from "nitro-ui-sdk/popover";
export function ControlledByParent() {
const [api] = useState(popoverPrimitive.createApi);
return <Popover.Root api={api} label="Details" title="Delivery" />;
}
| Action | Signature | Result |
|---|---|---|
| open | (source?) => ChangeStatus | Requests visibility. |
| close | (source?) => ChangeStatus | Requests dismissal. |
| press | (id, source?) => ActionStatus | Runs the enabled action in an open popover, then requests dismissal if accepted. |
Styles
import { Popover } from "nitro-ui-sdk/popover";
<Popover.Root
label="Details"
title="Delivery"
styles={{ content: ({ tokens }) => ({ layout: { padding: tokens.spacing.xl } }) }}
/>;
Resolvers receive tokens, the anchored variant, size, and open and disabled state fields.
Accessibility
The trigger is a named button. The presentation provides a heading, body text and named actions. VoiceOver can dismiss it with Escape and focus returns to the trigger. Set closeLabel to provide an explicit dismiss button.
Agent API
| Action | Arguments | Notes |
|---|---|---|
| open | None | Open from the trigger. A controlled owner can decline. |
| close | None | Close the foreground presentation. |
| press | Action ID string | A configured confirmation gates protected actions. |
Platform notes
| iOS | Android | |
|---|---|---|
| Implementation | UIPopoverPresentationController with hosted React content and system placement. |
Focusable PopupWindow with hosted React content and positional arrow preference. |
| Verification | iOS harness. | Implementation written. Build and runtime verification require an Android NDK. |