adds object component styling