function / @typed/ui/Group

Label

Renders visible group-label text in a span.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Controls
Since
1.0.0

Import

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

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