This responsive shell provides the thumbnail rail used across Extend's PDF, DOCX, and PowerPoint viewers. It renders inline when the viewer is wide enough and switches to an overlay on narrower containers.
DocumentViewerThumbnailSidebar owns the open/closed presentation. DocumentViewerSidebarSkeleton preserves the layout while pages load. useElementWidth and useInlineThumbnailSidebar are available when a custom viewer needs the same container-width behavior.
Treat the viewer's own width as the breakpoint source. This is designed for embedded workspaces where the browser viewport may be much wider than the document panel.