Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.velt.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

We recommend that you familiarize yourselves with UI Customization Concepts before attempting to modify any components.

VeltConfirmDialogWireframe

<VeltWireframe>
    <VeltConfirmDialogWireframe>
        <VeltConfirmDialogWireframe.Title />
        <VeltConfirmDialogWireframe.Message />
        <VeltConfirmDialogWireframe.RejectButton />
        <VeltConfirmDialogWireframe.ApproveButton />
    </VeltConfirmDialogWireframe>
</VeltWireframe>

Title

<VeltWireframe>
    <VeltConfirmDialogWireframe.Title />
</VeltWireframe>

Message

<VeltWireframe>
    <VeltConfirmDialogWireframe.Message />
</VeltWireframe>

RejectButton

<VeltWireframe>
    <VeltConfirmDialogWireframe.RejectButton />
</VeltWireframe>

ApproveButton

<VeltWireframe>
    <VeltConfirmDialogWireframe.ApproveButton />
</VeltWireframe>

Styling

Disable ShadowDOM

ShadowDOM is not used in this component. You can apply your styling directly to the component.

Dark Mode

This component takes the dark mode property from the parent feature (eg: comments) where this used. If the parent feature component is in dark mode, this component will also be in dark mode.

Type-Scoped CSS Classes

When the confirm dialog is shown, a modifier class is added to the root element based on the type prop (see ConfirmDialogComponentConfig):
  • velt-confirm-dialog — always present (base class)
  • velt-confirm-dialog--comment — added automatically when deleting a comment
  • velt-confirm-dialog--reply — added automatically when deleting a reply
  • velt-confirm-dialog--{type} — general form for any custom type string (e.g., archive, mention)
  • No modifier class is added when type is omitted or empty
/* Style the delete-comment confirmation differently from delete-reply */
.velt-confirm-dialog--comment { /* ... */ }
.velt-confirm-dialog--reply   { /* ... */ }