appkit-mantine-reference

Provides API reference for building Reflex UI with appkit_mantine components.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/jenreh/project-kit-template --skill appkit-mantine-reference-jenreh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appkit-mantine-reference
Source: https://github.com/jenreh/project-kit-template/tree/main/.agents/agent-skills/skills/appkit-mantine-reference
Command: npx skills add https://github.com/jenreh/project-kit-template --skill appkit-mantine-reference-jenreh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building user interfaces in Reflex apps with appkit_mantine requires knowing each component's props, event handler signatures, and inheritance rules, which are easy to get wrong without a complete reference. ## Core Features & Use Cases - Component API Reference: Covers inputs, layout, overlays, charts, data display, and navigation components with concrete code examples for each. - Event Handler Patterns: Documents exactly what each component's on_change receives (raw values, booleans, lists) so state handlers are written correctly the first time. - Anti-Pattern Guidance: Lists common mistakes like using rx.vstack instead of mn.stack or bare Python if/for instead of rx.cond and rx.foreach. - Use Case: When building a settings page with a form, modal, and chart in a Reflex app, consult this reference to pick the right mn.* components and wire their handlers correctly. ## Quick Start Ask the AI to build a Reflex UI form using appkit_mantine components with proper event handlers and Mantine style props.

Frequently Asked Questions about appkit-mantine-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use appkit_mantine components in a Reflex app?

Import appkit_mantine as mn and call lowercase factory functions like mn.text_input(), mn.button(), or mn.stack(). The MantineProvider is auto-injected, so no manual wrapping is needed, and all components accept Mantine style props like w, p, and bg.

What does on_change receive for appkit_mantine input components?

It depends on the component: TextInput uses the standard event object, NumberInput passes a raw number or empty string, Select passes a string or None, MultiSelect passes a list of strings, and Checkbox passes a boolean from event.target.checked.

Should I use rx.vstack or mn.stack for layout in Reflex?

Use mn.stack for vertical layout and mn.group for horizontal layout when working with appkit_mantine. The reference lists rx.vstack, rx.hstack, and rx.box as anti-patterns in favor of Mantine layout components with full style prop support.

Why does the cursor jump in a controlled Textarea?

With value plus on_change (controlled mode), the cursor jumps to the end on each keystroke. The recommended pattern is default_value with on_blur for production text areas.

Can I use Python if and for inside appkit_mantine components?

No. Bare Python if and for statements do not work reactively in Reflex components. Use rx.cond for conditional rendering (with & and | operators, not and/or) and rx.foreach for rendering lists.

How do I create charts with appkit_mantine?

Use chart factories like mn.line_chart, mn.bar_chart, mn.area_chart, or mn.donut_chart with data, data_key, and series props. Charts are built on @mantine/charts with Recharts, and series colors use the Radix scale like blue.6.