text: Transparent hydrogel fibers can be used as optical fiber, and stimuli-responsive functional groups can be grafted on to create optical sensors. For example, in the research done by Yun et al. the glucose-sensitive phenylboronic acid was grafted onto the polymer network. When the glucose concentration changes, the adsorption of the phenylboronic acid will change accordingly and can be recorded with the light intensity at a certain wavelength.