Blade Component Scaffolder
Generate Blade component class and view with props.
Component Configuration
PascalCase name for the component
Props
Generated Files
Component Class
Blade View
Files:
app/View/Components/.phpresources/views/components/.blade.php
<x- />
Features
- Generate Laravel Blade component class and view
- Support for typed props with defaults
- Automatic constructor generation
- @props directive in view
- Slot support
How to Use
- Enter your component name in PascalCase (e.g., Alert)
- Add props your component will accept
- Specify type and default value for each prop
- Check "has slot" if component wraps content
- Click "Generate Component" to create both files
- Use as <x-component-name /> in Blade templates