VeltCommentComposerProps.
context
Pass custom context data to comments created via the Comment Composer. The provided context object will be added to the comment annotation, allowing you to associate additional metadata with comments.- React / Next.js
- Other Frameworks
documentId
Set a specific document ID for comments created via the Comment Composer. This allows you to associate comments with a particular document.- React / Next.js
- Other Frameworks
folderId
Set a specific folder ID for comments created via the Comment Composer. This allows you to associate comments with a particular folder.- React / Next.js
- Other Frameworks
locationId
Set a specific location ID for comments created via the Comment Composer. This allows you to associate comments with a particular location.- React / Next.js
- Other Frameworks
placeholder
Customize the input placeholder text in the comment composer. Overrides default placeholders.- React / Next.js
- Other Frameworks
targetComposerElementId
Set a unique identifier for the composer to enable programmatic submission via the submitComment() method.- React / Next.js
- Other Frameworks
clearComposer
Reset composer state including text, attachments, recordings, tagged users, assignments, and custom lists. Refer toclearComposer() for more details.
submitComment
Programmatically submit a comment from a composer. Refer tosubmitComment() for more details.
getComposerData
Get the current state of the composer including text, attachments, recordings, tagged users, assignments, and custom lists. Refer togetComposerData() for more details.
readOnly
Disable comment input at the component level. When set totrue, the composer will be in read-only mode.
The component-level readOnly prop takes precedence over the global read-only setting when explicitly set.
- React / Next.js
- Other Frameworks

