Skip to main content

CnVersionInfoCard

Displays application version information in admin settings pages. Shows the app name, installed version, optional configured version, and an update status indicator with an optional update button.

Try it​

Loading CnVersionInfoCard playground…

Props​

CnVersionInfoCard showing app name and version

PropTypeDefaultDescription
appNameString(required)Application name displayed in the version row
appVersionString(required)Installed application version string
titleString'Version information'Section title
descriptionString'Information about the current application installation'Section description
docUrlString''Documentation URL — shows an info icon link next to the title
cardTitleString'Application information'Heading shown inside the card
configuredVersionString''Configured version string (for apps that track configuration versions separately). When non-empty, an extra row is shown.
isUpToDateBooleantrueWhether the configured version matches the installed version. Controls the status indicator color.
showUpdateButtonBooleanfalseWhether to show an "Update" action button
updatingBooleanfalseWhether an update is currently in progress (shows a loading indicator on the button)
additionalItemsArray[]Extra key-value items: [{ label, value, statusClass? }]
loadingBooleanfalseLoading state
labelsObject{ appName: 'Application Name', version: 'Version', configuredVersion: 'Configured Version' }Override the standard row labels

Events​

EventPayloadDescription
update—Emitted when the Update button is clicked

Slots​

SlotDescription
#actionsExtra action buttons in the card header
#additional-itemsCustom additional items (replaces additionalItems prop rendering)
#footerFooter content below the card
#extra-cardsAdditional cards rendered after the version info card

Usage​

<CnVersionInfoCard
app-name="OpenRegister"
app-version="1.5.0"
configured-version="1.4.0"
:is-up-to-date="false"
:show-update-button="true"
:updating="updating"
@update="runUpdate" />

Reference (auto-generated)​

The tables below are generated from the SFC source via vue-docgen-cli. They reflect what's actually in CnVersionInfoCard.vue and update automatically whenever the component changes.

Props​

NameTypeRequiredDefaultDescription
titlestring() =&gt; t('nextcloud-vue', 'Version information')Section title
descriptionstring() =&gt; t('nextcloud-vue', 'Information about the current application installation')Section description
docUrlstring''Documentation URL (shows info icon next to title)
cardTitlestring() =&gt; t('nextcloud-vue', 'Application information')Card heading text
appNamestring✓—Application name to display
appVersionstring✓—Application version string
configuredVersionstring''Configured version (optional, for apps that track configuration versions separately)
isUpToDatebooleantrueWhether the app configuration is up to date
showUpdateButtonbooleanfalseWhether to show the update button
updatingbooleanfalseWhether an update is currently in progress
additionalItemsarray[]Additional key-value items to display. Format: [{ label: 'Label', value: 'Value', statusClass: 'cn-version-info__status--ok' }]
loadingbooleanfalseWhether version info is loading
labelsobject\{ appName: 'Application Name', version: 'Version', configuredVersion: 'Configured Version' \}Custom labels for the standard fields

Events​

NamePayloadDescription
update—

Slots​

NameBindingsDescription
actions—
additional-items—
footer—
extra-cards—