AncrelDocumentationv0.3.0

Search documentation

    Playground / fe.workspace-shell

    WorkspaceShell playground

    A container-responsive workspace with independently scrollable pane landmarks.

    Preview

    Release notes

    Build summary

    Ready

    Example controls

    State matrix

    Hover a specimen, Tab to focus, or hold the pointer down to inspect its native state.

    dark / comfortable
    VariantDefaultHoverFocus-visibleActive
    Sample
    Release notes

    Build summary

    Ready
    Release notes

    Build summary

    Ready
    Release notes

    Build summary

    Ready
    Release notes

    Build summary

    Ready

    Published example

    API reference
    import '@ancrel/tokens/css'
    import '@ancrel/workspace/styles.css'
    import './example.css'
    import { WorkspaceShell } from '@ancrel/workspace'
    
    export default function App() {
      return <section aria-label="Report workspace" className="report-workspace">
        <WorkspaceShell titleBar="Report" sidebar={<button>Contents</button>}
          inspector="Revision 2" statusBar="Ready" theme="light" density="compact">
          <h1>Overview</h1>
        </WorkspaceShell>
      </section>
    }