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

  • 3.1.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
230
increased by84%
Maintainers
1
Weekly downloads
 
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='size3' 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 @bedrock-layout/spacing-constants

Keywords

FAQs

Package last updated on 13 Jul 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