npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wide-containers

v1.1.3

Published

`Wide Containers` is a library for easy handling of containers in React. It includes components using flexbox that help organize interface elements on a page. In this library, you will find containers with various alignment and positioning options, as wel

Readme

Wide Containers

Wide Containers is a library for easy handling of containers in React. It includes components using flexbox that help organize interface elements on a page. In this library, you will find containers with various alignment and positioning options, as well as convenient ways to style and customize them.

Installation

To install the library, use npm or yarn:

npm install wide-containers
yarn add wide-containers

Components

Wide Containers provides various types of containers that can be used to organize your content. All components use flexbox for flexibility and ease of configuration.

Container

Унаследован от MuiBox и улучшен

import {Container} from 'wide-containers'; 
  • sx: Styling using the theme system (e.g., backgroundColor, margin, etc.).
  • cls: A class for additional styling.
  • scroll: Scroll settings (x-auto, y-scroll, etc.).
  • pos: Positioning (absolute, relative, etc.).
  • color, bg: Text and background color.
  • w, h, maxW, maxH, min...: width, height, maxWidth, ...
  • rounded: Border radius for corners (0-6).
  • cursorPointer, wrap, grow

The components below are inherited from it:

FC (Flex Column)

A component for arranging elements in a column (display: flex, flexDirection: column).

import {FC} from 'wide-containers';

<FC>
    <div>Element 1</div>
    <div>Element 2</div>
</FC>

FR (Flex Row)

flex, flexDirection: row

import {FR} from 'wide-containers';

<FR>
    <div>Element 1</div>
    <div>Element 2</div>
</FR>

FCCC (Flex Column Center Center)

import {FCCC} from 'wide-containers';

<FCCC>
    <div>Element 1</div>
    <div>Element 2</div>
</FCCC>

FCB (Flex Column Between)

import {FCB} from 'wide-containers';

<FCB>
    <div>Element 1</div>
    <div>Element 2</div>
</FCB>

FCA (Flex Column Around)

import {FCA} from 'wide-containers';

<FCA>
    <div>Element 1</div>
    <div>Element 2</div>
</FCA>
<FC sx={{backgroundColor: 'lightblue'}} pos="relative" scroll="y-auto"
    wrap grow cursorPointer rounded={3} w={'50%'}>
    <div>Content</div>
</FC>

and etc...

Notes

  • Compatibility with MUI: The library uses MUI for styling, which allows you to flexibly customize visual components.
  • Type support: All components and props are typed with TypeScript.

Conclusion

Wide Containers is a convenient and flexible library that allows you to easily organize containers in React interfaces using flexbox. With the variety of components, you can easily create layouts with the desired alignment and styling!

🚀 Good luck with your development! 🚀