find-components-by-name
Search and retrieve UI components by name or keyword from Storybook files to streamline development and enhance component discovery.
Instructions
Search components by name/keyword
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Component name or keyword to search for | |
path | No | Path to the index.json or stories.json file (optional if default path is provided) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"description": "Parameters for finding component by name",
"properties": {
"name": {
"description": "Component name or keyword to search for",
"type": "string"
},
"path": {
"description": "Path to the index.json or stories.json file (optional if default path is provided)",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}