New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bedrock-layout/center

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-layout/center

bedrock-layout center

  • 1.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
125
increased by31.58%
Maintainers
1
Weekly downloads
 
Created
Source

@bedrock-layout/center

Layout helper that centers the content

Full docs at: bedrock-layout.dev

When to Use

Used to center content on the screen

How to install

npm install @bedrock-layout/center

Usage

import Center from '@bedrock-layout/center';

<Center>
  <div>1</div>
  <div>2</div>
  <div>3</div>
  <div>4</div>
  <div>5</div>
  <div>6</div>
</Center>;

API

PropertyDescriptionTypeDefault
maxWidthmaxWidth of the contentnumber, stringmedium breakpoint
centerTextcenter align textbooleanfalse
centerChildrencenters the childrenbooleanfalse

Keywords

FAQs

Package last updated on 24 Mar 2021

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