Search components
search_componentsFind the right GSAP component from a natural-language brief or name, then filter by mood, use case, level, and more to get ranked results with reasons.
Instructions
Find the components that best fit a natural-language brief (e.g. "un hero elegante para una marca de lujo", "cartas apiladas al hacer scroll") or a name/alias. Returns a ranked, compact list with a why for each hit. Combine the free-text query with facet filters to narrow. Then call get_component on the chosen slug. Leave query empty to browse purely by filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deps | No | Require these runtime deps (e.g. ["three"], ["lenis"]). AND semantics. | |
| mood | No | Aesthetic filter. One of: minimal, elegant, luxury, editorial, bold, playful, corporate, retro, futuristic, experimental, cinematic, brutalist, organic, technical | |
| level | No | page (owns the whole page/scroll) | section (a block) | widget (small embeddable). | |
| limit | No | Max results (default 12). | |
| query | No | Free-text brief or component name/alias. Spanish or English; accent-insensitive. | |
| useCase | No | Page-role filter. One of: hero, preloader, page-transition, navigation, footer, gallery, slider, card-deck, scroll-story, image-reveal, text-reveal, hover-interaction, cursor-effect, logo, background, product-showcase, marquee, team-section, cta, contact | |
| category | No | Animation-family filter (e.g. scroll, cards, menu, 3d-webgl). | |
| mobileSafe | No | If true, only components that degrade well on touch/small screens. | |
| maxPerfCost | No | Cap runtime weight: light | medium | heavy. |