Skip to main content

Widgets

Widgets are the primary content blocks on LaunchPad dashboards. LaunchPad combines two widget sources:

  • Nextcloud Dashboard API widgets — every widget registered by an installed Nextcloud app, exposed via the v1 (IAPIWidget) or v2 (IAPIWidgetV2) interface, plus the legacy callback-based widgets.
  • Registry-driven custom widgets — 25 in-app widget types. 17 are LaunchPad-native (defined in src/constants/widgetRegistry.js); the other 8 are OpenRegister analytics widgets contributed by the communal dashboardWidgetRegistry in @conduction/nextcloud-vue and overlaid by LaunchPad's registry. Each entry pairs a Vue renderer with an Add Widget sub-form and a defaultContent shape.

This page documents the registry-driven catalog. For the full shared catalog (all 25 types with screenshots), see the Dashboard Widget Catalog in @conduction/nextcloud-vue (docs/components/dashboard-widget-catalog.md). For app-level Dashboard API widgets, see the host app's documentation.

Widget catalog​

#TypeDisplay nameIconUse it for
1labelLabelFormatTitleShort, single-line headings inside a cell
2textTextFormatTextMulti-line markdown / HTML / table content
3imageImageCameraA single image (URL or Files-picker)
4linkLink ButtonLinkVariantOne-click action / external link button
5nc-widgetNextcloud WidgetViewDashboardProxy for any installed NC Dashboard widget
6headerHeader BannerViewHeadlineHero banner with overlay + CTA
7dividerDividerMinusVisual separator (line / heading / whitespace)
8filesFilesFolderInline Files browser (folder or file pin)
9peoplePeopleAccountGroupRoster of users with filters & birthdays
10quicklinksQuicklinksStarTile-grid of favourite links
11newsNewsRssBoxAggregated RSS / Atom feeds
12videoVideoVideoEmbedded video (URL or Files)
13calendarCalendarCalendarInternal NC calendars + external ICS
14linksLinksLinkBoxVariantSectioned link directory
15menuMenuViewDashboardDropdown / horizontal navigation menu
16containerContainerViewDashboardRecursive sub-grid host (max depth 3)
17tileTileViewGridSingle icon-tile shortcut
18statStatistic / KPITrendingUpOne headline number from an OpenRegister aggregate
19deltaComparison / deltaTrendingUpCurrent vs previous value + signed % change
20gaugeGauge / utilizationGaugeA value against a target, with warn/danger bands
21stats-blockStatistic cardChartBarA labelled count card (GraphQL-backed)
22chartChartChartLineApexCharts bar/line/pie over OpenRegister data
23object-listObject listClipboardListA filtered page of OpenRegister objects as a table
24tableTableClipboardListCompact data table (external rows or self-fetch)
25spend-analyticsSpend analyticsChartBarProcurement/finance spend (financeq + procest)
26mapMapMapOpenRegister objects with a location, on a map

How widgets are persisted​

Every placement is one row in oc_launchpad_widget_placements:

ColumnStores
widget_idThe registry type key (e.g. label) — or a Nextcloud Dashboard widget id
grid_x / grid_y / grid_width / grid_heightGridStack position
style_configOptional per-placement style overrides (JSON)
contentPer-type configuration blob (JSON) — shape matches the type's defaultContent
custom_title / custom_iconPer-placement title/icon overrides
tile_*Legacy columns used by the standalone tile flow

The content column was added in Version001025Date20260508060000 to make the registry-driven types persistable end-to-end.

REST API​

MethodEndpointDescription
GET/api/widgetsList Nextcloud Dashboard API widgets visible to the user
GET/api/widgets/itemsFetch items for one or more widgets
POST/api/dashboard/{dashboardId}/widgetsAdd a placement (accepts widgetId, grid coords, optional content)
PUT/api/widgets/{placementId}Update grid / style / content of a placement
DELETE/api/widgets/{placementId}Remove a placement

