CoreUI for Vue v5.10.0 - CAlert & CButton Enhancements, Accessibility Improvements
We are excited to announce the release of CoreUI for Vue v5.10.0. This release enhances the CAlert and CButton components, hardens the tooltip and popover directives against XSS, improves accessibility across close buttons and tooltips, and migrates the documentation to Astro.
Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.
How to Update
To update your project to CoreUI for Vue v5.10.0, follow these steps:
- Open your project’s
package.json. - Locate the
@coreui/vueentry under dependencies and update the version number to5.10.0. - Find the
@coreui/coreuientry under dependencies and update the version number to^5.9.0. - Save your changes to the
package.jsonfile. - In your project’s root directory, run the update command appropriate for your package manager:
- For npm users, execute
npm install. - For yarn users, execute
yarn install. - For pnpm users, execute
pnpm install.
- For npm users, execute
What’s New
Features
-
CAlert: Added a
transition, aclosedevent, and anariaCloseLabelprop, and now forwardsclassto the alert element. -
CButton: Added a
toggleprop and setstypeon input buttons. -
CCloseButton, CModalHeader, CToastHeader: Allow customizing the close button
aria-label.
Bug Fixes
- CModalHeader: Renders a
divinstead of aspan. - useColorModes: Removes the
matchMedialistener on unmount. - useUniqueId: Stops mutating the prefix so ids don’t snowball.
Security
- Directives: Tooltip and popover content is now rendered as text to prevent XSS.
Accessibility
- CAlert: Exposes
role="alert"for assistive technology. - Tooltip & Popover: Dismiss on the Escape key, in line with WCAG 1.4.13.
Documentation & Tooling
- Migrated the documentation to the shared
@coreui/astro-docsengine and upgraded to Astro 7. - Migrated the test runner from Jest to Vitest and the package manager from Yarn Classic to npm.
- Added an AI Tools section (MCP Server and LLMs.txt), a SECURITY.md, Dependabot config, and CodeQL code scanning.
Migration Notes
This is a feature release with no breaking changes announced in the published release notes. After upgrading:
- Install updated dependencies.
- Run your test suite and verify the build.
- Review CAlert and CButton usage to take advantage of the new props.
For a comprehensive overview of all changes, enhancements, and updates introduced in this release, please refer to the full changelog on GitHub.



