preview component with command line options