Known polish items​

  • The wrapper still draws a "Widget" header above chrome-less types (label, divider, header). The data and rendering are correct; the title row is just visual noise on those three. Tracked as a follow-up.
  • The Add button can stay disabled when the widget type is freshly switched in the modal until the user touches a sub-form input — the validationTick watcher in AddWidgetModal.vue only bumps on update:content events, not on type changes. Workaround: edit any field once after switching type.

label​

A short, single-line plain-text heading inside a dashboard cell. Content is rendered via Vue interpolation only (never v-html), so any HTML inside text is shown as literal characters — XSS-safe by construction.

Renderer: LabelWidget.vue · Form: LabelForm.vue · Spec: openspec/specs/label-widget/spec.md

FieldDefaultNotes
text''Heading text. Empty → renderer falls back to "Label".
fontSize16pxAny CSS length.
colorvar(--color-main-text)Empty = inherit theme.
backgroundColortransparentCell background.
fontWeightboldnormal / bold.
textAligncenterleft / center / right.

Add Widget — Label Label widget rendered


text​

Multi-line text block with markdown / HTML / table rendering modes. New placements default to markdown; rows that pre-date contentMode fall through to the legacy HTML branch.

Renderer: TextDisplayWidget.vue · Form: TextDisplayForm.vue · Spec: openspec/specs/text-display-widget/spec.md

FieldDefaultNotes
text''Body. Markdown when contentMode='markdown'.
fontSize14px
color / backgroundColor'' / ''
textAlignleft
contentModemarkdownmarkdown / html.
tableMode / tableDatafalse / nullSwitches the renderer to a structured table.

Add Widget — Text Text widget rendered


image​

A single image with three sources: external URL, uploaded file, or a Files-picker pin.

Renderer: ImageWidget.vue · Form: ImageForm.vue · Spec: openspec/specs/image-widget/spec.md

FieldDefaultNotes
url''External URL or Files path.
alt''Accessible alt text.
link''Optional click-through URL.
fitcovercover / contain / fill / none.

Add Widget — Image Image widget rendered


A single big call-to-action button. The displayMode='button' legacy mode draws one button; displayMode='list' toggles the alternate mode where links[] is rendered inline.

Renderer: LinkButtonWidget.vue · Form: LinkButtonForm.vue · Spec: openspec/specs/link-button-widget/spec.md

FieldDefaultNotes
label''Button text.
url''Destination.
icon''Material Design icon name.
actionTypeexternalexternal / internal.
backgroundColor / textColor'' / ''
displayModebuttonbutton / list.
listOrientation / listItemGapvertical / normalList-mode only.
links[][]List-mode children.

Add Widget — Link Button Link Button widget rendered


nc-widget​

A proxy that mounts any Nextcloud Dashboard API widget inside a LaunchPad placement. Use it to drop the standard "Upcoming events", "Important mail", "Favorites", etc. widgets onto a LaunchPad dashboard.

Renderer: NcDashboardWidget.vue · Form: NcDashboardForm.vue · Spec: openspec/changes/nc-dashboard-widget-proxy/

FieldDefaultNotes
widgetId''Nextcloud Dashboard widget id (e.g. calendar, mail).
displayModeverticalvertical / horizontal.

Add Widget — Nextcloud Widget nc-widget rendered


A hero banner with optional background image, overlay, vertical/horizontal alignment, and a Call-to-Action button. The form's validate() requires a non-empty title, http(s) for any background URL, and CTA label/url paired (both or neither).

Renderer: HeaderWidget.vue · Form: HeaderForm.vue · Spec: openspec/specs/header-banner-widget/spec.md

FieldDefaultNotes
title''Required.
subtitle''
backgroundImageUrl''Must be http(s) if set.
backgroundImageFileIdnullFiles-picker source.
backgroundColor''
overlayModenonenone / solid / gradient.
overlayColor / overlayOpacity'' / 0.4
textColor''
textAlign / verticalAligncenter / middle
heightmediumsmall / medium / large.
ctanull{label, url, icon} or null.

Add Widget — Header Banner Header widget rendered


divider​

A visual separator between sections. Three styles:

  • line — horizontal line with optional thickness/color/style
  • heading-break — line + heading text (heading is required for this style)
  • whitespace — pure spacing, no visible line

