@hixme-ui/app-layout

2.1.0 • Public • Published

App Layout

npm i --save @hixme-ui/app-layout

View it live

AppLayout is an all-in-one menu and sidebar.

Usage

import AppLayout from '@hixme-ui/app-layout'

const SidebarContent = () => (
  <div>
    {/* sidebar stuff */}
  </div>
)

const HeaderContent = () => (
  <div>
    {/* header stuff */}
  </div>
)

<AppLayout 
  HeaderComponent={HeaderContent} 
  SidebarComponent={SidebarContent}
>
  {children}
</AppLayout>

Props

Name Type Default
sidebarWidth string '225px'
children node N/A
HeaderComponent function () => null
SidebarComponent function () => null
open boolean false
fixed boolean false
contentBackgroundColor string '#E5ECF1'

Package Sidebar

Install

npm i @hixme-ui/app-layout

Weekly Downloads

8

Version

2.1.0

License

MIT

Unpacked Size

41 kB

Total Files

39

Last publish

Collaborators

  • sureco-devops
  • sureco-engineering
  • dreamingbinary
  • billyxs