Range Inputs are HTML elements which let users select a numeric value between a specified minimum and maximum value. They support single values by default.
As part of the WooCommerce Blocks project we’ve been working on converting WooCommerce widgets to Gutenberg blocks. One of those happens to be a price slider which currently uses jQuery UI. For blocks we’re using React.
Rather than use a library, we were really keen to use native range inputs to keep our dependencies to a minimum, and so the range inputs were semantic and keyboard accessible. Our idea was to overlay 2 range sliders to form a single component.
After working on this, I’d like to share some of my findings. Spoiler alert, the final slider looks like this:
Last year, before the birth of my first son, I was able to get creative and decorate the nursery. Being a huge fan of video games (and retro style graphics!) logically I chose a Super Mario theme for the room and set about making plans to create a large wall mural and other themed objects (as well as doing the boring adult stuff like flooring and painting the walls).
It took approximately 2 months to get everything completed, and a lot of that was lead time on the custom things I needed to order. I do wish I took more shots during the build, but alas I didn’t think I’d be blogging about it. Maybe next time!