Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@alexeyraspopov/stack-layout
Advanced tools
Layout primitive that abstracts flexbox in order to define the layout for children components.
Layout primitive that abstracts flexbox in order to define the layout for children components.
This package relies on or makes use of
Abstraction on top of Flexbox for linear collections. No need to figure out
justify-content
/align-items
values, etc.
import React from 'react';
import Stack from '@alexeyraspopov/stack-layout';
function MyDataList({ items }) {
return (
<Stack direction="vertical" spacing={1} alignment="stretch">
{items.map(item => (
<MyItem data={item} />
))}
</Stack>
);
}
Make sure related stylesheet is bundled as well:
@import url('@alexeyraspopov/stack-layout/style.css');
FAQs
npm install @alexeyraspopov/stack-layout
The npm package @alexeyraspopov/stack-layout receives a total of 11 weekly downloads. As such, @alexeyraspopov/stack-layout popularity was classified as not popular.
We found that @alexeyraspopov/stack-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.