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
- Enter the controller name in kebab-case format
- Add targets, values, and actions (comma-separated)
- Choose JavaScript or TypeScript output
- Click Generate and copy the controller code
Related Tools
JSON Formatter and Validator
Format, validate, and pretty-print JSON with syntax highlighting.
Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 strings back to plain text.
URL Encoder and Decoder
Encode special characters for URLs or decode percent-encoded strings.
HTML Entity Encoder and Decoder
Encode special characters as HTML entities or decode them back.