Rexui Components Catalog
Developmentrexui-components-catalogRexui Components Catalog is an Agent Skill for development published in the rexrainbow/phaser3-rex-notes repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use this skill when choosing RexUI components, browsing the RexUI component catalog, answering which RexUI widget or UI element to use, or routing a RexUI request to the right specialized skill. Triggers on: RexUI components, RexUI catalog, which RexUI widget, RexUI UI elements, choose RexUI component, RexUI factory list.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/rexrainbow/phaser3-rex-notes/blob/HEAD/skills/rexui/rexui-components-catalog/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/rexui-components-catalog, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
RexUI Components Catalog
Use this skill as the component selection index for RexUI. It should answer "Which RexUI component should I use?" and then route to the correct specialized RexUI skill for implementation details.
Use This First
For any RexUI request:
- Confirm the project has RexUI setup. If not, use
rexui-setup-and-factory. - Identify the user's UI intent: layout, basic control, popup, list/table, text/input, skin/state, or interaction.
- Read
references/component-catalog.mdto choose the component and related skill. - Use the specialized skill for config details and recipes.
Routing
| User asks for | Route to |
|---|---|
Plugin install, this.rexUI, factory names | rexui-setup-and-factory |
| Rows, columns, grids, wrapping, overlays, nested panels | rexui-layout-sizers |
| Labels, buttons, tabs, sliders, toggles, settings controls | rexui-basic-widgets |
| Dialogs, modals, menus, dropdowns, toasts | rexui-dialogs-and-popups |
| Scrollable panels, virtual lists, trees, pages, grid tables | rexui-scroll-lists-and-tables |
| Rich text, text boxes, editable input, file/color input | rexui-text-and-input |
| Shapes, backgrounds, states, skins, progress, image boxes | rexui-shapes-and-states |
| Click/tap/press/drag/swipe/pinch/anchor/fade/effects | rexui-interactions-and-effects |
Reference
Read references/component-catalog.md for the complete compact selection table.
Read references/high-frequency-demos.md when the user refers to common RexUI demos such as scrollablePanel panel, textbox, yes-no dialog, popup menu, dialog, gridtable, or tabs table.
Selection Rules
- Default to
sizerfor ordinary row/column layout. - Use
gridSizerfor known rows and columns. - Use
fixWidthSizerfor wrapping chip/button/tag flows. - Use
overlapSizerfor stacked layers in one rectangle. - Use
labelas the default compound visual unit: background + icon + text + action. - Use
dialogfor custom popups; useconfirmDialogonly when the intent is confirmation. - Use
scrollablePanelfor composed scrollable UI; usegridTablefor many repeated items or virtualized lists. - Use
states*objects when the visual object itself needs hover/down/disabled state styles.
Gotchas
- This skill is an index, not a config reference. Do not invent full configs from it alone.
- Do not trigger on generic UI questions unless the user mentions RexUI,
rexUI, or Rex plugin usage. - Some factory names have source/type declaration mismatches. For exact factory signatures, use
rexui-setup-and-factory/references/factory-map.mdand inspecttemplates/ui/<component>/Factory.js.