Skip to main content
Generates a React component inside the @frontmcp/ui-components package with an MUI scaffold, spec file, and barrel index.

Usage

Options

Generated Files

LoginForm.tsx
index.ts

Auto-Updates

The generator also updates three files in your workspace:
  1. ui/components/project.json — adds the entry to additionalEntryPoints in both build-cjs and build-esm targets
  2. tsconfig.base.json — adds a path alias @frontmcp/ui-components/LoginForm
  3. ui/components/src/index.ts — appends export * from './LoginForm'

Consuming

Example