Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dnvt/padded-grid

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dnvt/padded-grid

A lightweight, flexible baseline and grid system for React applications with precise control over spacing, gaps, and layout

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Padded Grid

A lightweight, flexible grid system for React applications with precise control over spacing and layout.

Quick Start

npm install padded-grid
import { PaddedGrid, XGrid, YGrid } from "padded-grid";
import 'padded-grid/styles.css';

function App() {
  return (
    <PaddedGrid config={{ base: 8, maxWidth: "1200px" }}>
      <XGrid columns={12} gap={16} />
      <YGrid base={8} />
      <main>Content</main>
    </PaddedGrid>
  );
}

Features

  • 🎯 Precise baseline grid alignment
  • 📐 Flexible column layouts (fixed, auto, custom patterns)
  • 📱 First-class responsive support
  • 🎨 Built-in layout guides and overlays
  • 🔧 TypeScript-first with comprehensive types
  • ⚡️ Zero dependencies
  • 🪶 Tree-shakeable

Documentation

  • Grid System Documentation - Core concepts and formulas
  • Component API Reference - Detailed component docs
  • Examples & Use Cases - Common patterns

Roadmap (Post v0.1)

  1. Comprehensive test suite
  2. RTL support
  3. SSR compatibility
  4. Additional grid variants
  5. Animation support

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT © François Denavaut

Keywords

FAQs

Package last updated on 27 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc