Standalone Components (DIY)
Comment Composer
We recommend that you familiarize yourselves with UI Customization Concepts before attempting to modify any components.
This component is a thin wrapper around the Comment Dialog Composer component.
VeltCommentComposerWireframe
VeltCommentDialogWireframe.Composer
You can find the wireframe for the Comment Composer
here.
Styling
Disable ShadowDOM
- By default, ShadowDOM is used to ensure that your app’s CSS does not interfere with the styling of the SDK components.
- Disable the shadow dom to apply your custom CSS to the component.
Default: true
Dark Mode
Default: false
Variants
- Define variants for the entire Comment Composer component. This will enable you to show different Composer UI in different parts of your app.
- Alternatively, define a variant for the Comment Dialog component and use it here. This will enable you to show different Comment Dialog UI on the DOM vs here.
- Learn more about how to define and use variants here.