Stimulus.js Controller Generator

Generate Stimulus.js controller boilerplate with targets, values, and actions. Supports both JavaScript and TypeScript output with HTML usage examples included.

How to Use Stimulus.js Controller Generator

Enter a controller name in kebab-case, then specify targets, values, and actions as comma-separated lists. Toggle TypeScript mode if needed. The generator produces a complete controller file with HTML usage example.

Step-by-Step Instructions

  1. Enter the controller name in kebab-case format
  2. Add targets, values, and actions (comma-separated)
  3. Choose JavaScript or TypeScript output
  4. Click Generate and copy the controller code

Related Tools

More Free Tools