Skip to content

co-app-shell

This content is not available in your language yet.

App Shell — Main application layout with navbar, sidebar, and content area.

Ver código
<co-app-shell></co-app-shell>

Props

PropAtributoTipoDefaultDescripción
contentCardcontent-cardbooleantrueWhether the content area has a card-like appearance (white bg, rounded)
sidebarModesidebar-mode"full" | "min"'min'Sidebar display mode

Eventos

EventoDetailBubblesCancelableDescripción
coSidebarModeChange"full" | "min"Emitted when sidebar mode changes

Slots

SlotDescripción
(default)Main content area
navbarContent for the top navbar area
sidebarContent for the sidebar (navigation items, etc.)
sidebar-footerFooter area of the sidebar
sidebar-headerHeader area of the sidebar (logo, collapse button)

CSS Parts

PartDescripción
::part(content)
::part(header)
::part(main)
::part(sidebar)
::part(sidebar-body)
::part(sidebar-footer)
::part(sidebar-header)

CSS Custom Properties

Este componente no expone CSS custom properties.