API design pattern

from Dribbble