How to make a piston door in Minecraft's 1.19 update

Take note you can also make doors on the left and right side, not just the middle. You can scroll to select the device, use the search box ...