Button to switch out components or frames?

Is there a way to switch out a component or frame, similar to an overlay, with a button?

Lets say I have three buttons; A, B, and C. I have a table below the buttons. I want button A to load the A table, button B to load B table, and button C to load C table. It seems this would work if there was a simple way to make the buttons switch out the frames. Is that possible?