Color picker
A brand hex, a badge tint, a mood — type=color with Orbit chrome.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, ColorPicker
form = Form.make("demo").schema([ ColorPicker.make("brand").label("Brand color").default("#f1511b")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, ColorPicker
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ ColorPicker.make("accent").helper_text("Used in the panel shell"), ColorPicker.make("badge_color"), ])Key methods
Section titled “Key methods”Setsinput_typetocolor``.default("#f1511b").label(...) / .helper_text(...).disabled(...) / .visible(...)
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
