The capacitor values depend on whether you are trying to make a physically small converter , or if the input is from a transformer + rectifier, or you want a low cost design.
If the input is already smooth DC , then for Cin you just need a small low ESR capacitor. one or two 22uF 35v ceramic capacitors , or a handful of 10uF 35V ceramic capacitors, X5R would be cheapest option. If you have a transformer / rectifier then you will need some bulk energy storage, like 1000uF electrolytic.
For Cout you will need another couple of 22uF ceramic capacitors, e.g 2 x 22uf or 4 x 10uF if running at 400kHz , half that if running at 800kHz . Running at a higher frequency allows smaller capacitors, but reduces efficiency (i.e. runs hotter). The TI website has some useful tools , including web-bench. Here is a snip from the LMR36520 datasheet , this is commonly used on the Adafruit and pololu DC-DC modules.
As with most power supply electronics, don't try running on the hairy edge, if you need a 1A supply , then use a 2A rated device.
The Pololu 12v-5v 1A module is here https://www.pololu.com/product/2831 (you can see the schematic if you scroll down) it uses 4 x 10uF ceramics on the output, and only one on the input. You can get 10uF ceramics in an 0805 package at a better cost point than 22uF in a 1206, for roughly the same space. Designers and manufacturers try to minimise the variety of parts in their designs, for example I use 10uF/35v in 1206 , 10uF/10v in 0805 and 1uF/50v in 0805. A full reel (5000) of 10uF/35v cost less than a half reel of 22u/35v.