---
title: Select
description: JSON Schema for the Select component.
---

Select dropdown container.

```json
{
  "type": "object",
  "properties": {
    "type": {
      "const": "Select",
      "default": "Select",
      "type": "string"
    },
    "cssClass": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "CSS/Tailwind classes for styling. Accepts a Responsive() for breakpoint-aware classes."
    },
    "children": {
      "type": "array",
      "items": {
        "$ref": "Component"
      }
    },
    "let": {
      "additionalProperties": true,
      "type": [
        "object",
        "null"
      ],
      "default": null,
      "description": "Scoped bindings available to children. Values are template strings."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "State key for reactive binding. Auto-generated if omitted."
    },
    "placeholder": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "Placeholder text"
    },
    "size": {
      "default": "default",
      "description": "Select size (sm, default)",
      "enum": [
        "sm",
        "default"
      ],
      "type": "string"
    },
    "disabled": {
      "default": false,
      "description": "Whether select is disabled",
      "type": "boolean"
    },
    "required": {
      "default": false,
      "description": "Whether select is required",
      "type": "boolean"
    },
    "onChange": {
      "$ref": "Action",
      "description": "Action(s) to execute when selection changes",
      "default": null
    }
  },
  "required": [
    "type"
  ]
}
```
