BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/octane/popover

Popover

octane/popover
FreeComponent

octane publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://raw.githubusercontent.com/octanejs/octane/main/packages/shadcn/registry/popover.json

Source

ui/popover.tsrxraw.githubusercontent.com/octanejs/octane/main/packages/shadcn/registry/popover.json
1// Base UI base popover — runs on @octanejs/base-ui's Popover.
2//
3// TWO POSITIONING DIFFERENCES FROM THE RADIX BASE, both verified by rendering the primitive and
4// reading the DOM rather than inferred:
5//
6// 1. THE TRANSFORM-ORIGIN CSS VAR IS NAMED DIFFERENTLY. Radix publishes
7// `--radix-popover-content-transform-origin`; Base UI's Positioner publishes plain
8// `--transform-origin`. Copying radix's `origin-(--radix-popover-content-transform-origin)`
9// leaves the utility referencing a variable nothing ever sets, so the popup would scale
10// from the wrong corner on open — visible only in motion, and invisible to any class
11// comparison.
12//
13// 2. THERE IS A POSITIONER LAYER. Radix goes Portal > Content; Base UI goes
14// Portal > Positioner > Popup, and the Positioner owns side/align/offset. `data-side` and
15// `data-align` land on BOTH the positioner and the popup, so the `data-[side=…]` slide
16// utilities still resolve on the popup where the radix base put them.
17//
18// NO PopoverAnchor. Radix ships an Anchor part for positioning against something other than the
19// trigger; Base UI's Positioner takes an `anchor` prop instead, so there is no element to render
20// and no slot to emit. Recorded in tests/cross-base.test.ts rather than faked.
21//
22// UNVERIFIED PROVENANCE: class strings come from this package's radix base rather than
23// transcribed from upstream's Base UI source.
24// POSITIONING PROPS BELONG TO THE POSITIONER, NOT THE POPUP. Radix has one `Content` element that
25// takes them all; Base UI splits positioning into its own layer, so anything forwarded to `Popup`
26// instead is inert — `side="top"` silently leaves the popup on the default side, and the prop lands
27// on the DOM as an invalid attribute. They are destructured and routed explicitly.
28//
29import { createElement } from 'octane';
30import { Popover as PopoverPrimitive } from '@octanejs/base-ui/popover';
31
32import { cn } from '@/lib/utils';
33
34type Props = { className?: string } & Record<string, unknown>;
35
36export function Popover(props: Record<string, unknown>) @{
37 <PopoverPrimitive.Root data-slot="popover" {...props} />
38}
39
40export function PopoverTrigger(props: Record<string, unknown>) @{
41 <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />
42}
43
44export interface BaseUiPositioningProps {
45 /** Forwarded to the Positioner; see the note at the top of this file. */
46 side?: 'top' | 'right' | 'bottom' | 'left';
47 sideOffset?: number;
48// … truncated

What it pulls in

npm packages

  • @octanejs/base-ui@0.1.35

Other registry items

  • @octane/utils

Files it writes

  • ui/popover.tsrx

Facts

Registry
octane
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-11
Last confirmed
yesterday

Go to the source

Docs on octane octanejs.dev octanejs/octane on GitHub Raw registry item This item as JSON

More from octane

All 44 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionoctaneComponentsFree2 deps
AlertalertoctaneComponentsFree1 dep
Alert Dialogalert-dialogoctaneComponentsFree1 dep
Aspect Ratioaspect-ratiooctaneComponentsFreeno deps
AvataravataroctaneComponentsFree1 dep
BadgebadgeoctaneComponentsFree1 dep
BreadcrumbbreadcrumboctaneComponentsFree1 dep
ButtonbuttonoctaneComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex