mantine-combobox
Skill9.3k starsChanged 6 days agoApache-2.0View on GitHub
Build custom dropdown/select/autocomplete/multiselect components using Mantine's Combobox primitives. Use this skill when: (1) creating a new custom select-like component with Combobox primitives, (2) building a searchable dropdown, (3) implementing a multi-select or tags input variant, (4) customizing option rendering, (5) adding custom filtering logic, or (6) any task involving useCombobox, Combobox.Target, Combobox.Option, or Combobox.Dropdown.
1 other project uses a version of this.
Trending
Quiet since July.thin dataabout the whole repository
Most recently taken up by
- mantinedev/skillsword for word, first seen Oct 4, 2026
Who's talking about RostislavDugin/postgresus
- @its-me-rhk.bsky.social“🗄️ Postgresus — Alat open-source untuk monitoring & backup database PostgreSQL dengan antarmuka web. ⚡ …”Bluesky · Oct 30, 2025 · 3 likes
- Dokploy/templates“Postgresus template seems outdated – project renamed to Databasus”GitHub · Jan 19, 2026 · 1 reactions
- truenas/apps“[App Request]: Postgresus / Databasus”GitHub · Dec 19, 2025 · 1 reactions
- @mariuskimmina.com“"Postgresus" is just peak project naming (and it also seems really awesome) github.com/RostislavDug...”Bluesky · Dec 6, 2025 · 1 likes
- @harungecit.dev“PostgreSQL kullanıyorsan ama yedekleme & izleme seni yoruyorsa: 💡 Postgresus tam sana göre! 🕒 Otomatik …”Bluesky · Oct 30, 2025 · 1 likes
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub and Bluesky (10 times).
On GitHub · 7
- Jan 19, 2026Postgresus template seems outdated – project renamed to Databasus — Dokploy/templates1 reaction
- Dec 19, 2025[App Request]: Postgresus / Databasus — truenas/apps1 reaction
- Jul 14, 2026fix: add Databasus template (Postgresus was renamed upstream) — Dokploy/templates0 reactions · 1 comment
- Dec 11, 2025Redirect to https://postgresus.com/storages/google-oauth instead of my hosted Postgresus domain — databasus/databasus0 reactions · 2 comments
- Dec 7, 2025Email Notifier Password can't be empty when creating — databasus/databasus0 reactions · 2 comments
2 more on GitHub
- Nov 17, 2025Databasus — community-scripts/DevScripts0 reactions · 6 comments
- Sep 14, 2025Update PostgreSQL badge in README — pgmq/pgmq0 reactions
On Bluesky · 3
- Oct 30, 2025🗄️ Postgresus — Alat open-source untuk monitoring & backup database PostgreSQL dengan antarmuka web. ⚡ Fitur utama: jadwal backup,… — @its-me-rhk.bsky.social3 likes and reposts
- Dec 6, 2025"Postgresus" is just peak project naming (and it also seems really awesome) github.com/RostislavDug... — @mariuskimmina.com1 likes and repost
- Oct 30, 2025PostgreSQL kullanıyorsan ama yedekleme & izleme seni yoruyorsa: 💡 Postgresus tam sana göre! 🕒 Otomatik yedekler ☁️ S3, Drive, NAS desteği… — @harungecit.dev1 likes and repost
Other versions1 project uses a version of this.
Word for word · 1
- mantinedev/skills★ 63100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backend/AGENTS.mdAGENTS.md
- frontend/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- backend/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- website/CLAUDE.mdCLAUDE.md
- api-designSkill
- client-tool-bundlesSkill
- feature-sliced-designSkill
- frontend-designSkill
- frontend-localizationSkill
- git-commitsSkill
- how-to-communicateSkill
- mantine-custom-componentsSkill
- mantine-formSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- run-appSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 142
Read both before building anything beyond the basic select above:
- Distinctive: line 149
If the references do not cover what you need, do not guess:
- Very specific: line 151
If the Mantine MCP server (@mantine/mcp-server) is connected, use search_docs and get_item_doc
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mantine Combobox Skill
Written for Mantine 9.x.
Overview
Combobox provides low-level primitives for building any select-like UI. The built-in
Select, MultiSelect, Autocomplete, and TagsInput components are all built on top of it.
Check for a ready-made component first
Build with Combobox primitives only when none of these fit:
| Need | Use |
| Standard select, multi-select, autocomplete or tags input | Select, MultiSelect, Autocomplete, TagsInput (all support renderOption) |
| Options dropdown attached to a button or any other element, no input | ComboboxPopover (data-driven: data, value, onChange, searchable, multiple) |
| Hierarchical options | TreeSelect (see below) |
| More than a few hundred options | Combobox with useVirtualizedCombobox, see the virtualized pattern |
<ComboboxPopover data={['React', 'Angular', 'Vue']} value={value} onChange={setValue}>
<ComboboxPopover.Target>
<Button variant="default">{value || 'Select framework'}</Button>
</ComboboxPopover.Target>
</ComboboxPopover>ComboboxPopover opens on target click by itself, marks the selected option with a check icon and
handles keyboard navigation. Useful props: searchable, multiple (value becomes string[], the
dropdown stays open while picking), allowDeselect={false} (one option is always selected),
nothingFoundMessage, renderOption, limit, maxDropdownHeight, name (hidden input for forms),
comboboxProps={{ width: 220, position: 'bottom-start' }}. data supports disabled items and groups
like Select: [{ group: 'Size', items: [{ value: 'xs', label: 'XS' }] }]. It cannot render custom dropdown content (tabs, header, footer, create actions): use
Combobox primitives for that.
TreeSelect takes nested data ({ value, label, children? }[], unique values) and renders an
input with an expandable tree in the dropdown. Props include mode (single, multiple, or checkbox
with parent-child cascade), searchable, clearable, renderNode. Build the tree from Combobox
primitives instead when you need a different layout: only leaves selectable, a flat list of search
results with full paths, or a button trigger. In that case render every visible row as a
Combobox.Option and decide in onOptionSubmit whether the row selects or expands.
Core Workflow
1. Create the store
const combobox = useCombobox({
onDropdownClose: () => combobox.resetSelectedOption(),
onDropdownOpen: () => combobox.selectFirstOption(),
});2. Render structure
<Combobox store={combobox} onOptionSubmit={handleSubmit}>
<Combobox.Target targetType="button">
<InputBase
component="button"
type="button"
pointer
rightSection={<Combobox.Chevron />}
onClick={() => combobox.toggleDropdown()}
>
{value || <Input.Placeholder>Pick value</Input.Placeholder>}
</InputBase>
</Combobox.Target>
<Combobox.Dropdown>
<Combobox.Options>
{options.map((item) => (
<Combobox.Option value={item} key={item}>{item}</Combobox.Option>
))}
</Combobox.Options>
</Combobox.Dropdown>
</Combobox>3. Handle submit
const handleSubmit = (val: string) => {
setValue(val);
combobox.closeDropdown();
};Target Types
| Scenario | Use |
| Button trigger (no text input) | <Combobox.Target targetType="button"> |
| Input trigger | <Combobox.Target> (default) |
| Pills + separate input (multi-select) | <Combobox.DropdownTarget> + <Combobox.EventsTarget> |
What Combobox does for you
- The target handles keyboard: ArrowUp/ArrowDown move the highlight and skip disabled options (and
open the dropdown when it is closed), Enter submits the highlighted option, Escape closes the
dropdown. With
targetType="button", Space and Enter also open it. Tab is not handled. - Enter does nothing when no option is highlighted, so a free-text input can handle it itself.
- Nothing is highlighted until the user presses an arrow key, unless you call
selectFirstOption()orselectActiveOption(). - Clicking an option does not move focus away from the input, and a disabled option never calls
onOptionSubmit. Combobox.Optionforwardsdata-*attributes and event handlers to its element.Combobox.Searchhandles the same keys as the target. Your ownonKeyDownon the target child or onCombobox.Searchis called first, then the built-in handling runs, so extra keys (PageUp, ArrowRight) can be added there. To take the keyboard over completely (a textarea, where arrows must move the caret), setwithKeyboardNavigation={false}onCombobox.Targetand callselectNextOption,selectPreviousOptionandclickSelectedOptionyourself.- Defaults: the dropdown is as wide as the target (
width="target"), rendered in a portal, kept mounted while closed, opens without animation, and hovering an option does not change the keyboard highlight. - The dropdown renders in a portal above modals and drawers and is not clipped by them. Inside a
Modal, Escape closes only the dropdown; a second Escape closes the modal. No extra code is needed. - An option does not have to select a value:
onOptionSubmitcan toggle, expand a row or run an action, and decides itself whether to close the dropdown. - Other interactive content in the dropdown (buttons in
Combobox.Header, a Retry link) is not handled: addonMouseDown={(event) => event.preventDefault()}to it so the input keeps focus and anonBlurhandler does not close the dropdown.
Two words that are easy to mix up:
- selected option: the one highlighted by keyboard navigation (
data-combobox-selected). - active option: the one that holds the current value, marked with the
activeprop (data-combobox-active). It has no styles by default: render a check icon.
References
Read both before building anything beyond the basic select above:
references/patterns.md— complete examples: searchable select (input trigger), free-text input with suggestions, suggestions for a textarea (mentions), custom styles with a CSS module, virtualized list for thousands of options, custom form input built on Combobox, search inside the dropdown, multi-select with pills, creatable option, async search with loading and error states, groups, custom option rendering, highlighting the current value on open, clear button, form integration, dropdown that fits the viewportreferences/api.md—useComboboxoptions and every store method with what it does, default styles and how to override them,useVirtualizedCombobox, all sub-component props, CSS variables, Styles API selectors
Looking things up
If the references do not cover what you need, do not guess:
- If the Mantine MCP server (
@mantine/mcp-server) is connected, usesearch_docsandget_item_doc - Otherwise fetch
https://mantine.dev/llms.txtand open the Combobox page. More than 50 complete examples are athttps://mantine.dev/combobox/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

