Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@airbnb/lunar-layouts

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@airbnb/lunar-layouts

Pre-defined page layouts for Lunar.

latest
Source
npmnpm
Version
3.0.2
Version published
Weekly downloads
122
-11.59%
Maintainers
7
Weekly downloads
 
Created
Source

Lunar Layouts

Provides pre-defined page layouts that support top and side navigation bars.

yarn add @airbnb/lunar-layouts

Usage

This packages provides a handful of components for common page layout scenarios, for example, three column layouts, two columns layouts, split layouts, so on and so forth.

To use, import the LayoutShell and render near the root of the application. Column based layouts may then be rendered as children of the shell.

import LayoutShell from '@airbnb/lunar-layouts';
import ThreeColumnLayout from '@airbnb/lunar-layouts/lib/components/ThreeColumnLayout';

<LayoutShell sideBar={<SideBar />}>
  <ThreeColumnLayout fluid before={<LeftColumn />} after={<RightColumn />}>
    <Content />
  </ThreeColumnLayout>
</LayoutShell>;

FAQs

Package last updated on 07 Apr 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