Contextual actions

Reveal actions on hover or keyboard focus, without losing their layout space. Touch devices always show them.

<ListButtonItem
  headline="Document"
  size="small"
  onClick={openDocument}
  addOn={
    <ContextualActions>
      <IconButton
        size="xsmall"
        bare
        color="secondary"
        icon="ellipsis"
        aria-label="Document actions"
        onClick={openActions}
      />
    </ContextualActions>
  }
/>

List rows are action scopes automatically. Wrap other content in ActionScope; place ContextualActions inside it. Expanded action popovers remain visible. Use 24px xsmall or 28px small icon buttons rather than private descendant selectors.

Readable content without a Markdown dependency

Use Prose around trusted HTML or your renderer’s output. Links retain native keyboard focus.

A quiet content surface, separate from application chrome.
  • Consistent spacing and headings.
  • Code and tables scroll rather than widening the page.
const message = "Hello";
console.log(message);
ComponentOwnership
ComposerInput experience
ApplicationDraft persistence and submission