CoreUI PRO v5.10.0
We are excited to announce the release of CoreUI PRO v5.10.0! This update introduces a major refactor, modernizing our styles with the Sass module system, enhancing RTL (Right-to-Left) support through CSS logical properties, and resolving several bugs to improve performance, stability, and maintainability.
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 upgrade your project to CoreUI PRO v5.10.0, follow these steps:
- Open your project’s
package.json. - Locate the
@coreui/coreui-proentry under dependencies and update the version number to5.10.0. - Save your changes to the
package.jsonfile. - In your project’s root directory, execute the appropriate command:
- For npm users: Run
npm install - For yarn users: Run
yarn install
- For npm users: Run
What’s New
Migration to the Sass Module System
CoreUI PRO now fully embraces the Sass module system, deprecating Node Sass and modernizing our codebase with @use and @forward. Key improvements:
- Refactored imports: Replaced
@importwith@useand@forward, aligning with the latest best practices. - Enhanced color manipulation:
- Replaced outdated functions like
blue(),green(), andred()withcolor.channel(). - Adopted
color.scale()instead ofdesaturate(). - Migrated
mix()tocolor.mix().
- Replaced outdated functions like
- Math function refinements:
unit()replaced withmath.unit().comparable()replaced withmath.compatible().percentage()replaced withmath.percentage().
- String and list function updates:
- Migrated
str-index(),str-length(), andstr-slice()tostring.index(),string.length(), andstring.slice(). - Replaced
append()withlist.append()andzip()withlist.zip().
- Migrated
- Map function enhancements:
- Updated
map-get(),map-merge(), andmap-keys()tomap.get(),map.merge(), andmap.keys(). - Replaced
map-values()withmap.values().
- Updated
- Other refinements:
- Migrated
type-of()tometa.type-of(). - Updated
unquote()tostring.unquote(). - Replaced
call()withmeta.call()andget-function()withmeta.get-function().
- Migrated
This migration ensures CoreUI remains future-proof, leveraging the latest advancements in Sass.
Improved RTL & LTR Support with CSS Logical Properties
We’ve made a major shift to CSS logical properties, enabling better RTL support and more adaptable layouts:
- Replaced directional properties like
margin-left,padding-right, andborder-leftwith their logical counterparts (margin-inline-start,padding-inline-end, etc.). - Enhanced layout flexibility, ensuring UI elements automatically adjust to different writing modes.
This change significantly improves the experience for developers building applications in multiple languages.
Fixes & Improvements
- Fixed: Offcanvas close button positioning for improved UI consistency.
- Fixed: Sidebar now correctly highlights the active link when the current URL starts with the
hrefvalue. - Fixed: Resolved an invalid pseudo-element variable in
_form-select.scss, ensuring proper styling.
New Features
- Added: Experimental support for CSS Container Queries, allowing developers to create more flexible and responsive layouts.
Dependency Updates
To ensure better compatibility, security, and performance, we have updated several key dependencies:
- Updated
@babel/clifrom^7.25.9to^7.26.4 - Updated
@babel/corefrom^7.26.0to^7.26.8 - Updated
@babel/preset-envfrom^7.26.0to^7.26.8 - Updated
@docsearch/jsfrom^3.6.2to^3.8.3 - Updated
@eslint/markdownfrom^6.2.1to^6.2.2 - Updated
@rollup/plugin-commonjsfrom^28.0.1to^28.0.2 - Updated
@rollup/plugin-node-resolvefrom^15.3.0to^16.0.0 - Updated
@rollup/plugin-replacefrom^6.0.1to^6.0.2 - Updated
eslintfrom^8.57.0to^9.20.1 - Updated
eslint-plugin-reactfrom^7.34.3to^7.35.0 - Updated
eslint-plugin-unicornfrom^54.0.0to^55.0.0 - Updated
globalsfrom^15.14.0to^15.15.0 - Updated
globbyfrom^14.0.2to^14.1.0 - Updated
hugo-binfrom^0.133.5to^0.140.1 - Updated
jasminefrom^5.4.0to^5.6.0 - Updated
nodemonfrom^3.1.7to^3.1.9 - Updated
postcssfrom^8.4.47to^8.5.2 - Updated
rimraffrom^5.0.8to^6.0.1 - Updated
rollupfrom^4.24.1to^4.34.6 - Updated
sass-embeddedfrom^1.83.1to^1.83.4 - Updated
stylelintfrom^16.10.0to^16.14.1 - Updated
terserfrom^5.36.0to^5.39.0 - Updated
ts-jestfrom^29.1.5to^29.2.5 - Updated
tslibfrom^2.6.3to^2.7.0 - Updated
typescriptfrom^5.5.4to^5.6.2
For a comprehensive breakdown of all enhancements and fixes, check out the full changelog on GitHub.



