> Deprecated: > Product subscription app extensions won't be supported as of December 3, 2025. You should migrate existing product subscription app extensions to [purchase options extensions](/docs/apps/build/purchase-options/purchase-options-extensions). Buttons are used primarily for actions, such as “Add”, “Close”, “Cancel”, or “Save”. ```ts?title: "JavaScript" import {extend, Button} from '@shopify/admin-ui-extensions'; extend('Playground', (root) => { const button = root.createComponent(Button, { title: 'Settings', kind: 'primary', appearance: 'critical', size: 'large', inlineSize: 'fill', accessibilityLabel: 'open settings', disabled: false, onPress: () => console.log('Pressed'), }); root.appendChild(button); root.mount(); }); ``` ```jsx?title: "React" import React from 'react'; import {extend, render, Button} from '@shopify/admin-ui-extensions-react'; function App() { return (