Renderer: DividerWidget.vue · Form: DividerForm.vue · Spec: openspec/specs/divider-widget/spec.md

FieldDefaultNotes
stylelineline / heading-break / whitespace.
lineColor / lineThickness / lineStyle'' / 1 / solid
whitespaceSizemediumsmall / medium / large.
headingText''Required for heading-break.

Add Widget — Divider Divider widget rendered


files​

Inline Files browser pinned to a folder or single file. Supports search, sort, optional upload/delete, and a mime-type filter.

Renderer: FilesWidget.vue · Form: FilesForm.vue · Spec: openspec/specs/files-widget/spec.md

FieldDefaultNotes
folderPath''Absolute Files path. Empty = error placeholder.
fileIdnullPin a single file instead of a folder.
viewModelistlist / grid.
showThumbnailstrue
mimeTypeFilter[][]e.g. ['image/*'].
allowUpload / allowDeletefalse / false
sortBy / sortDescendingname / false

Add Widget — Files Files widget rendered


people​

Roster of users with two selection modes (filter for rule-based, manual for hand-picked), per-field display toggles, and a birthday window.

Renderer: CnPeopleWidget · Form: CnPeopleWidgetForm (both from @conduction/nextcloud-vue, fed by cnPeopleSource in widgetDataAdapters.js) · Spec: openspec/specs/people-widget/spec.md

FieldDefaultNotes
layoutgridgrid / list.
selectionModefilterfilter / manual.
selectedUsers[][]Manual mode.
filters[] / filterOperator[] / ANDFilter mode.
excludeDisabledtrue
showBirthdays / birthdayWindowDaystrue / 7
sortBy / columnsdisplayName / 3
showFields{displayName, role, organisation, email, phone, avatar, birthdate}All true by default.

Add Widget — People People widget rendered


A tile grid of favourite links — each with its own icon, label, and color. Useful for a "starter row" or as a compact navigation cluster.

Renderer: QuicklinksWidget.vue · Form: QuicklinksForm.vue · Spec: openspec/specs/quicklinks-widget/spec.md

FieldDefaultNotes
links[][]{id, label, url, icon, backgroundColor, textColor}.
iconSizemediumsmall / medium / large.
iconShaperoundedrounded / circle / square.
showLabels / labelPositiontrue / belowbelow / overlay / right.
columnsautoNumber or auto.
tileBackgroundStyletransparenttransparent / solid / outlined.
hoverEffectliftlift / fade / none.

Add Widget — Quicklinks Quicklinks widget rendered


news​

Aggregated RSS / Atom feeds. The renderer fetches via the backend (/api/widgets/news/{placementId}/items) so CSP and CORS aren't issues.

Renderer: NewsWidget.vue · Form: NewsForm.vue · Spec: openspec/specs/news-widget/spec.md

FieldDefaultNotes
feedUrls[][]One or many RSS/Atom URLs.
layoutlistlist / cards.
itemLimit10
showThumbnailstrue
showSummary / summaryMaxCharstrue / 200
dateFormatrelativerelative / absolute.
metadataFilternullOptional regex / category filter.

Add Widget — News News widget rendered


video​

Embedded video — either an external URL (mp4 / webm) or a Files-picker pin.

Renderer: VideoWidget.vue · Form: VideoForm.vue · Spec: openspec/specs/video-widget/spec.md

FieldDefaultNotes
sourceTypenullurl / file.
videoUrl''Used when sourceType='url'.
fileIdnullUsed when sourceType='file'.
autoplay / muted / loop / controlsfalse / true / false / true
aspectRatio16:916:9 / 4:3 / 1:1.
posterUrl''Optional thumbnail.

Add Widget — Video Video widget rendered


calendar​

Agenda of upcoming events. Pulls from selected internal Nextcloud calendars and any number of external ICS feeds.

Renderer: CalendarWidget.vue · Form: CalendarForm.vue · Spec: openspec/specs/calendar-widget/spec.md

