Epoxy acrylate has been widely used as optical resin for applications such as cladding, the core of a waveguide, and other photonic devices. In this study, sustainable resin from edible oil was used as an alternative to epoxy acrylate. Structural features and the transmission of planar thin-film resin from an ultraviolet-visible spectroscopy (UV-VIS) spectrometer were investigated upon UV exposure. It was found that high transmission still persists for all samples with and without an UV absorber for exposed and unexposed samples. The film was found to absorb strongly below 400 nm. A change in the cut-off wavelength was observed upon exposure. Thin-film hardness and its dynamic indentation in the load-unload mode with different test forces were evaluated. Vickers hardness and the elastic modulus were determined for unacrylated epoxidized soybean oil (ESO) and acrylated epoxidized soybean oil (AESO). It was found that the AESO has a higher Vickers hardness and elastic modulus than those of unacrylated thin film. The Vickers hardness and elastic modulus were found to increase as the applied test force increased. The refractive index, thickness, and modes present were characterized from a spin-coated planar thin film. The refractive index in the transverse electric mode (TE) and transverse magnetic mode (TM) were determined and compared for unacrylated and acrylated epoxidized oil.