The isglobal attribute specifies a customized built-in element name. Instead of inventing a new tag, you extend a native element (like button or p) and write <button is="fancy-button">.
Register with customElements.define("fancy-button", Class, { extends: "button" }). Prefer autonomous custom elements (<fancy-button>) when broad Safari support matters.
Keeps native behavior.
Forms, focus, and built-in accessibility often come for free because the tag stays native.
Safari gap.
Customized built-ins are not reliably available in Safari. Feature-detect or ship an autonomous fallback.
Syntax
HTML Syntax
syntax.html
<built-in is="custom-name">
custom-name must match a definition that used { extends: "built-in" }.
Values
Attribute Values
Value
Description
Try it
custom-name
Customized built-in registered with matching extends
Most production issues are support and registration mismatches.
safari
Safari support is weak
Plan autonomous custom elements or polyfills if Safari is required.
extends
Tag must match extends
button is="x" only upgrades definitions with extends: "button".
name
Custom names need a hyphen
cool-button is valid; coolbutton is not.
create
document.createElement needs the is option
createElement("button", { is: "cool-button" }) when creating from script.
Compatibility
Browser Support
is is an HTML attribute for browsers. It is not a Node.js, Deno, or Bun API.
✓ Partial · Chromium / Firefox
is
Customized built-ins (is + extends) work in Chromium and Firefox. Safari support is missing or limited — feature-detect.
75%Global support (approx.)
Google Chrome67+
Full support
Mozilla Firefox63+
Full support
Apple SafariNo / limited
Not supported
Microsoft Edge79+
Full support
Opera54+
Full support
Samsung Internet9+
Full support
Internet ExplorerNo support
Not supported
isChromium & Firefox
Bottom line: Prefer autonomous custom elements when you need Safari. Use is when native built-in behavior is essential and you can enhance progressively.
Remember
Key Takeaways
Role: mark a native tag as a customized built-in.
Register with{ extends: "tagName" } in customElements.define.
Keep native semantics of the built-in element.
Safari caveat:extends/is support is limited — plan a fallback.
One line:is upgrades a native element into a customized built-in registered with extends.
Frequently Asked Questions
It names a customized built-in element: a custom element that extends a native HTML tag (for example a specialized button) instead of inventing a new tag name.
customElements.define("fancy-button", FancyButton, { extends: "button" }) then use <button is="fancy-button">.
Autonomous elements use a new tag like <fancy-button>. Customized built-ins keep the native tag and add is="...".
Safari historically lacked extends/is support. Prefer autonomous custom elements or progressive enhancement when Safari matters.
The markup is valid, but behavior only appears after the custom element is defined.
New tags (autonomous) are more widely supported. Use is when you specifically need native semantics/form behavior of the built-in.