FieldDefaultNotes
internalCalendars[][]Calendar names from CalDAV.
externalIcsUrls[][]Public ICS URLs.
viewModeagendaagenda / month.
daysAhead14Look-ahead window.
colorByCalendartrue

Add Widget — Calendar Calendar widget rendered


A sectioned link directory — each section has a title and N links. Ideal for an intranet-style "useful links" panel.

Renderer: LinksWidget.vue · Form: LinksForm.vue · Spec: openspec/specs/links-widget/spec.md

FieldDefaultNotes
sections[][]{id, title, links: [{id, label, url, description, icon}]}.
columns3
linkLayoutcardcard / inline.
iconSizemedium
openInNewTabtrue
showSectionTitles / showLinkDescriptionstrue / true

Add Widget — Links Links widget rendered


A navigation menu — dropdown or always-expanded, horizontal or vertical.

Renderer: MenuWidget.vue · Form: MenuForm.vue · Spec: openspec/specs/menu-widget/spec.md

FieldDefaultNotes
items[][]{id, label, url, icon, children?}.
styledropdowndropdown / expanded.
orientationhorizontalhorizontal / vertical.
showIconstrue
expandedByDefaultfalse
activeItemHighlightunderlineunderline / background / none.

Add Widget — Menu Menu widget rendered


container​

A recursive sub-grid host. Children live in content.placements[] and render through the inner GridStack instance bounded by the container's outer cell. Server-side REQ-CONT-006 caps recursion at 3 levels deep so a malformed payload can't blow up the renderer.

Renderer: ContainerWidget.vue · Form: ContainerForm.vue · Spec: openspec/specs/container-widget/spec.md

FieldDefaultNotes
placements[][]Child placements (recursive — same shape as a top-level placement).
backgroundColortransparent
paddingmediumnone / small / medium / large.
title''Optional section title.

Add Widget — Container Container widget rendered


tile​

The registry-driven replacement for the deprecated standalone tile-creation flow. The renderer reads from BOTH the new inline content.{...} shape AND the legacy flat placement.tile* columns, so dashboards holding tile placements created via the deprecated oc_launchpad_tiles flow keep rendering without a migration step.

Renderer: TileWidget.vue · Form: TileForm.vue · Spec: openspec/specs/tiles/spec.md

FieldDefaultNotes
title''Tile label.
icon''Material icon class or SVG path.
iconTypeclassclass / svg.
backgroundColor / textColor#3b82f6 / #ffffff
linkTypeappapp / external / internal.
linkValue''App id, URL, or internal route.

Add Widget — Tile Tile widget rendered


OpenRegister analytics widgets

These 8 types are contributed by the communal dashboardWidgetRegistry in @conduction/nextcloud-vue and resolve their data from OpenRegister at render time — so they need OpenRegister installed with data. Their renderers and sub-forms live in @conduction/nextcloud-vue (CnStatWidget, CnChartWidget, …), not in src/components/Widgets/. They share a content.dataSource block: { register, schema, filter?, aggregate|groupBy|bucket }, where register/schema are OpenRegister slugs picked from the form's paired Register/Schema dropdowns.

stat​

A single headline KPI. Resolves one number from an OpenRegister aggregate (count or a metric over a field) and renders it as a large formatted figure with an optional caption and click-through. Use it for: "open leads", "documents this month".

Renderer: CnStatWidget (nc-vue) · Form: CnStatWidgetForm · Spec: openspec/specs/stat-widget

FieldNotes
dataSource.register / schemaOpenRegister slugs.
dataSource.aggregatecount or { metric, field }.
caption / icon / routeOptional chrome + click-through.

delta​

Comparison card. Resolves a current and a previous aggregate (two time windows) and renders the current value plus the signed percentage change, coloured by goodDirection. Use it for: "revenue vs last month", "new cases week-over-week".

Renderer: CnDeltaWidget (nc-vue) · Form: CnDeltaWidgetForm

FieldNotes
dataSourceregister + schema + the metric.
currentWindow / previousWindowThe two comparison ranges.
goodDirectionup or down — drives the green/red colour.

gauge​

