Gesso
Components

Popover

Raised panel anchored to a trigger. Click to open, Esc or click-outside to close.

A Radix popover ported from Atlas. Content sits on bg-surface-raised with a light ring. atlas-rootfont-sans. Enter/exit is fade-only so motion does not fight Radix popper positioning. Header / title / description are optional layout slots.

Usage

import { Button } from '@/components/ui/button';
import {
  Popover,
  PopoverContent,
  PopoverDescription,
  PopoverHeader,
  PopoverTitle,
  PopoverTrigger,
} from '@/components/ui/popover';

<Popover>
  <PopoverTrigger asChild>
    <Button>Filters</Button>
  </PopoverTrigger>
  <PopoverContent>
    <PopoverHeader>
      <PopoverTitle>Filters</PopoverTitle>
      <PopoverDescription>Applied to this view only.</PopoverDescription>
    </PopoverHeader>
  </PopoverContent>
</Popover>

Install

shadcn add @gesso/popover

On this page