code: def build_checkbox(
      labels=None,
      checked_labels=None,
      padding=1,
      font_size=16,
      on_change=lambda _checkbox: None,
  ):
      """Create horizon theme checkboxes.
  
      Parameters
      ----------
      labels : list(str), optional
          List of labels of each option.
      checked_labels: list(str), optional
          List of labels that are checked on setting up.
      padding : float, optional
          The distance between two adjacent options element
      font_size : int, optional
          Size of the text font.
      on_change : callback, optional
          When checkbox value changed
  
      Returns
      -------
      checkbox : HorizonUIElement
      """
  
      if labels is None or not labels:
          warnings.warn(
              "At least one label needs to be to create checkboxes"
          )
          return
  
      if checked_labels is None:
          checked_labels = ()
  
      checkboxes = ui.Checkbox(
          labels=labels,
          checked_labels=checked_labels,
          padding=padding,
          font_size=font_size,
      )
  
      checkboxes.on_change = on_change
  
      return HorizonUIElement(True, checked_labels, checkboxes)
  
imports: from typing import Any
  from dataclasses import dataclass
  import warnings
  from abc import ABC, abstractmethod
  import numpy
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 3 for calling a global function with example usage: build_checkbox(labels, checked_labels, padding, font_size, on_change) and returns: HorizonUIElement