ComponentsUtilities

Auto Focus

Moves the focus to a field once it is rendered — the first field of a dialog, a search box that opens, a code input.

Part of @tectra-ng/utils (npm install @tectra-ng/utils, also included in tectra-ng).

Features2APIThemingAccessibility

Dialog

Open the dialog: the name field gets the focus with its text selected, ready to be replaced.

Toggle

On a wrapper the first focusable element inside gets the focus — here a search box that opens on demand.