How to make different configurations of standard components

Hi Experts

I need to use a 50x5 flat bar in an assembly with different lengths. How can I achieve this using a single base model ? Something similar to I parts in Inventor.

How can I do that ?