New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bs-grid-breakpoint-indicator

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-grid-breakpoint-indicator

Lightweight Bootstrap responsive breakpoint indicator with minimal footprint

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Bootstrap Grid Breakpoint Indicator

Lightweight Bootstrap responsive breakpoint indicator with minimal footprint. Shows current active breakpoint in the top-left corner during development.

Features

  • 🎯 Minimal Footprint - Ultra-lightweight with essential features only
  • 📦 CSS Variables - Easy customization without Sass complexity
  • ⚙️ Configurable - Customize appearance with CSS custom properties
  • 🚀 Bootstrap Compatible - Works with Bootstrap 4 and 5
  • 🔧 Development Friendly - Easy to hide in production

Installation

npm install bs-grid-breakpoint-indicator

Quick Start

Standalone CSS

<link rel="stylesheet" href="node_modules/bs-grid-breakpoint-indicator/dist/bs-grid-breakpoint-indicator.css">
<body class="bs-breakpoint-indicator">

Sass Mixin

@import '~bs-grid-breakpoint-indicator/src/breakpoint-indicator';

.debug-breakpoint {
  @include bs-breakpoint-indicator;
}

Customization with CSS Variables

:root {
  --bs-breakpoint-top: 10px;
  --bs-breakpoint-left: 10px;
  --bs-breakpoint-padding: 4px 8px;
  --bs-breakpoint-font-size: 14px;
  --bs-breakpoint-opacity: 0.6;
  --bs-breakpoint-z-index: 1000;
  --bs-breakpoint-border-radius: 0.25rem;
  --bs-breakpoint-fallback: "no";
}

Available CSS Variables

VariableDefaultDescription
--bs-breakpoint-top2pxDistance from top
--bs-breakpoint-left2pxDistance from left
--bs-breakpoint-padding2px 4pxInner padding
--bs-breakpoint-font-size12pxFont size
--bs-breakpoint-opacity0.4Opacity level
--bs-breakpoint-z-index100Z-index value
--bs-breakpoint-border-radius0.375remBorder radius
--bs-breakpoint-fallback"xs"Fallback content

Custom Breakpoints

Works automatically with your custom Bootstrap breakpoints:

$grid-breakpoints: (
  xs: 0,
  sm: 480px,
  md: 768px,
  lg: 1024px,
  xl: 1200px
);

@import '~bs-grid-breakpoint-indicator/src/breakpoint-indicator';

CDN Usage

<link rel="stylesheet" href="https://unpkg.com/bs-grid-breakpoint-indicator@latest/dist/bs-grid-breakpoint-indicator.css">

License

MIT

Keywords

bootstrap

FAQs

Package last updated on 23 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts