If for human use (wheelchair user or someone using a walker), check out Americans with Disabilities Act building codes.
Follow ADA rules and regulations. Also check if your village has code requirements. Neighbor two doors away had a ramp built. Didn't meet building codes and no permit was pulled. They had to remove it. Still don't have a proper ramp due to cost.