Guides.js
When designing and developing for the web, it's sometimes difficult to follow baselines and precisely align content. Instead of guessing, use guides.js overlay a grid over you HTML while you're working so that you can visually check that everything is aligned perfectly.
Install / Use
/learn @ryhan/Guides.jsREADME
guides.js
When designing and developing for the web, it's sometimes difficult to follow baselines and precisely align content. Instead of guessing, use guides.js overlay a grid over you HTML while you're working so that you can visually check that everything is aligned perfectly.
Demo
http://ryhan.github.io/guides.js/demo/

Usage
Include jQuery and guides.js, and then call
new GridSystem();
Pressing the "g" key will toggle the visibility of the grid.
Options
Hiding on start
To hide the grid from the start, call 'hide' on your GridSystem object. For example,
(new GridSystem()).hide();
Grid Spacing / Alignment
You can also pass a few parameters to adjust the grid. For example, to adjust the alignment and spacing of the grid, one might call
new GridSystem({
align: 'left',
x: { major: 300, minor: 100, gutter: 20},
y: { minor: 50 }
});
<table>
<tr>
<th class="name">Name</th>
<th class="type">Type</th>
<th class="default">Default</th>
<th class="desc">Description</th>
</tr>
<tr>
<td>align</td>
<td>string</td>
<td>'center'</td>
<td class="desc">Decides how the grid should be aligned. Particularly important for resizing. Can be set to 'left' or 'center'.</td>
</tr>
<tr>
<td>x</td>
<td>object</td>
<td>major: 150, minor: 0, gutter: 30</td>
<td class="desc">Set the major and minor gridlines as well as gutters for vertical lines. All values are in pixels.</td>
</tr>
<tr>
<td>y</td>
<td>object</td>
<td>major: 192, minor: 24, gutter: 0 </td>
<td class="desc">Set the major and minor gridlines as well as gutters for horizontal lines. All values are in pixels.</td>
</tr>
</table>Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
2.0kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
HappyColorBlend
HappyColorBlendVibe Project Guidelines Project Overview HappyColorBlendVibe is a Figma plugin for color palette generation with advanced tint/shade blending capabilities. It allows designers to
Flyaro-waffle-app
Waffle Delight - Full Stack MERN Application Rules & Documentation Project Overview A comprehensive waffle delivery application built with MERN stack featuring premium UI/UX, admin management, a
