> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/elements-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/elements-docs/using-elements/components/form/select.md).

# Select

Select creates a native drop-down field populated from an Options collection. It is useful when visitors must choose one value from a defined list.

### How to Use Select

You’ll find Select under **Forms** in the Components list.

1. Place Select inside a [Form](/elements-docs/using-elements/components/form.md).
2. Enter a unique Name.
3. Set the Placeholder.
4. Add Label and Value pairs to the Options collection.
5. Optionally mark one item as Default.
6. Add a [Label](/elements-docs/using-elements/components/form/label.md) whose For value matches the Name.

### Component Settings

#### Settings

**Required** is off by default.

**Name** is blank by default. If left blank, Elements generates a name.

**Placeholder** defaults to “Select an option…”. It has an empty value and remains selected until a visitor chooses an option, unless a Default item is configured.

#### Select

Text **Color** defaults to Text 50.

**Font** defaults to Body and **Size** to Base. These settings also style the drop-down arrow.

#### Options

Each item in the **Options** collection contains:

* **Label** — Text shown to the visitor. Blank by default.
* **Value** — Value included in the submission. Blank by default.
* **Default** — Selects that option initially. Off by default.

Only the first item marked Default is selected.

#### Outline

**Type** defaults to None and can be Static or Focus. Focus provides Unfocused and Focused states.

Outline defaults are Solid style, Surface 500 colour, 100% opacity, width 1, and offset 0.

#### Shared Input Defaults

Select uses 100% Width and Auto Height.

Spacing is enabled with zero Margin and Padding 2 vertically and 3.5 horizontally.

Background supports a colour. The shared Border defaults to None.

### Accessibility

Add a visible Label and make every option understandable without surrounding context. When Select is Required, keep the empty Placeholder so the visitor must make an intentional choice.

### Related Components

* [Radio](/elements-docs/using-elements/components/form/radio.md) — Shows all choices at once.
* [Input](/elements-docs/using-elements/components/form/input.md) — Collects a free-form value.
* [Label](/elements-docs/using-elements/components/form/label.md) — Associates visible text with Select.

| Common Control                                                                                                     | Description                                                             |
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| [Link](/elements-docs/using-elements/components/common-controls/link.md)                                           | Link to a page, resource, anchor, email address, or website.            |
| [Layout](/elements-docs/using-elements/components/common-controls/layout.md)                                       | Control positioning, stacking, visibility, overflow, and isolation.     |
| [Sizing](/elements-docs/using-elements/components/common-controls/sizing.md)                                       | Set width, height, and responsive size constraints.                     |
| [Spacing](/elements-docs/using-elements/components/common-controls/spacing.md)                                     | Add responsive margin and padding.                                      |
| [Typography & Text Styles](/elements-docs/using-elements/components/common-controls/typography-and-text-styles.md) | Control fonts, text spacing, decoration, colour, and semantic wrappers. |
| [Backgrounds](/elements-docs/using-elements/components/common-controls/backgrounds.md)                             | Apply colour, image, gradient, SVG, video, and hover backgrounds.       |
| [Transitions](/elements-docs/using-elements/components/common-controls/transitions.md)                             | Choose what animates and set its timing curve, duration, and delay.     |
| [Effects](/elements-docs/using-elements/components/common-controls/effects.md)                                     | Apply shadows, opacity, and hover effects.                              |
| [Filters](/elements-docs/using-elements/components/common-controls/filters.md)                                     | Apply blur, brightness, saturation, shadow, and backdrop effects.       |
| [Transforms](/elements-docs/using-elements/components/common-controls/transforms.md)                               | Scale, rotate, move, and skew components.                               |
| [Borders](/elements-docs/using-elements/components/common-controls/borders.md)                                     | Set border style, colour, opacity, width, radius, and hover states.     |
| [Advanced](/elements-docs/using-elements/components/common-controls/advanced.md)                                   | Add CSS classes and IDs, or change supported HTML tags.                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmacsoftware.com/elements-docs/using-elements/components/form/select.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
