Current page for CMS navigation

I want to create side navigation from CMS that when select the particular page it show the active current page like this one: Figma tooling - Resources - Atlassian Design System

You can place a standard collection list in your sidebar, use linkblocks, and set the styling you want on the Current state.

Here’s an example of that on one of my sites, where I have a right-side nav designed this way;

Thanksssss I havent seen it before