Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Field examples · Selects

Select with Helper Text Above Field for React

A priority select with helper text between the label and the trigger.

Framework
UI library

Explain the options before people open the list. The FieldDescription sits between the Priority Level label and the Select, so the guidance is read first.

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.

FAQ

Why is the helper text above the select?

FieldDescription sits between FieldLabel and Select. It reads Higher priority items will be processed first.

What shows before a priority is chosen?

The placeholder Select priority shows until an item is selected. It's the placeholder on SelectValue.

Which priorities are in the list?

The items are Low, Medium, High, and Urgent, each a SelectItem.

How does Priority Level connect to the select?

FieldLabel names the select. Its htmlFor matches the SelectTrigger's id. The label text is Priority Level.

Is this field a row?

No. orientation is unset, so the label, the description, and the trigger stack. max-w-md caps the width.

How do I move the sentence under the select?

Put FieldDescription after the Select. The placeholder can stay where it is.