interface / @typed/ui/Group

GroupOptions

Related content with either a direct accessible label or an external label ID.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Component options
Since
1.0.0

Import

import { GroupOptions } from "@typed/ui/Group";

Signatures

export interface GroupOptions extends Dom.HostOptions<HTMLDivElement> {
    readonly content: Renderable.Any;
    readonly label?: Renderable.Any<string | null | undefined>;
    readonly labelledBy?: Renderable.Any<string | null | undefined>;
}

Property: content

Renderable child content for the component host.

Property: label

Accessible label rendered through aria-label.

Property: labelledBy

Id of the external element used through aria-labelledby.

Other public imports

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

Source