I created a earbud case in the Airpod Case style.
The two parts snap together with magnets. I used 4 round 5 x 3 mm magnets.