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

@posten-hedwig/container

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posten-hedwig/container

Provides spacing for a section on a page

  • 4.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27
increased by145.45%
Maintainers
4
Weekly downloads
 
Created
Source

Container

Containers are “root” components that limits the width of it's wrapped contents and applies default side gutters. Containers does not apply any styling to its content such as font-family etc.

Usage

Install

npm install @posten-hedwig/container

Import

import { Container } from '@posten-hedwig/container'

Render

<Container>
    This is a default container
</Container>

API

Container slim

This prop tells the container that it should be slim. Boolean. Default: false

<Container slim>
    This is a slim container. Has wider side gutters on desktop. On mobile, the gutters are the same.
</Container>

Container pt

This prop gives responsive padding to the top of the container. Boolean. Default: false

<Container pt>
    This is a container with responsive padding top
</Container>

Container pb

This prop gives responsive padding to the bottom of the container. Boolean. Default: false

<Container pb>
    This is a container with responsive padding bottom
</Container>

Keywords

FAQs

Package last updated on 09 Oct 2023

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