Back to components
ComponentsDrag placeholder
A dashed drop-zone placeholder used to mark the drop position while reordering rows via drag-and-drop.
Component
Drop here
Props
| Props | Default | Type |
|---|---|---|
text | Drop here | string |
showText | true | boolean |
textClass | — | string |
Usage
text
Displays a custom text in the middle of the placeholder.
<template>
<DragPlaceholder text="Drop here" />
</template>
showText
Toggles whether the text is rendered inside the placeholder. Set it to false for a plain dashed slot with no label, such as the drop indicator used internally by RulesField.
<template>
<DragPlaceholder :showText="false" />
</template>
textClass
The class of the text, which can be used to override the default styles.
<template>
<DragPlaceholder textClass="text-sm font-semibold" />
</template>