EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • Popover
      • Tooltip
      • DropdownMenu
      • CommandMenu

Default usage

  1. EnterUI
  2. /Docs
  3. /Navigation and Overlays
  4. /Overlays
  5. /Floating UI
  6. /Popover
Updated 3 October 2026

Popover

A lightweight contextual surface anchored to a trigger.

Popover defines how EnterUI handles a lightweight contextual surface anchored to a trigger, including default structure, accessible states, and token-driven styling.

#Default usage

Default popover

Popover is elevated but intentionally light.

Code
<Popover>
  <PopoverTrigger asChild><Button variant="secondary">Open popover</Button></PopoverTrigger>
  <PopoverContent>
    <VStack align="stretch" gap={12} fullWidth>
      <strong>Preview settings</strong>
      <Text as="span" tone="muted">Contextual controls stay near the trigger.</Text>
      <Switch aria-label="Preview updates" defaultChecked />
    </VStack>
  </PopoverContent>
</Popover>

#Import

Code
import { Button, Popover, PopoverContent, PopoverTrigger, Switch, Text, VStack } from "@froggdesign/enter-ui-react";

#Accessibility

Popover uses Radix behavior for dismissing, focus handling, portal layering, and trigger association.

#API

  • PopoverContent supports align, side, sideOffset, and className.
  • PopoverTrigger supports asChild.
  • PopoverArrow is exported when an arrow is needed.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousBanner
NextTooltip
On this page
  • Default usage
  • Import
  • Accessibility
  • API
  • Styling