ref: Heading
in previous version, it existed. Why is this removed? What’s the alternative?
1 Like
The size prop was removed to allow headings styles to be controlled contextually based on where they are used. Both the styles and heading level adjust based on the use-case (location inside a page or section).
This was to help ensure proper headings for accessibility and apply heading styles consistently.
please explain the alternative of it so i can set the size of it