Concepts
Async Collaboration
- Comments
- Comment Dialog
- Inline Comments
- Standalone Components
- Comments Sidebar
- Comment Pin
- Comment Tool
- Comment Bubble
- Comment Player Timeline
- Confirmation Dialog
- MultiThread Comment Dialog
- Persistent Comment Mode Banner
- Text Comment Tool
- Text Comment Toolbar
- Velt Video Player
- In-app Notifications
- Recorder
- Inline Reactions
- Arrows
Realtime Collaboration
- Presence
- Cursors
- Live Selection
- Huddle
- Single Editor Mode
Comment Dialog
Variants
Copy
Ask AI
<VeltWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within Pin, Area, and Text comments only */}
<VeltCommentDialogWireframe variant="dialog">
...
</VeltCommentDialogWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within the Sidebar only */}
<VeltCommentDialogWireframe variant="sidebar">
...
</VeltCommentDialogWireframe>
{/* If you dont use any variants, then customization will be applied to the Comment Dialog globally */}
<VeltCommentDialogWireframe>
...
</VeltCommentDialogWireframe>
</VeltWireframe>
Pre-defined Variants
The Comment Dialog has 2 pre-defined variants:
dialog
: this will customize the Comment Dialog only within Pin, Area, and Text Commentssidebar
: this will customize the Comment Dialog only within Sidebar comments
To use them, set the variant
name in the wireframe template equal to one of the pre-defined variants. You do not need to add it to the actual Velt component.
Copy
Ask AI
<VeltWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within Pin, Area, and Text comments only */}
<VeltCommentDialogWireframe variant="dialog">
...
</VeltCommentDialogWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within the Sidebar only */}
<VeltCommentDialogWireframe variant="sidebar">
...
</VeltCommentDialogWireframe>
{/* If you dont use any variants, then customization will be applied to the Comment Dialog globally */}
<VeltCommentDialogWireframe>
...
</VeltCommentDialogWireframe>
</VeltWireframe>
Was this page helpful?
Copy
Ask AI
<VeltWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within Pin, Area, and Text comments only */}
<VeltCommentDialogWireframe variant="dialog">
...
</VeltCommentDialogWireframe>
{/* This pre-defined variant will change the appearance of the Comment Dialog within the Sidebar only */}
<VeltCommentDialogWireframe variant="sidebar">
...
</VeltCommentDialogWireframe>
{/* If you dont use any variants, then customization will be applied to the Comment Dialog globally */}
<VeltCommentDialogWireframe>
...
</VeltCommentDialogWireframe>
</VeltWireframe>
Assistant
Responses are generated using AI and may contain mistakes.