Radial gauge of a value against a target, coloured by warn/danger thresholds. Use it for: "storage used", "SLA attainment", "budget consumed".

Renderer: CnGaugeWidget (nc-vue) · Form: CnGaugeWidgetForm

FieldNotes
dataSourceregister + schema + value metric.
targetThe 100% reference value.
warnThreshold / dangerThresholdColour bands.

stats-block​

A labelled count card. Pulls a count from OpenRegister's GraphQL endpoint and renders it in the shared CnStatsBlock. Use it for: a compact "N objects" tile.

Renderer: CnStatsBlockWidget (nc-vue) · Form: CnStatsBlockWidgetForm

FieldNotes
dataSource.register / schemaThe collection to count.
labelCard label above the count.

chart​

ApexCharts wrapper (bar / line / area / pie / donut / radialBar). Two breakdown modes: category (groupBy a field → one bar per value) and time-series (bucket a date field by month/week → a trend line). apexcharts / vue-apexcharts are peer deps. Use it for: "characters by type", "cases opened per month".

Renderer: CnChartWidget (nc-vue) · Form: CnChartWidgetForm

FieldNotes
chartKindbar / line / area / pie / donut / radialBar.
dataSource.register / schemaSource collection.
dataSource.groupBy{ field, metric: 'count', sort, limit } — category mode.
dataSource.bucket{ field, interval: 'month', metric } — time-series mode.

Example content for a bar chart of larping characters by type:

{ "chartKind": "bar",
"dataSource": { "register": "larpingapp", "schema": "character",
"groupBy": { "field": "type", "metric": "count", "sort": "desc", "limit": 8 } } }

object-list​

Fetches a filtered page of OpenRegister objects (register + schema + filter + sort + limit) and renders them as a compact column table. Use it for: "latest 10 leads".

Renderer: CnObjectListWidget (nc-vue) · Form: CnObjectListWidgetForm

FieldNotes
dataSource.register / schemaSource collection.
dataSource.filter / sort / limitQuery controls.
columnsWhich schema fields to show.

map​

Plots OpenRegister objects that carry a location on a Leaflet map, with an OpenStreetMap background, optional clustering for dense point sets and a popup per object. The map frames the objects when it loads (autoFit); center and zoom only show until then. Use it for: "open reports on a map", "locations of our sites".

Renderer: CnMapWidget (nc-vue) · Form: CnMapWidgetForm

The type is registered in nc-vue's communal widget registry, so it reaches the LaunchPad widget picker without a LaunchPad change, like chart.

FieldNotes
markers.dataSourceEither { register, schema } (OpenRegister objects) or { url } (a GeoJSON or JSON endpoint). Exactly one of the two.
markers.latField / lngFieldThe object properties holding the coordinates, when they are not a GeoJSON geometry.
markers.popupFieldThe property shown in a marker's popup.
markers.geoPropertyThe property holding each object's geometry: a GeoJSON point, line, polygon or multi-geometry, or a lat/lng value. Without it, or when it is empty, @self.geo is read.
markers.dataSource.spatialFilterNarrows a register source to an area through OpenRegister's geo filters: { "bbox": [west, south, east, north] }, { "near": [lon, lat], "radius": 500 } (meters) or { "within": <GeoJSON Polygon or MultiPolygon> }. Exactly one; it needs a register and schema. There is no nearest-N query in OpenRegister; a radius with limit comes closest.
markers.detailLinkThe address a clicked object opens in a new tab, for example /apps/dossiq/#/cases/{id}. {id}, {register}, {schema} read the object's @self, any other {name} its property. Without it, a url the object carries is opened. An app path or an http(s) address only.
markers.clustering / clusteringGroup nearby markers.
center / zoomThe starting view, [lat, lng]; the Netherlands by default.
autoFitFrame the markers on load (default on).
basemapsBackground layers; OpenStreetMap by default. The form offers OpenStreetMap and the PDOK BRT achtergrondkaart (standaard, grijs, pastel) and luchtfoto presets; PDOK needs service.pdok.nl in the CSP img-src.
layersExtra tile, wms, wfs or geojson layers.
heightThe map's height, 400px by default.

