> ## Documentation Index
> Fetch the complete documentation index at: https://dev.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Open panel

> `SmileUI.openPanel(options?)`

This method opens the loyalty panel to the specified page. If the loyalty panel has not yet finished loading, it will open once loading has finished. Otherwise, the loyalty panel will open immediately.

## Parameters

<ParamField path="options" type="object">
  <Expandable title="properties">
    <ParamField path="deep_link" type="string">
      A supported [deep link](/ui/panel/deep-links) indicating which page to display when the panel is opened.
    </ParamField>
  </Expandable>
</ParamField>

<Panel>
  ```javascript JavaScript lines theme={null}
  // Open the panel to the default page
  SmileUI.openPanel();

  // Open the panel to the points products page
  SmileUI.openPanel({
    deep_link: 'points_products'
  });

  ```
</Panel>
