halaska-studio

Popover

Component

About

A click-triggered floating panel anchored to its trigger button, used to show contextual details, settings, or a quick inline form without navigating away from the page.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Popover to your project and fits it to your theme.

Code

How Popover is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import Popover from "@/components/ui/popover";
import Button from "@/components/ui/popover-utils/button";
import Stack from "@/components/ui/popover-utils/stack";
import Text from "@/components/ui/popover-utils/text";

export default function PopoverDemo() {
  return (
    <div className="flex items-center justify-center w-full h-full min-h-[320px] p-10">
      <Popover trigger={<Button variant="outline">Ticket details</Button>}>
        <Stack gap={4} style={{ width: 220 }}>
          <Text weight="medium">#4821 Invoice shows the wrong plan</Text>
          <Text size="sm" secondary>
            Opened by Acme 12 minutes ago through Intercom.
          </Text>
        </Stack>
      </Popover>
    </div>
  );
}

More by halaska-studio

View all
  • Dot Grid

    Dot Grid

    24
  • Orb

    Orb

    15
  • Segmented Control

    Segmented Control

    8
  • Choicebox

    Choicebox

    6
  • Combobox

    Combobox

    5
  • Input OTP

    Input OTP

    4
  • Dialog

    Dialog

    3
  • Table

    Table

    2