Socket
Book a DemoInstallSign in
Socket

@visual-framework/embl-grid

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visual-framework/embl-grid

embl-grid component

latest
npmnpm
Version
2.2.0
Version published
Weekly downloads
336
-10.16%
Maintainers
2
Weekly downloads
 
Created
Source

EMBL Grid component

npm version

About

The EMBL Layout System is applied to the Container components. It is an asymmetrical grid of four columns. There are 3 layout options.

Usage

All EMBL Layouts are single column until the viewport reaches "tablet" size. EMBL Layouts have two classes. One to define the grid area and where it is in the Page Grid another to determine what columns there are available.

The CSS classnames available should be used on their own on a Container or added to a Containers existing classname declaration in the HTML.

A EMBL Layout should only be applied to Containers. For Blocks you should use vf-grid.

If the EMBL Layout System is being added to a Container that has a classname we separate the classes in the HTML with a |.

Install

This component is distributed with npm. After installing npm, you can install the embl-grid with this command.

$ yarn add --dev @visual-framework/embl-grid

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/embl-grid/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help

Keywords

fractal

FAQs

Package last updated on 25 Oct 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