Install
$ agentstack add skill-m2kky-mm-design-systems-mm-heroui-design ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MM Design Systems: HeroUI Foundations
> [!NOTE] > MM Signature Edition: This skill is part of the MM Design Systems package. Always apply these guidelines with the premium quality, attention to modern aesthetics, and polished execution expected in MM projects.
Overview
Use these comprehensive principles from HeroUI (formerly NextUI) to guide design, styling, and component architecture decisions. HeroUI is characterized by its deep integration with Tailwind CSS, focus on modern aesthetics (glassmorphism, soft shadows, rounded corners), fluid animations via Framer Motion, and robust accessibility via React Aria.
1. Aesthetic & Vibe (Modern & Playful)
HeroUI stands out by moving away from strictly flat or rigid enterprise designs.
- Soft Geometry: Extensive use of rounded corners. The default
border-radius(especiallyradius="lg"orradius="full") gives interfaces a friendly, approachable feel. - Glassmorphism Built-in: Native support for blurred, translucent backgrounds (e.g., in Navbars or Cards) using the
isBlurredprop or Tailwind'sbackdrop-blurutilities. - Depth & Shadows: Use of soft, colorful drop shadows (e.g.,
shadow="md",shadow="lg") that often match the component's primary color, creating a glowing effect.
2. Component Variants & Styling
HeroUI components (Buttons, Chips, Cards) share a unified API for visual variants. Instead of writing custom CSS for every state, rely on these semantic variants:
- Solid: The default, high-contrast filled state.
- Faded: A very light background with a subtle border (great for secondary actions).
- Bordered: Transparent background with a solid colored border.
- Light / Flat: Transparent background that gains a soft, opaque colored background on hover.
- Ghost: Bordered by default, but fills with solid color on hover.
- Shadow: Solid background with a glowing drop shadow of the exact same color.
Rule for Agents: Always leverage these variant="[type]" props before attempting to write custom Tailwind utility classes for buttons or interactive elements.
3. Semantic Color System (Tailwind Plugin)
Source: https://www.heroui.com/docs/customization/colors
HeroUI uses a semantic color palette that automatically adapts to Light and Dark modes.
Base Colors
primary: The main brand color (default is a vibrant blue/purple).secondary: A complementary color (often pink/purple).success: Green (positive actions).warning: Yellow/Orange (caution).danger: Red (destructive actions).
Foreground / Content Colors
default: Base background and text colors.- HeroUI automatically generates
[color]-100through[color]-900palettes. - It also uses
-foregroundsuffixes (e.g.,text-primary-foreground) to guarantee readable text contrast on top of semantic backgrounds.
Rule for Agents: Never hardcode hex colors. Always use Tailwind classes mapped to HeroUI's semantic tokens (e.g., bg-primary, text-success, border-danger-200).
4. Accessibility & Interaction (React Aria)
HeroUI is built on Adobe's React Aria.
- Keyboard Navigation: Out-of-the-box support for arrow key navigation,
Tabcycling, andSpace/Enterselection. - Focus Rings: HeroUI provides a very distinct, beautiful animated focus ring when navigating via keyboard. Do not disable outlines or focus states.
- State Management: Leverage the
isDisabled,isLoading, andisInvalidprops on form components. HeroUI automatically handles the ARIA attributes and visual styling for these states.
5. Animation & Motion (Framer Motion)
HeroUI relies on Framer Motion under the hood for micro-interactions.
- Fluid Transitions: Popovers, Modals, and Dropdowns slide and scale into view smoothly.
- Ripple Effects: Buttons and interactive elements often have subtle press animations (scale down slightly) or ripple effects.
- Rule for Agents: Avoid overriding standard component transition speeds unless specifically requested. Trust the default Framer Motion springs and easings provided by the library.
6. Layout & Sizing
Sizing Scale
Components almost always support size="sm", size="md", and size="lg".
- Use
smfor dense data tables or tight navigation bars. - Use
md(default) for standard application UI. - Use
lgfor landing pages, marketing sites, or prominent Call-To-Action sections.
Structure (Tailwind)
Since HeroUI doesn't enforce a rigid grid component (like Bootstrap), use standard Tailwind CSS flexbox and grid utilities (flex, grid, gap-4, grid-cols-12) to structure the layout around HeroUI components.
Instructions for Agents
- MM Excellence: Apply HeroUI patterns conforming to the premium standards expected in MM projects.
- Prop-First Styling: Before adding Tailwind utility classes to a HeroUI component, check if a prop exists for it (e.g., use
color="danger" variant="flat"instead ofclassName="bg-red-100 text-red-500"). - Embrace the Vibe: Use
radius="lg"andshadow="sm"to maintain the modern, soft aesthetic of the library. - Respect Dark Mode: Rely entirely on the HeroUI Tailwind plugin's dynamic colors so the app transitions flawlessly between light and dark themes.
- Use the
isBlurredprop: Whenever implementing floating elements like sticky Navbars or bottom sheets, enable the blur effect for a premium glassmorphic feel.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: m2kky
- Source: m2kky/mm-design-systems
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.