
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@shopify/ui-extensions
Advanced tools
This package contains the public type definitions and utilities needed to create Shopify UI extensions.
@shopify/ui-extensionsThis package contains the public type definitions and utilities needed to create Shopify UI extensions.
This package supports the development of UI extension for Admin, Customer account, POS, and Checkout surfaces.
All extensions, regardless of where they appear in Shopify, make use of the same underlying technology, and most of the same “core” components (e.g., s-block, s-button, s-text-field, etc) and capabilities (e.g., direct API access, session tokens). Separating APIs by surface makes it easier for a developer to see what is available to them in each context, and gives us a flexible system for introducing components and APIs available in only some areas of Shopify.
Note: If you are migrating from an API version prior to
2025-10, you can follow the migration guide.
A checkout extension using Preact would be written as follows:
import '@shopify/ui-extensions/preact';
import {render} from 'preact';
export default function extension() {
render(<Extension />, document.body);
}
function Extension() {
return (
<s-text>Line item title: {shopify.target.value.merchandise.title}</s-text>
);
}
FAQs
This package contains the public type definitions and utilities needed to create Shopify UI extensions.
The npm package @shopify/ui-extensions receives a total of 26,344 weekly downloads. As such, @shopify/ui-extensions popularity was classified as popular.
We found that @shopify/ui-extensions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.