gatsby-theme-ui-layout

0.16.2 • Public • Published

gatsby-theme-ui-layout

Gatsby theme for adding shadowable layouts to multiple Gatsby themes for composition.

npm i gatsby-theme-ui-layout

In your theme, import and use the Layout component, which does not include any default layout.

// example page template
import { Layout } from 'gatsby-theme-ui-layout'

export default (props) => (
  <Layout {...props}>{/* your theme content goes here */}</Layout>
)

End-users of a theme that is built with gatsby-theme-ui-layout can shadow the same Layout component to customize the page layout.

Readme

Keywords

none

Package Sidebar

Install

npm i gatsby-theme-ui-layout

Weekly Downloads

783

Version

0.16.2

License

MIT

Unpacked Size

5.3 kB

Total Files

10

Last publish

Collaborators

  • jxnblk
  • johno
  • hasparus
  • lachlanjc