Item logo image for Ruler

Ruler

ExtensionDeveloper Tools
Item media 1 (screenshot) for Ruler

Overview

Measure the space between elements and inspect the Carbon tokens they use, inside shadow DOM and Storybook iframes.

Ruler checks a page against the Carbon Design System, pixel by pixel. • Click two elements to measure the gap between them, or the insets of one inside the other. • Hover any element to see its Carbon tokens: type, color, spacing, border and radius, and motion. Each value is marked green when it uses a token, yellow when a hard-coded value equals a token, and red when no token matches. • Check text contrast against WCAG AA and AAA. • See padding and margin drawn on the page, and the Carbon 2x grid for the current breakpoint. • Shift+click to pin token cards, then copy them all as one spec report. • Freeze the panel on an element to inspect its hover, focus and open states. It reaches into open shadow roots (Carbon web components) and works inside Storybook's preview iframe. Ruler only runs on the tab where you turn it on, makes no network requests, and keeps your pinned cards and settings in your browser.

Details

  • Version
    1.3.0
  • Updated
    October 29, 2026
  • Offered by
    devadula.nandan@gmail.com
  • Size
    35.58KiB
  • Languages
    English
  • Developer
    Email
    devadula.nandan@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization

Ruler has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.

Ruler handles the following:

Website content

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes
Google apps