Skip to content

A browser extension that displays real-time responsive breakpoint information while browsing. Built with WXT, React, UnoCSS, and shadcn/ui.

License

Notifications You must be signed in to change notification settings

yeasin2002/ResponsiveKit

Repository files navigation

ResponsiveKit

A browser extension that shows real-time responsive breakpoint info while you browse. Built with WXT, React, and UnoCSS.

Download now

Features

  • 🎯 Toggle on demand via extension icon
  • 📱 Current breakpoint indicator (xs, sm, md, lg, xl, 2xl)
  • 📐 Viewport size, screen resolution, pixel ratio

Quick Start

pnpm install
pnpm dev          # Chrome
pnpm dev:firefox  # Firefox

Load from .output/chrome-mv3-dev or .output/firefox-mv3-dev.

Usage

  1. Click extension icon to show/hide DevTool
  2. Floating button appears in bottom-right corner
  3. Click button to see detailed screen info

Commands

pnpm dev              # Dev server (Chrome)
pnpm dev:firefox      # Dev server (Firefox)
pnpm build            # Production build
pnpm zip              # Create distributable
pnpm compile          # Type check
pnpm check:fix        # Lint + format

Project Structure

app/                  # Extension entrypoints
  background.ts       # Icon click handler
  content.tsx         # DevTool UI injection
components/           # React components
lib/                  # Utilities and hooks
  breakpoints.ts      # Breakpoint definitions
  hooks/              # Custom hooks
  utils.ts            # cn() helper

Breakpoints

Key Width
xs < 640px
sm ≥ 640px
md ≥ 768px
lg ≥ 1024px
xl ≥ 1280px
2xl ≥ 1536px

Browser Support

Chrome, Firefox, Edge, and Chromium-based browsers (Manifest V3).

Tech Stack

Contributing

See CONTRIBUTING.md.

License

MIT

About

A browser extension that displays real-time responsive breakpoint information while browsing. Built with WXT, React, UnoCSS, and shadcn/ui.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published