Example for Switch component