Provided herein are novel compounds of formula I, pharmaceutical compositions, and methods of use that relate to membrane-bound proteins such as GPR40. The compounds herein are typically GPR40 agonists and can be used to treat a variety of disorders, conditions, or diseases, such as type 2 diabetes.