Comments
A comment section with a form for posting comments and support for nested replies.
Default Comments
Blade code
<x-fwb.blocks.publisher.comments />
Custom Title & Count
Comments (3)
Blade code
<x-fwb.blocks.publisher.comments
title="Comments"
:commentCount="3"
/>
Component Properties
Comments x-fwb.blocks.publisher.comments
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | Discussion |
The heading text for the comments section. |
| commentCount | int | 0 |
The number of comments displayed next to the title. |
| form | slot | - | Named slot to replace the default comment form with a custom one. |
| slot | slot | - | Default slot for comment items. When empty, shows example comments with nested replies. |