Component Registry
@bridgee-ai/sennaComponent Registry
AI-readable component metadata for LLMs and code generation tools. Auto-generated from TypeScript types and component variants.
Overview
The component registry is a machine-readable JSON file that describes Senna components, their props, variants, examples, and semantic tokens. It’s designed for AI agents, code generators, and other tooling.
Accessing the Registry
Via CLI
# List all components
npx @bridgee-ai/senna ls
# Get docs for a specific component
npx @bridgee-ai/senna doc Button
Via HTTP API
# JSON endpoint
curl https://senna.bridgee.app/api/component-registry
Via jq (Local)
# Get Button props
jq '.components.Button.props' packages/kumo/ai/component-registry.json
# List components by category
jq '.search.byCategory' packages/kumo/ai/component-registry.json
Registry Contents
The registry includes: component props with types and defaults, variant options with descriptions, real code examples from stories, semantic color tokens used, and sub-components for compound patterns.
47components
9categories
v1.0.0