get_component
Retrieve the source code for any Gluestack UI component by name. Specify a variant like nativewind or themed to get the exact code you need.
Instructions
Get the source code for a specific Gluestack UI component
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | Name of the Gluestack UI component (e.g., 'Button', 'Input', 'Modal') | |
| variant | No | Component variant to retrieve (defaults to nativewind if available) |