# Input Settings

> Each item in settings represents a single input.
> 
**Common fields**
| Field | Type | Description
| --- | --- | ---
| id | string | Unique identifier of the setting (e.g., "images", "title").
| label | object {ar,en} | Input label shown to the merchant.
| type | string | Input type (e.g., "text", "textarea", "image", "number", "color", "list").
| default | any | Default value when none is provided.
| icon | text | Optional reference to an icon (e.g. `fal fa-box`).


:::tip[]
You can add more types as needed; keep IDs stable to avoid breaking existing themes.
:::


### Text
    
``` json 
{
  "type": "text",
  "id": "title",
  "label": {
    "ar": "المقدمة",
    "en": "Title"
  },
  "default": <Optional>
}
```

<Accordion title="Output" defaultOpen>
    
![image.png](https://api.apidog.com/api/v1/projects/999650/resources/358665/image-preview)
    
</Accordion>

---

### TextArea


```json 
{
  "type": "textarea",
  "id": "about",
  "label": {
    "ar": "نبذة",
    "en": "About"
  },
  "default": <Optional>
}
```
<Accordion title="Output" defaultOpen>
    
![TextArea.png](https://api.apidog.com/api/v1/projects/999650/resources/358667/image-preview)
    
</Accordion>


### RichText

```json 
{
  "type": "richtext",
  "id": "about",
  "label": {
    "ar": "نبذة",
    "en": "About"
  },
  "default": <Optional>
}
```

### Number

```json
{
  "type": "number",
  "id": "number_of_branches",
  "label": {
    "ar": "رقم الافرع",
    "en": "Number of Branches"
  },
  "default": <Optional>
}
```


### Color

```json
{
  "type": "color",
  "id": "button_color",
  "label": {
    "ar": "لون الزر",
    "en": "Button Color"
  },
  "default": "#000000"
}
```
