function / @typed/ui/index

Group.Label

Renders visible group-label text in a span.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Controls
Since
1.0.0
Member of
Group

Import

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

Access Group.Label through the imported Group 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 declare function Label<const Options extends LabelOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, Record<never, never>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;

Examples

import * as Group from "@typed/ui/Group";

const view = Group.Label({ content: "Formatting" });

Other public imports

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

Source