Open
Description
Flux version
v2.1
Livewire version
v2.1
Tailwind version
v4.0.7
Browser and Operating System
Chrome
What is the problem?

<flux:text>
renders as <div>
instead of a <p>
When i put the attribute inline, it renders as a<span
as we expected in the documentation

The following is the packages in the composer.json
"require": {
"php": "^8.2",
"bacon/bacon-qr-code": "^3.0",
"intervention/image": "^3.11",
"laravel/framework": "^12.0",
"laravel/nightwatch": "^1.7",
"laravel/tinker": "^2.10.1",
"livewire/flux": "^2.1",
"livewire/flux-pro": "^2.1",
"livewire/volt": "^1.7.0",
"pragmarx/google2fa-laravel": "^2.3"
},
Code snippets
<flux:text>
This is flux:text
</flux:text>
<flux:text inline>
This is flux:text
</flux:text>```
### How do you expect it to work?
Expected the `<flux:text>` will render as `<p>`
```blade
<flux:text>
This is flux:text
</flux:text>```
### Please confirm (incomplete submissions will not be addressed)
- [x] I have provided easy and step-by-step instructions to reproduce the bug.
- [x] I have provided code samples as text and NOT images.
- [x] I understand my bug report will be closed if I haven't met the criteria above.
Metadata
Metadata
Assignees
Labels
No labels