Assistant

Page header with optional side menu toggle button.


With menu button (visible below medium breakpoint)

Without menu button

Sage Component

SageAssistant
<h3 class="t-sage-heading-6">With menu button (visible below medium breakpoint)</h3>
<%= sage_component SageAssistant, {
  menu_button: true,
  logo: { path: "sage.svg" }
} %>

<h3 class="t-sage-heading-6">Without menu button</h3>
<%= sage_component SageAssistant, {
  menu_button: false,
  logo: { path: "sage.svg" }
} %>
Property Description Type Default

logo

Provides settings for the logo to appear in the assistant.

{
  path: String,
  method: nil | "pack"
}

nil

menu_button

Enables menu button to be displayed. (below medium breakpoint)

Boolean

null

Sections

Element

sage_assistant_actions

This area holds link to the sage gem .

link_to(s)