find_by_attribute
Locate components based on specific attributes like disabled, color, or size to identify elements with particular properties in your codebase.
Instructions
Find components that have a specific attribute or property.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attribute | Yes | The attribute name to search for (e.g., "disabled", "color", "size") |
Input Schema (JSON Schema)
{
"properties": {
"attribute": {
"description": "The attribute name to search for (e.g., \"disabled\", \"color\", \"size\")",
"type": "string"
}
},
"required": [
"attribute"
],
"type": "object"
}