Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@smui/layout-grid
Advanced tools
A responsive grid layout component. It has 12 columns on large screens (desktop), 8 columns on medium screens (tablet), and 4 columns on small screens (phone).
npm install --save-dev @smui/layout-grid
<LayoutGrid>
<Cell span={3}>I'm the first cell!</Cell>
<Cell span={3}>I'm the second cell.</Cell>
<Cell span={3}>Im the third cell</Cell>
<Cell span={3}>im the 4th cell</Cell>
</LayoutGrid>
<script>
import LayoutGrid, { Cell } from '@smui/layout-grid';
</script>
A layout grid container. It contains an inner grid.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.fixedColumnWidth
: false
- Give the grid fixed column width.align
: null
- Specifies the alignment of the entire grid. ('left' or 'right')All standard UI events are forwarded.
A layout grid cell.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.align
: null
- Specifies the alignment of the entire grid. ('top', 'middle', or 'bottom')order
: null
- Specify the display order of the cell. Normally cells are displayed in source order. This may affect accessibility, since screen readers usually follow source order. (integer between 1 and 12)span
: null
- Makes the cell span the given number of columns. If the number of columns on the viewing device is fewer than this, the cell will span the available number of columns. Cells default to spanning four columns. (integer between 1 and 12)spanDevices
: {}
- A map of device types to cell span sizes. These will override the span
prop on the given device. ({ desktop?: integer; tablet?: integer; phone?: integer; })innerGrid$
- Props forwarded to the inner grid.All standard UI events are forwarded.
An inner layout grid used for nesting. It is meant to be put directly under a cell to create a new nested grid layout.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.All standard UI events are forwarded.
See Responsive layout grid in the Material design spec.
See Layout Grid in MDC-Web for information about the upstream library's architecture.
3.0.0-beta.8 (2021-04-15)
FAQs
Svelte Material UI - Layout Grid
The npm package @smui/layout-grid receives a total of 4,832 weekly downloads. As such, @smui/layout-grid popularity was classified as popular.
We found that @smui/layout-grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.