interface / @typed/ui/Popover

InitialState

Optional initial popover visibility.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Open state
Since
1.0.0

Import

import { InitialState } from "@typed/ui/Popover";

Signatures

export interface InitialState {
    readonly open?: boolean;
}

Why

A false default gives SSR and hydration a deterministic closed snapshot.

Ownership and lifetime

Configuration is inert.

Property: open

Initial open state, defaulting to false.

Property: open: Why

The value seeds the serializable hydration contract.

Property: open: Ownership and lifetime

Plain data retains no resources.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source