Drawer

A record's detail on the right edge, over the list it came from.

Helper
drawer(title:, close_href: nil, eyebrow: nil) do |d|
  d.with_meta { … }
  d.with_action { … }
  d.with_section(title = nil) { … }
end

Render it into a Turbo Frame next to the list so the list stays usable, and mark the list row current. Escape and the close button follow close_href (or remove the drawer when there is none).

Slots

SlotWhat goes in it
metaStatus pill and a context line under the title
actionSmall buttons under the meta
sectionBody sections, each with an optional heading