--- title: "" --- The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [``](/reference/react-dom/components/select) box. ```js Some option Other option ``` --- ## Reference {/*reference*/} ### `` {/*option*/} The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [``](/reference/react-dom/components/select) box. ```js Some option Other option ``` [See more examples below.](#usage) #### Props {/*props*/} `` supports all [common element props.](/reference/react-dom/components/common#common-props) Additionally, `` supports these props: * [`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#disabled): A boolean. If `true`, the option will not be selectable and will appear dimmed. * [`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): A string. Specifies the meaning of the option. If not specified, the text inside the option is used. * [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#value): The value to be used [when submitting the parent `` in a form](/reference/react-dom/components/select#reading-the-select-box-value-when-submitting-a-form) if this option is selected. #### Caveats {/*caveats*/} * React does not support the `selected` attribute on ``. Instead, pass this option's `value` to the parent [``](/reference/react-dom/components/select#providing-an-initially-selected-option) for an uncontrolled select box, or [``](/reference/react-dom/components/select#controlling-a-select-box-with-a-state-variable) for a controlled select. --- ## Usage {/*usage*/} ### Displaying a select box with options {/*displaying-a-select-box-with-options*/} Render a `` with a list of `` components inside to display a select box. Give each `` a `value` representing the data to be submitted with the form. [Read more about displaying a `` with a list of `` components.](/reference/react-dom/components/select) ```js export default function FruitPicker() { return ( Pick a fruit: Apple Banana Orange ); } ``` ```css select { margin: 5px; } ``` --- ## Sitemap [Overview of all docs pages](/llms.txt)