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.

3.0.2
latest
Source
npmnpm
Version published
Weekly downloads
53
82.76%
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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.