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

@codin/mwc-grid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codin/mwc-grid

Element for highlighting code

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

Grid

Simple component that implements Material Design grid

<mwc-grid>
    <mwc-grid-cell desktop="6">
        <p>some content</p>
    </mwc-grid-cell>
    <mwc-grid-cell desktop="6">
        <mwc-grid-inner>
            <mwc-grid-cell span="8">
                <p>some other content</p>
            </mwc-grid-cell>
        </mwc-grid-inner>
    </mwc-grid-cell>
</mwc-grid>

Components

mwc-grid

PropertyDescriptionValue
alignalignment of containerleft, right

mwc-grid-inner

This element is append before content slot of grid

To nest layout grid, add mwc-grid-inner to wrap around nested mwc-grid-cell within an existing mwc-grid-cell. However, the Material Design guidelines do not recommend having a deeply nested grid as it might mean an over complicated UX.

mwc-grid-element

PropertyDescriptionValue
spangrid span1-12 (default: 12)
mobilegrid span @mobile1-4
tabletgrid span @tablet1-8
desktopgrid span @desktop1-12
orderorder of cellnumber
alignalignment of celltop, middle, bottom

see material.io

Keywords

FAQs

Package last updated on 26 May 2020

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