dxDigitexa UI
HomeDocsComponentsExamplesAI
Get started
Sections
IntroductionComponentsInstallationThemingCLIFor AI agentsChangelog
Examples
Workspace overviewSettings
Components
AccordionActivity feedAlertAlert dialogAvatarBadgeBreadcrumbButtonCalendarCalendar viewCardCheckboxCollapsibleComboboxCommandContext menuData tableDate pickerDialogDropdown menuEmpty stateFieldHover cardInputInput groupKanbanKbdLabelMeterPaginationPopoverPriorityProgressRadio groupScroll areaSelectSeparatorSheetSidebarSkeletonSliderSpinnerStatus iconSwitchTableTabsTask rowTextareaTimelineToastToggleToggle groupTooltip

Field

Form field layout that wires label, description and error ids to the control.

Shown in the sidebar and in notifications.

Prefix for issue ids, like WEB-142.

Installation

$ curl -fsSL https://ui.digitexa.com/dx.mjs | node --input-type=module - add field

Also adds label, utils, theme and installs @radix-ui/react-slot.

Usage

import { Field, FieldLabel, FieldControl, FieldDescription, FieldError, FieldGroup, useField } from "@/components/ui/field";

The Code tab above shows a complete example.

Empty stateHover card
On this page
PreviewInstallationUsage