Creating a Toggle Pill

As part of a project I am currently working on, I decided to add a toggle pill similar to that shown above with the options Files (PDF) and…