Inline Panel

Inline Panel is a collapsible component anchored to the right side of the page. It expands horizontally into view, pushing adjacent content over rather than overlaying it. When collapsed, the panel minimizes to a slim rail of buttons, preserving screen real estate.

This component will typically be used with the Focused View . Check out the Inline Panel example to see this component in action.
Header
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi euismod efficitur quam quis finibus. Aenean et lacus est. Phasellus fringilla non nisi eget posuere. Suspendisse vulputate congue augue sit amet porta. Pellentesque lacus ligula, pulvinar quis molestie eu, vestibulum aliquet enim. Vivamus ultricies tellus urna, nec iaculis ex scelerisque sed. Phasellus eu tempor ipsum, eget gravida nibh. Suspendisse potenti. Praesent maximus, odio id aliquet imperdiet, lorem lacus feugiat turpis, quis luctus neque tellus et urna. Duis urna felis, suscipit tincidunt purus a, ultrices tincidunt urna. Morbi aliquet consequat consequat. Cras sem urna, dictum nec lacinia fringilla, laoreet et nibh. Sed gravida diam ex, in fermentum erat bibendum at. Maecenas lacinia consequat tortor, ac viverra urna dignissim id. Nam eros ante, commodo quis turpis a, interdum ornare erat. Sed posuere, ligula eget aliquet porttitor, mi purus viverra urna, luctus iaculis massa libero ut arcu. Vestibulum pulvinar nec mi et mattis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur facilisis turpis eget ante gravida ultricies. Suspendisse maximus elit in tincidunt porta. Aenean egestas mattis justo at condimentum. Suspendisse iaculis mi nisi, sit amet scelerisque elit tempor sit amet. Aenean eu sem vel metus ullamcorper ullamcorper et quis sem. Etiam luctus bibendum eros eu placerat. Nulla cursus urna id laoreet pulvinar.
Submit Reset
import '@ods/components/web.inline-panel';

Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.

Slots

NameDescription
(default)The inline-panel's content.
headerThe inline-panel's header region.
footerThe inline-panel's footer region.
action-barContains the action buttons, these are never hidden.

Properties

Please note, both DOM properties and HTML attributes are shown in the table below. Unless otherwise specified, the property and attribute names are identical.

Property/AttributeReflectsTypeDefault
showInlinePanel
booleantrue
actionBarSet
booleanfalse

Events

React EventDescriptionEvent Detail
ods-layout-inline-panel-showEmitted when the panel opens.--
ods-layout-inline-panel-hideEmitted when the panel closes.--

Parts

NameDescription
baseThe component's base wrapper.
content_wrapperThe region that wraps the content.
contentThe region containing the content.
content_headerThe region containing the header content.
content_bodyThe region containing the main body content.
content_footerThe region containing the footer content.
action-barThe region containing the action buttons.

Search