component preview improvements