Renders a switch component.
:id
- The id to be applied to the input element :name
- The name to be applied to the input element :class
- Additional CSS classes :value
- The current value of the switch :default-value
- The default value of the switch :field
- Phoenix form field :disabled
- Whether the switch is disabled :on-checked-changed
- Handler for value change event