Set target for component and box.