{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "layout-inset-sidebar-absolute",
  "type": "registry:item",
  "title": "Inset Sidebar Absolute",
  "description": "Absolute inset sidebar for standalone apps, spanning from header to bottom with InsetAvoidingView in footer.",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [
    "https://www.mui-treasury.com/r/layout-core.json"
  ],
  "files": [
    {
      "path": "layout/layout-docs-inset-sidebar/demos/layout-inset-sidebar-absolute.demo.tsx",
      "target": "src/mui-treasury/layout/layout-docs-inset-sidebar/demos/layout-inset-sidebar-absolute.demo.tsx",
      "content": "import React from 'react';\n\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\n\nimport Content from '@/registry/layout/layout-core/Content';\nimport Footer from '@/registry/layout/layout-core/Footer';\nimport Header from '@/registry/layout/layout-core/Header';\nimport InsetAvoidingView from '@/registry/layout/layout-core/InsetAvoidingView';\nimport InsetContent from '@/registry/layout/layout-core/InsetContent';\nimport InsetSidebar from '@/registry/layout/layout-core/InsetSidebar';\nimport Root from '@/registry/layout/layout-core/Root';\n\nexport const meta = {\n  title: 'Inset Sidebar Absolute',\n  description:\n    'Absolute inset sidebar for standalone apps, spanning from header to bottom with InsetAvoidingView in footer.',\n  previewMode: 'iframe' as const,\n};\n\nexport function Demo() {\n  return (\n    <Root standalone height=\"350px\">\n      <Header>\n        <Box sx={{ px: 2 }}>\n          <Typography\n            variant=\"caption\"\n            sx={{\n              fontWeight: 'bold',\n            }}\n          >\n            Header\n          </Typography>\n        </Box>\n      </Header>\n      <Content>\n        <Box sx={{ p: 2, flex: 1 }}>\n          <Typography\n            variant=\"body2\"\n            sx={{\n              color: 'text.secondary',\n            }}\n          >\n            Main content\n          </Typography>\n        </Box>\n        <InsetSidebar position=\"absolute\" width=\"200px\">\n          <InsetContent>\n            <Box sx={{ p: 2 }}>\n              <Typography\n                variant=\"caption\"\n                sx={{\n                  color: 'text.secondary',\n                }}\n              >\n                Absolute inset sidebar\n              </Typography>\n            </Box>\n          </InsetContent>\n        </InsetSidebar>\n      </Content>\n      <Footer>\n        <InsetAvoidingView sx={{ p: 2 }}>\n          <Typography\n            variant=\"caption\"\n            sx={{\n              color: 'text.secondary',\n            }}\n          >\n            Footer avoids sidebar\n          </Typography>\n        </InsetAvoidingView>\n      </Footer>\n    </Root>\n  );\n}\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "layout",
    "previewMode": "iframe"
  }
}