Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dnvt/padded-grid
Advanced tools
A development tool for visualizing and maintaining consistent grid systems in React applications. Similar to design tools like Figma, it provides toggleable grid overlays that help ensure precise spacing, alignment, and layout consistency during developme
A development tool for visualizing and maintaining consistent grid systems in React applications. Similar to design tools like Figma, it provides toggleable grid overlays that help ensure precise spacing, alignment, and layout consistency during development.
Padded Grid helps you:
↓ Demo in construction...
When building complex layouts, it's crucial to maintain consistent spacing and alignment. While CSS Grid and Flexbox are powerful layout tools, they don't provide visual guides during development. Padded Grid bridges this gap by offering:
# npm
npm install padded-grid
import { PaddedGrid, XGrid, YGrid } from 'padded-grid';
import 'padded-grid/styles.css';
function App() {
// Toggle grid visibility during development
const showGrid = process.env.NODE_ENV === 'development';
return (
<PaddedGrid config={{ maxWidth: "1200px" }}>
{/* Column grid overlay */}
<XGrid columns={12} gap={16} show={showGrid} />
{/* Baseline grid for typography alignment */}
<YGrid base={8} show={showGrid} />
<main>Your content...</main>
</PaddedGrid>
);
}
The grid overlays help you visualize and maintain consistent spacing during development. See Development Usage Guide for detailed examples and best practices.
See CONTRIBUTING.md for guidelines.
MIT © François Denavaut
FAQs
A development tool for visualizing and maintaining consistent grid systems in React applications. Similar to design tools like Figma, it provides toggleable grid overlays that help ensure precise spacing, alignment, and layout consistency during developme
We found that @dnvt/padded-grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.