Responsive stylus grid framework