set up inheritance for shared ui components