Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/editor-suggestion-menu.md
1# EditorSuggestionMenu23A command menu that displays formatting and action suggestions when typing the / character in the editor.45## Key Props67- `items`: as an array of objects with the following properties:89- [`kind?: "textAlign" | "heading" | "link" | "image" | "blockquote" | "bulletList" | "orderedList" | "codeBlock" | "horizontalRule" | "paragraph" | "clearFormatting" | "duplicate" | "delete" | "moveUp" | "moveDown" | "suggestion" | "mention" | "emoji"`{lang="ts-type"}](/docs/components/editor#handlers)10- `label?: string`{lang="ts-type"}11- `description?: string`{lang="ts-type"}12- `icon?: string`{lang="ts-type"}13- `type?: "label" | "separator"`{lang="ts-type"}14- `disabled?: boolean`{lang="ts-type"}1516## ::component-example1718elevated: true19collapse: true20name: 'editor-suggestion-menu-items-example'21class: 'p-8'2223---2425::2627::note28You can also pass an array of arrays to the `items` prop to create separated groups of items.2930- `char`: to change the trigger character.31- `options`: to customize the positioning behavior using [Floating UI options](https://floating-ui.3233## Usage3435```vue36<UEditorSuggestionMenu37<!-- props here -->38/>39```40