COMPONENTS · YOUR OWN BUILDING BLOCKS FOR THE STOREFRONT

What your shop can't do yet, you add.

A countdown for the sale, a product in the spotlight, a block made only for your brand. A component is a single file. It is ready in Studio right away, your marketing team maintains it without a ticket, and in the shop it runs checked and fast.

Your file · index.tsx
fields: {
  title: "Summer sale ends in",
  endsAt: field.datetime("2027-07-31T23:59:00+02:00"),
  design: field.select(["dark", "light"]),
},
In Studio
TitleSummer sale ends in
Ends at07/31/2027 · 11:59 pm
DesignDark
In the shop
Summer sale ends in
02Days14Hrs37Min09Sec
WHO IT'S FOR

One building block. Three teams that benefit.

Marketing

New building blocks are ready in Studio. Your team maintains texts, images, dates and products itself, with a real preview and without a ticket.

Agencies

What you build once, you use in every project with hub-OSX. No need to learn the shop system, its interfaces or internals.

IT

Every component is checked automatically and approved in review before it goes in. No new dependencies, no foreign code at runtime.

ONE FILE

You describe the fields. hub-OSX does the rest.

A component is one file: name, place in the shop, fields and appearance. hub-OSX derives everything from it that would otherwise be manual work.

  • Every field automatically becomes an input in Studio, with a default and validation
  • The Studio preview shows the real component, not a mock-up
  • During development, changes are visible within seconds
  • No knowledge of the shop system, its interfaces or hub-OSX internals needed
This is what a component looks like · index.tsx
import { component, field } from "@hub/component";

export default component({
  name: "Product of the week",
  pages: ["category"],
  slots: ["category.promo-banner"],
  fields: {
    badge: "Product of the week",
    product: field.product({ required: true }),
    design: field.select(["light", "dark"]),
  },
  View: function Spotlight({ badge, product, design }) {
    if (!product) return null;
    return (
      <a href={product.url ?? "#"} data-design={design}>
        <small>{badge}</small>
        <b>{product.name}</b> {product.price?.formatted}
      </a>
    );
  },
});
REAL PRODUCTS

One SKU is all it takes.

If a component should show a product, editors only enter its SKU in Studio. hub-OSX fetches name, image, price and availability from the shop, matching language and currency.

  • Price and stock come from the shop, not from a copy
  • If a product is missing, the page still stays stable
  • The component never sees credentials or internal addresses
  • hub-OSX delivers the images optimized
SAFE AND FAST

Checked before it reaches the shop.

No code at runtime

Components are built into hub-OSX. Nothing is loaded later, nothing reaches the shop unchecked.

Checked automatically

Before every build, hub-OSX checks structure, fields and allowed dependencies. It reports errors with file and line.

Fast stays fast

By default no JavaScript reaches the browser. Interactive components load their script only where they are placed.

One step back

Every component has a version and can be rolled back at any time. If one is removed, the pages keep working.

From code to live in four steps.

01

Create

One command creates the file. From then on, the component is in Studio.

02

Build

Write fields and appearance. Studio shows every change within seconds.

03

Check

Automatic checks and review. Only then is the component built in.

04

Publish

Editors place it, set the content, per audience if needed, and publish.

DESIGNS AND COMPONENTS

Two tools, clearly separated.

Design packages decide how the shop looks. Components bring what it can't do yet. Both fit together: a package can require a component and adapt it to any brand.

TopicDesign packagesComponents
ForLook and structure of pagesNew building blocks and new behavior
Made ofDescription, styles and images, no codeOne file of code
SecurityNever runs codeChecked and built in
MaintainedIn Studio, per brand and campaignIn Studio, per page and audience

More about design packages

IN PREPARATION

Develop components in your own repository.

A dedicated development kit will let agencies build and check components in their own repository. Until then, we develop components together with you and build them into your hub-OSX environment.

Which building block is your shop missing?

Tell us what your marketing team needs. We'll show you how quickly it becomes a component in Studio.

Keep your infrastructure.Own your experience.

We'll show you on one page of your store.

Before you go

Know what is coming first.

New features once a month, insights from pilot projects, and the first to hear about new pilot places. A three-minute read.

No spam. Unsubscribe with one click at any time. More in our privacy policy.