Socket
Socket
Sign inDemoInstall

@airbnb/lunar-layouts

Package Overview
Dependencies
134
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @airbnb/lunar-layouts

Pre-defined page layouts for Lunar.


Version published
Weekly downloads
49
increased by40%
Maintainers
7
Install size
4.79 MB
Created
Weekly downloads
 

Readme

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

Last updated on 07 Apr 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc