Color picker
A colour well, hex field and swatches.
Custom swatches
Disabled
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
swatches | readonly string[] | null | null | Custom swatch palette; falls back to a built-in set when null. |
disabled | boolean | false | Whether the picker is disabled. |
pickLabel | string | — | Accessible label for the native color well. |
hexLabel | string | — | Accessible label for the hex text field. |
Two-way models
Bind with [(name)], or one-way as an input.
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | '#6366f1' | Selected color as a hex string. Two-way bindable with `[(value)]`. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.