Example content for reports on a map:

{ "center": [52.13, 5.29], "zoom": 7, "autoFit": true,
"markers": { "dataSource": { "register": "meldingen", "schema": "melding" },
"popupField": "title", "clustering": true } }

The coordinates come from OpenRegister: objects whose schema stores a location (see OpenRegister's geo metadata on schemas) are what this widget can show.

Example content for open cases inside a district, each opening its case page:

{ "markers": { "geoProperty": "location", "detailLink": "/apps/dossiq/#/cases/{id}",
"dataSource": { "register": "dossiq", "schema": "case",
"spatialFilter": { "bbox": [5.10, 52.05, 5.15, 52.10] } } } }

LaunchPad checks a map's content when it is saved: a register source needs both its register and its schema, a spatial filter must read and needs a register source, and a detail link must be an app path or an http(s) address. A map of layers only, or of inline or url markers, needs no register.

table​

Compact data table with a card wrapper, title header, and optional "View all" footer. Two data modes: pass rows directly, or self-fetch via register + schemaId. Shares the object-list sub-form. Use it for: an embedded report table.

Renderer: CnTableWidget (nc-vue) · Form: CnObjectListWidgetForm

FieldNotes
rowsExternal rows (when not self-fetching).
register / schemaIdSelf-fetch source.
viewAllLinkOptional footer link.

spend-analytics​

Financial spend-analytics widget with period tabs (month / quarter / year). Reads from the financeq (transactions) and procest (vendor commitments) sibling apps via their /graphql endpoints; renders a graceful empty state when a sibling is absent. Use it for: a procurement/finance overview. Requires financeq and/or procest installed.

Renderer: CnSpendAnalyticsWidget (nc-vue) · Form: CnSpendAnalyticsWidgetForm

FieldNotes
periodmonth / quarter / ytd / fy.
categoryIds / departmentIdsOptional filters passed to the finance query.

Calculated fields​

A placement can carry calculatedFields: formulas over the widget's own data (revenue - cost), its other calculated fields (margin) and other widgets on the dashboard (widget:<id>.total), written in a small expression language with an allowlisted set of functions (math, aggregates, dates, durations, strings, conditionals and type coercion). The editor parses the formula into an AST and the API stores both (expression, compiledExpression).

On save (PUT /api/widgets/{placementId}) the server checks every field against the whole dashboard and refuses a bad one with 400 and an error envelope (invalidExpression, unknownFunction, functionNotAllowed, arityMismatch, functionSignature, typeError, duplicateField, cycleDetected, each naming the field); nothing is saved. Valid fields come back with their returnType.

Each field has an evaluationMode:

  • client (default): evaluated in the browser, re-evaluated whenever the widget's data or the dashboard filters change, never stored.
  • server and both: also materialised on the widget's OpenRegister source schema as a read-only calculated property, launchpad_<placement>__<name> (the field's serverComputedFieldId), which OpenRegister computes on every object save, so the value can be queried and exported through the OpenRegister API. A changed formula replaces the property; setting a field back to client, changing the widget's source or removing the widget removes it.

A server-mode field is saved as a client field, with a downgraded_evaluation_mode entry in the response's warnings, when it reads a widget backed by another register or schema, when the widget has no OpenRegister source, when it uses something OpenRegister does not evaluate the same way (only literals, the widget's own fields, other materialised fields, arithmetic, comparisons, logic, if, abs, min, max and coalesce are materialised), or when OpenRegister refuses to update the schema for the current user.

A value that fails at run time (a division by zero, a bad date) does not stop the widget: the client shows an inline error for that cell, and OpenRegister logs the failing calculation and saves the object without it. Format options (currency, decimals, date pattern, duration pattern) only change the displayed text; alerting, exports and drill-down see the native value.

A scheduled export evaluates every field on the server when it fires, with the same rules as the browser, over the rows the recipient's filter leaves. Each widget's table is followed by one row of its field values, headed by the field labels; a field that fails is an empty cell. Every mode is exported this way, so the export carries what the widget shows.