Let users pick hex colors with color_picker_input() and collect human feedback or display eval scores with rating_input().
color_picker_input()
rating_input()
<ComponentPreview title="Color Picker & Interactive Star Rating">
[
{"type": "color_picker_input", "label": "Brand Accent", "value": "#6366f1", "name": "accent"},
{"type": "rating_input", "label": "Rate this agent response", "value": 4, "max_stars": 5, "readonly": false, "name": "rating"}
]
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Component | Parameter | Description |
|---|---|---|
| color_picker_input | label, value, name, auto_submit | Color swatch + hex readout (#RRGGBB). |
color_picker_input
label
value
name
auto_submit
#RRGGBB
| rating_input | label, value, max_stars, name, readonly, auto_submit | Accessible star rating (keyboard + pointer); set readonly=True for display-only scores. |
rating_input
max_stars
readonly
readonly=True