The qds-content-palette component lists the block definitions available for the current content mode using a sectioned qds-sidebar-menu. Palette items show the block name, expose the longer description through the native tooltip, can be clicked to append a block, and can be dragged into qds-content-canvas and qds-content-outline drop targets for position-aware insertion.
| Property | Type | Description |
|---|---|---|
mode |
'page' | 'dashboard' |
Active content mode |
registry |
QdsBlockRegistry | null |
Available block definitions |
readonly |
boolean |
Disables add actions |
See test.html for a live demo. Serve the repo (npm run serve) and open /assets/components/content-palette/test.html.