Trim the ends of the ramp bulbs and cut off the leaves. (Reserve the leaves for another use if desired.)
Thoroughly rinse the bulbs, then dry them off with a clean kitchen towel.
Place the ramps and sliced habanero into a clean 16-ounce jar.
Combine the rice vinegar, water, bay leaf, sugar, salt, peppercorns, mustard seeds, and cloves in a small saucepan.
Bring the contents to a low boil for about 3 minutes, stirring until the sugar and salt have dissolved.
Transfer the brine to a measuring cup.
Pour the brine into the jar with the ramps, leaving a ½ inch at the top of the jar. Gently push down any floating ramps so that they are covered in liquid.
Let the jar cool to room temperature.
Seal with the lid and refrigerate for at least 1 week before serving.