Layout components for Geeks React applications. Provides navigation and structure building blocks.
yarn add @geeks-react-components/layout
# or
npm install @geeks-react-components/layoutPeer dependencies: react (>=18), react-dom (>=18).
Dependencies: Uses @geeks-react-components/core and @geeks-react-components/utils. react-router-dom (>=6) is used for navigation.
| Component | Description |
|---|---|
| SideNav | Side navigation component for app layouts |
import { SideNav } from '@geeks-react-components/layout';
<SideNav
items={[
{ path: '/dashboard', label: 'Dashboard' },
{ path: '/settings', label: 'Settings' },
]}
// ... other props
/>Use alongside react-router-dom for route-based navigation. See component props and types for full API.
yarn build– Build the packageyarn test– Run testsyarn lint– Lint sourceyarn watch– Build in watch mode
MIT © Geeks Ltd