gluestack-ui-v4:variants

Installation
SKILL.md

Gluestack UI v4 - Creating Component Variants

This sub-skill focuses on creating custom variants for existing gluestack-ui v4 components, allowing you to extend the design system with project-specific styling patterns while maintaining consistency and type safety.

When to Create a Variant

Create a new variant when:

  1. Repeating the same style combination - Multiple places use the same className pattern
  2. Project-specific design patterns - Brand-specific button styles, card types, etc.
  3. Conditional styling - Component appearance changes based on props
  4. Extending existing components - Adding new visual styles to Gluestack components
  5. Theme-specific variations - Different appearances for specific contexts

Don't create variants for:

  • One-off custom styles (use className instead)
  • Simple modifications (use existing props + className)
  • Styles that should be in the global design system
Installs
15
GitHub Stars
1
First Seen
Jul 14, 2026
gluestack-ui-v4:variants — gluestack/agent-skills