BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/glasswave/popover

Popover

glasswave/popover
FreeComponent

Displays rich content in a portal, triggered by a button.

Live preview

live · rendered by the registry
Rendered by glasswave on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://glasswave.denizisik.com/r/popover.json

Source

registry/glasswave/ui/popover.tsxglasswave.denizisik.com/r/popover.json
1"use client";
2
3import * as PopoverPrimitive from "@radix-ui/react-popover";
4import * as React from "react";
5
6import { cn } from "@/lib/utils";
7import { glass } from "@/lib/glass";
8
9const Popover = PopoverPrimitive.Root;
10
11const PopoverTrigger = PopoverPrimitive.Trigger;
12
13const PopoverContent = React.forwardRef<
14 React.ElementRef<typeof PopoverPrimitive.Content>,
15 React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>
16>(({ className, align = "center", sideOffset = 4, ...props }, ref) => (
17 <PopoverPrimitive.Portal>
18 <PopoverPrimitive.Content
19 ref={ref}
20 align={align}
21 sideOffset={sideOffset}
22 className={cn(
23 glass,
24 "z-50 w-72 rounded-[32px] border p-4 shadow-md outline-none text-gray-900 dark:text-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
25 className,
26 )}
27 {...props}
28 />
29 </PopoverPrimitive.Portal>
30));
31PopoverContent.displayName = PopoverPrimitive.Content.displayName;
32
33export { Popover, PopoverTrigger, PopoverContent };

What it pulls in

npm packages

  • @radix-ui/react-popover

Other registry items

  • @glasswave/glass

Files it writes

  • registry/glasswave/ui/popover.tsx

Facts

Registry
glasswave
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

Docs on glasswave glasswave.denizisik.com deniiiiz-i/glasswave on GitHub Raw registry item This item as JSON

More from glasswave

All 60 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionglasswaveComponentsFree2 deps
AlertalertglasswaveComponentsFree1 dep
Alert Dialogalert-dialogglasswaveComponentsFree1 dep
Aspect Ratioaspect-ratioglasswaveComponentsFree1 dep
AvataravatarglasswaveComponentsFree1 dep
BadgebadgeglasswaveComponentsFree1 dep
BreadcrumbbreadcrumbglasswaveComponentsFree2 deps
ButtonbuttonglasswaveComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex