Concepts
Async Collaboration
- Comments
- In-app Notifications
- Recorder
- Inline Reactions
- Arrows
Realtime Collaboration
- Presence
- Cursors
- Live Selection
- Huddle
- Single Editor Mode
Comment Dialog
Variants
<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.
<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?
<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.