Skip to main content
Glama

scaffold_component

Generate a complete Helix-pattern web component scaffold including Lit class, CEM annotations, test stub, Storybook story, and CSS. Auto-detects tag prefix and base class from the library's Custom Elements Manifest.

Instructions

Generate a complete Helix-pattern web component scaffold: Lit class with decorators, CEM annotations (@slot, @csspart, @fires), Vitest test stub, Storybook CSF3 story, and CSS structure. Conventions (tag prefix, base class) are auto-detected from the library CEM so the generated code matches existing library patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNameYesCustom element tag name (e.g. "hx-button"). Must be lowercase and contain a hyphen.
baseClassNoBase class to extend (e.g. "LitElement"). If omitted, detected from the CEM or defaults to "LitElement".
slotsNoSlots to expose. Use name "" or "default" for the unnamed default slot.
cssPartsNoCSS parts to expose via ::part().
eventsNoCustom events to dispatch.
propertiesNoReactive properties / attributes to declare.

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bookedsolidtech/helixir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server