One of the many things a PDK contains is the standard cell library.
This is a collection of all the analogue and digital building blocks used to build an IC.
Even though they look flat, they are 3 dimensional structures.
SkyWater 130nm examples
Here are some examples taken from the high density SkyWater 130nm standard cell library.
D type Flip Flop