# Select A styled dropdown that lets the user pick one option from a list. Use it for things like country selection, category filters, or anything where the user chooses from a fixed set of values. --- ## Quick example ```csharp new Select( id: "country", name: "country", label: "Country", options: new[] { ("us", "United States"), ("gb", "United Kingdom"), ("ca", "Canada"), }, selectedValue: "us") ``` --- ## All the options ```csharp public Select( string id, IEnumerable<(string Value, string Display)> options, string? selectedValue = null, string name = "", string label = "", string description = "", string extraClasses = "", string hxAttrs = "") ``` | Parameter | What it does | |---|---| | `id` | The element id. Also used by the `