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

@bedrock-layout/column-drop

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-layout/column-drop

bedrock-layout column-drop

  • 2.1.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@bedrock-layout/column-drop

Layout helper that creates column-drop of items

Full docs at: bedrock-layout.dev

When to Use

Used to create a column-drop layouts

How to install

npm install @bedrock-layout/column-drop

Usage

import ColumnDrop from '@bedrock-layout/column-drop';

<ColumnDrop stretch={1} gutter='lg' justify='start' align='start'>
  <span>Lorem ipsum dolor</span>
  <span>sit amet consectetur</span>
  <span>adipisicing elit.</span>
</ColumnDrop>;

data-attribute

For purposes of styling you can select data-bedrock-column-drop.

API

* required

PropertyDescriptionTypeDefault
gutter*sets space inbetween each elementone of spacing**-
stretchchild or children that will stretch to fill available spaceOne of: all, start, end, index of the child-
justifyInline alignmentOne of: start, end, centerstart
alignBlock alignmentOne of: start, end, centerstart
switchAtThe width that the container will switch to stackingOne of: CSS length, number-

** By default, spacings are one of the spacing-constants, but can be overridden using the ThemeProvider from styled-components

Keywords

FAQs

Package last updated on 11 Nov 2022

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