add preview component