Stop Custom Props Reaching the DOM in styled-components with Transient Props and shouldForwardProp
Eliminate React unknown-prop warnings in styled-components by using transient props ($ prefix) and shouldForwardProp to keep custom styling props out of the DOM while preserving dynamic CSS.