---
title: "Clickable"
description: "Generic clickable container element. Wraps the Polaris <s-clickable> web component."
canonical_url: "https://shopify.yan.ad/components/actions/clickable"
---
# Clickable

> Generic clickable container element. Wraps the Polaris <s-clickable> web component.

## Live preview

<polaris-preview example="clickable">



</polaris-preview>

## Props

Includes all [Box](https://shopify.yan.ad/components/layout/box) props plus:

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        disabled
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Disables the clickable
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        loading
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Shows loading state
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        href
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Makes the element a link
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        target
      </code>
    </td>
    
    <td>
      <code>
        'auto' | '_blank' | '_self' | '_parent' | '_top' | string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Link target
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        download
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Download attribute
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        type
      </code>
    </td>
    
    <td>
      <code>
        'button' | 'reset' | 'submit'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Button type
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        command
      </code>
    </td>
    
    <td>
      <code>
        '--auto' | '--show' | '--hide' | '--toggle'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Command for invoketarget pattern
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        commandFor
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Target element ID for command
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        interestFor
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Target element ID for interest
    </td>
  </tr>
</tbody>
</table>

## Slots

<table>
<thead>
  <tr>
    <th>
      Slot
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Clickable content
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-clickable>`. See [Polaris Clickable docs](https://shopify.dev/docs/api/app-home/web-components/actions/clickable).


## Sitemap

See the full [sitemap](https://shopify.yan.ad/sitemap.md) for all pages.
