create-package

Installation
SKILL.md

Create Package Workflow

Guide for creating or modifying packages in the gluestack-ui ecosystem. This includes working with gluestack-core (component creators) and gluestack-utils (utilities, hooks, styling helpers).

Package Types

gluestack-core

Contains component creators and core logic:

  • Creator functions (factory pattern for components)
  • ARIA hooks for accessibility
  • Component-specific logic
  • State management

Critical Export Requirements:

  • All components need barrel exports in src/[component]/index.tsx
  • Main index must export all components: src/index.tsx
  • Deep imports enabled via scripts/generate-barrel-exports.js (auto-runs on build)
  • TypesVersions in package.json for TypeScript deep import support
Installs
1
GitHub Stars
5.3K
First Seen
Sep 2, 2026
create-package — gluestack/gluestack-ui