SubscriptionMIT licence
Combobox
input
Input from chakra-ui/zag.
From prompt to live site
- 01
Copy the code
Grab every file as one text, each carrying its licence notice.
- 02
Paste into your AI
Drop it into Claude, Cursor or v0 — or straight into your own project.
- 03
Launch it live
Adapt the copy, wire your data, and ship — with the notice kept alongside.
Source and licence
Source: chakra-ui/zag@973921ea0c00
Author: 2021 Chakra UI
Entry: examples/vanilla-ts/pages/combobox.html
- Converted into a native UI component (wave-3 of backlog 5.4): plain HTML/CSS/JS on the design tokens. The shipped files are the conversion; the source files it was converted from (source.paths, at source.commit) are not shipped.
- Rebuilt the state-machine combobox as a filterable ARIA combobox with listbox popup, arrow/Home/End/Enter/Escape keys, a clear button and a toggle trigger, over an invented fruit list.
- Passed the accessibility gate on 2026-10-06: hosts, render, keyboard, focus, axe, reduced, tokens, motion (scripts/ui-waves/pipeline.ts). axe-core 4: no violations at rest or after activation (WCAG 2.2 A/AA + best practice). Colour contrast is reported, not gated: passes.
- Preview recorded: previews/poster.webp, previews/thumb.webp.
MIT License Copyright (c) 2021 Chakra UI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Modifications (CreativePower): converted on 2026-10-06 from chakra-ui/zag@973921ea0c00 (packages/machines/combobox/src, packages/machines/combobox/README.md, examples/vanilla-ts/pages/combobox.html, examples/vanilla-ts/pages/combobox.ts, examples/vanilla-ts/src/combobox.ts, examples/vanilla-ts/src/component.ts, shared/src/css/combobox.css) into CreativePower's native pattern format — rewritten as plain HTML, CSS and JavaScript, with its colours, fonts, spacing, corner radii and shadows on design tokens (the source's own values as fallbacks), its demo imagery, fonts, icons and copy replaced by neutral ones, and a prefers-reduced-motion rule and a visible focus style added.
Files (4)
- pattern.html (11,335 bytes)
- pattern.css (5,598 bytes)
- pattern.js (4,334 bytes)
- markup.html (1,099 bytes)
Want the whole library?
Every item's prompt, code and instructions, with a CreativePower subscription.