I want to use the Step marking in the header. But it only works in the demo

I want to use the Step marking in the header. But it only works in the demo. How to create a step with a string and a component?