TidalUI

Popover preview

An anchored dialog with form content, keyboard focus and bounded scrolling.

pro · Feedback · primitive

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/popover

Import components/ui/tidal.css, components/ui/popover.css. Wrap installed components in tidal-scope.

Preview

Popover component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/popover.css";
import{TidalPopover}from"./components/ui/popover";
export default()=><div className="tidal-scope"><TidalPopover/></div>;

API and props

TidalPopover.dir
"ltr" | "rtl" | undefined

Optional dir value accepted by this exported component.

TidalPopover.theme
"light" | "dark" | undefined

Optional theme value accepted by this exported component.

TidalPopoverContent.title (required)
string

Required title value accepted by this exported component.

TidalPopoverContent.closeLabel
string | undefined

Optional close label value accepted by this exported component.

TidalPopoverContent.description
string | undefined

Optional description value accepted by this exported component.

TidalPopoverContent.footer
ReactNode

Optional footer value accepted by this exported component.

TidalPopoverContent.showClose
boolean | undefined

Optional show close value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas