4.0.1 • Published 5 years ago
@usercentric/uc-design-system-layouts v4.0.1
UCDS Layouts
Provides pre-defined page layouts that support top and side navigation bars.
yarn add @usercentric/uc-design-system-layoutsUsage
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 '@usercentric/uc-design-system-layouts'
import ThreeColumnLayout from '@usercentric/uc-design-system-layouts/lib/components/ThreeColumnLayout'
;<LayoutShell sideBar={<SideBar />}>
<ThreeColumnLayout fluid before={<LeftColumn />} after={<RightColumn />}>
<Content />
</ThreeColumnLayout>
</LayoutShell>4.0.1
5 years ago