type-alias / @typed/ui/index

Hovercard.ContentOptions

Hovercard content options requiring one accessible naming strategy.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Native content host
Since
1.0.0
Member of
Hovercard

Import

import { Hovercard } from "@typed/ui/index";

Access Hovercard.ContentOptions through the imported Hovercard export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export type ContentOptions = ContentOptionsBase & AccessibleName;

Why

Focusable dialog-like content needs an explicit name; the type makes label and labelled-by mutually exclusive.

Options

state provides the stable content id and open state, while content may contain focusable output. label names the card directly; labelledBy references visible naming content. Supplying both is rejected by the type.

Ownership and lifetime

Options are inert; rendering owns content/listeners/native ref by Scope.

Other public imports

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

Source