The Dialog People Already Know
Opens the color picker the operating system provides, the same one they use everywhere else on their computer.
NWD Color Picker (Lightweight) was built to give Bubble the color input it never had, in its smallest possible form. It exposes the color dialog the operating system already provides, the same one people use everywhere else on their computer, so there is no panel to load and no library to ship.
Built for what Bubble does not cover.
Bubble has no native color input. Typing a hex into a text field works until the first typo, and the alternative is carrying a whole picker panel, with everything it loads, for what is most of the time a single swatch.
Opens the color picker the operating system provides, the same one they use everywhere else on their computer.
No library and no floating panel: the element is a native input, so it is ready the moment the page is.
The starting color takes a dynamic expression, and left empty the input really starts with no color.
Border, border radius and shadow come from the element's own style panel, and the color fills whatever box you give it.
Fully operable from the keyboard and announced to screen readers.
Everything the input knows is available to your workflows, and every change is an event you can react to.
In detail
Place the plugin element wherever the color should be picked. The color fills the whole element, so sizing the element is sizing the swatch.
Set the default color, which accepts hex and rgb and takes a dynamic expression, and the disabled state if you need one.
Use the value changed event to capture the confirmed color, and read the exposed states to use them anywhere in your app.
Color applied on load and on reset. Accepts hex (#rrggbb or #rgb) and rgb/rgba. Leave it empty and the input starts with no color at all: it shows diagonal stripes and the value state stays empty until someone picks one.
Accepts hex with 3 or 6 digits and rgb/rgba. A value the browser cannot read is ignored instead of clearing the color, and an empty value starts the input with no color.
Leave it empty and the input starts with no color at all: it shows diagonal stripes and publishes an empty value, until someone picks one. It is the same thing an empty field in your database means, carried to the screen instead of turned into black.
Disables the component, preventing any interaction.
Border, border radius and shadow are the element's own, in Bubble's style panel. The plugin draws no frame of its own, which is what keeps a white color visible on a white page: give the element a border or a shadow and the swatch reads against any background.
Opacity applied to the swatch when disabled, from 0 to 1.
Marks the field as required and enables input validation.
Color of the ring drawn inside the element when it is invalid.
Color of the ring drawn inside the element while it has focus from the keyboard (Tab) or from the Focus action. A click does not show the ring.
Name read by screen readers. When empty, it is read as "Color".
Hint read by screen readers after the name. Empty for none.
Values the element exposes for the rest of the page to read.
Selected color as hex (#rrggbb). Empty while no color is chosen.
True when the component is not disabled.
True when the input is marked as required.
True when the value is accepted. False when it is required and has no color. It updates on every change, so a workflow can rely on it; the invalid ring only shows after the person leaves the field or closes the color dialog, or when a workflow sets the value.
True while the input has focus.
Where a workflow can start.
Triggered when a different color is confirmed in the system dialog, and on reset. It does not fire while the color is being dragged inside the dialog.
What a workflow can tell the element to do.
Restores the default value.
Focuses the input and opens the system color dialog. The dialog only opens when the action runs inside a user gesture, such as a button click with no asynchronous step before it; otherwise the input keeps the focus and Enter or Space opens it. Does nothing while the element is disabled.
Sets the color from a workflow. A color the browser cannot read is ignored.
Yes applies the value even while the element is disabled. No makes the action do nothing in that state.
New color, as hex (#rrggbb or #rgb) or rgb/rgba. Leave it empty to clear the color: the input goes back to showing no color and the value state becomes empty. A color the browser cannot read does nothing.
Keys the element handles while it has focus. The text field also keeps the browser's own editing keys, which are not listed here.
The one the operating system provides. It looks different on Windows, macOS, Android and iOS, and that is the point: people already know it, and nothing extra is downloaded to show it. If the picker must look the same everywhere and live inside the page, that is the NWD Color Picker (HEX/RGB/HSL).
This one is deliberately small: the system dialog, a default value, an empty state and the chosen color as hex. The full one draws its own panel inside the page, with transparency, typed colors in any CSS format, presets, an eyedropper and the color in five formats at once. Same family, two different jobs.
Yes. Leave Default value empty and the input starts with no color: diagonal stripes on the swatch and an empty value in your workflows. Picking a color leaves that state, the Set value action with an empty value returns to it, and Reset returns to it too when the default is empty. The system dialog itself always holds a color, so what it opens on is black, but black is never published as a choice nobody made.
No. The browser's color input has no alpha channel, so the color is always fully opaque. Transparency is in the full picker.
When the person confirms a color in the dialog, and on reset. It does not fire while the color is being dragged inside the dialog, so a workflow attached to it runs once per choice rather than hundreds of times. The value state does follow the drag, for anything that should react live.
Browsers only open the system dialog inside a gesture from the person. Triggered straight from a button click, Focus opens it; placed after an asynchronous step, such as a database action, the browser refuses and the input simply keeps the focus, where Enter or Space opens it.
Yes. The visual properties support Bubble's predefined styles, so a look can be saved once and applied to every input in the app. A few sizing fields are deliberately not dynamic, and that is what lets them travel inside the style instead of being set one input at a time.
The plugin contract was brought in line with the rest of the Newed UI library. Apps installed before this version keep working visually, but the workflows that read the element need one pass.
Only for assistants connected to the Bubble MCP. Paste it before you update: it asks the assistant to map where the plugin is used, compare that with the changes above, and apply them after the update.
In my Bubble app, using the Bubble MCP:
1. Before I update NWD Color Picker (Lightweight) to version 1.4.0, list every place the plugin is used: each of its elements and their settings, and every workflow, condition, event, action and state that refers to it.
2. Compare that list with the breaking changes below and tell me what will need to change, page by page.
3. After I update the plugin, apply those changes and check the app for issues.
Breaking changes in NWD Color Picker (Lightweight) 1.4.0:
- The exposed state Color was renamed to value. What to do: Open every workflow, condition and text that read the old state and point it at value. Bubble shows an issue for each one it cannot resolve.
- The event Color is changed was renamed to value changed. What to do: Reattach the workflows that were triggered by the old event. They stop running silently, without an issue, so check the ones that drove saves or page updates.
- The field Initial color became Default value, and it now takes a dynamic expression instead of a fixed color from the editor. What to do: Open the element and set the color again. A value configured before this version may come back empty, and empty now means the input starts with no color at all.
- The event now fires once, when the color is confirmed, instead of firing while the color is being dragged inside the dialog. What to do: Nothing to do in most apps, and it is usually an improvement. Only look if a workflow of yours depended on running continuously during the drag.
This plugin is maintained by GCS Studios and is part of the NWD UI - Input family, form controls built from scratch for Bubble, inspired by a personal component library originally built for React. Each one is carefully designed and tested in real applications before release, for the level of control, polish and reliability that native Bubble inputs often do not provide. See more plugins on the GCS Studios contributor page.