Overview
Applies previously extracted override properties to one or more target component instances. Target instances will be swapped to match the source component and all override properties will be applied.This is part of the Instance Override Propagation workflow contributed by @dusskapark. See the demo video.
Parameters
string
required
ID of the source component instance that overrides were extracted from using
get_instance_overridesarray
required
Array of target instance IDs to apply the overrides to. Each instance will be updated with the captured overrides.
Response
boolean
Whether the overall operation succeeded
string
Success or error message describing the result
number
Total number of override properties that were applied
array
Detailed results for each target instance
Usage Example
Complete Workflow Example
What Happens During Application
1
Component swap
Each target instance is swapped to match the source component (if different)
2
Override application
All captured override properties are applied to each target instance:
- Text content
- Visibility states
- Component swaps
- Color overrides
- And more
3
Validation
Each instance is validated and results are returned individually
Common Use Cases
Bulk State Changes
Update multiple button instances to the same state (hover, disabled, etc.)
Theme Application
Apply a theme or color scheme across multiple component instances
Content Updates
Propagate text or content changes to similar instances
Design Consistency
Ensure consistent customizations across repeated components
Error Handling
Possible Errors
- “No overrides found for source instance”: Must call
get_instance_overridesfirst - “Target node is not a component instance”: Target must be an instance, not a main component
- “Component mismatch”: Target instances may need to be swapped to a compatible component first
- “Invalid node ID”: One or more target node IDs don’t exist
Performance Considerations
Notes
- The source instance ID must match an instance from a previous
get_instance_overridescall - Target instances are automatically swapped to the source component if needed
- All override properties from the source are applied (cannot apply selectively)
- Results include per-instance success/failure information
Related Tools
- get_instance_overrides - Extract overrides from a source instance (required first step)
- create_component_instance - Create new instances
- scan_nodes_by_types - Find instances to target
- get_nodes_info - Get information about multiple nodes