VEYNDO
Handbook
docs/component-gallery.mdView source ↗

English source · 33 min

Component gallery

Catalog veyndo:components/1, version 1.0.0. Each component of the design system with its document props, slots, events, accessibility contract and examples. The examples below are rendered from their documents by the same renderer that Studio, the storefront, app surfaces and MCP Apps use: on the left in the light theme with English samples, on the right in the dark theme with German samples. Studio shows the interactive gallery under Developer → Components, with every shipped language. The machine-readable catalog is catalog.json.

Text

A paragraph of plain text.

Kind content · Source kit/catalog · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
text string yes
tone "default" | "muted" no "default"
  • Accessibility: Rendered as a paragraph; text is never parsed as HTML.

Text: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Text",
    "props": {
      "text": "Orders keep their own copy of the product."
    }
  }
}

Text: muted

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Text",
    "props": {
      "text": "Shown on invoices.",
      "tone": "muted"
    }
  }
}

Heading

A section heading at level 2, 3 or 4, so the document fits the host's outline.

Kind content · Source kit/catalog · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
text string yes
level number | number | number no 3
  • Accessibility: role heading; Documents start below the host's page heading (level 1).

Heading: level 3

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Heading",
    "props": {
      "text": "Delivery"
    }
  }
}

Image

An image from a relative or https URL on an admitted origin, with required alternative text.

Kind content · Source kit/catalog · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
src url yes
alt string yes
decorative boolean no false
width number no
height number no
  • Accessibility: role img; Decorative images get an empty alt and are hidden from assistive technology.

Stack

Arranges children in a row or column on the spacing scale.

Kind layout · Source kit/ui#Stack · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
gap "1" | "2" | "3" | "4" | "5" | "6" | "8" | "10" no "3"
direction "row" | "column" no "column"
align "start" | "center" | "end" | "stretch" no
wrap boolean no false
  • Slot children: The arranged content. Accepts any, at most 50.
  • Accessibility: No role; reading order follows document order.

Stack: row

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Stack",
    "props": {
      "direction": "row",
      "gap": "2",
      "align": "center"
    },
    "children": [
      {
        "component": "Badge",
        "props": {
          "text": "Draft"
        }
      },
      {
        "component": "Button",
        "props": {
          "label": "Save",
          "tone": "primary"
        },
        "action": "save"
      }
    ]
  }
}

Card

A titled surface that groups related content, with optional header actions.

Kind layout · Source kit/ui#Card · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
title string no
level number | number | number no 3
  • Slot children: The card body. Accepts any, at most 50.
  • Slot actions: Header actions such as a badge or a button. Accepts Badge, Button, LinkButton, Menu, at most 3.
  • Accessibility: A section with a heading at the level the document sets.

Card: with actions

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Card",
    "props": {
      "title": "Shipping profile"
    },
    "slots": {
      "actions": [
        {
          "component": "Badge",
          "props": {
            "text": "New",
            "tone": "accent"
          }
        }
      ]
    },
    "children": [
      {
        "component": "Text",
        "props": {
          "text": "Orders keep their own copy of the product."
        }
      }
    ]
  }
}

Button

Triggers an admitted host action. Without an admitted action it renders disabled.

Kind atom · Source kit/ui#Button · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
label string yes
tone "primary" | "secondary" | "ghost" | "danger" no "secondary"
size "sm" | "md" no "md"
busy boolean no false
disabled boolean no false
  • Event press: The button was activated by pointer, Enter or Space.
  • Accessibility: role button; keys Enter, Space; Busy sets aria-busy, disables the button and shows a decorative spinner.

Button: tones

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Stack",
    "props": {
      "direction": "row",
      "gap": "2",
      "wrap": true
    },
    "children": [
      {
        "component": "Button",
        "props": {
          "label": "Save",
          "tone": "primary"
        },
        "action": "save"
      },
      {
        "component": "Button",
        "props": {
          "label": "Cancel",
          "tone": "secondary"
        },
        "action": "save"
      },
      {
        "component": "Button",
        "props": {
          "label": "More",
          "tone": "ghost"
        },
        "action": "save"
      },
      {
        "component": "Button",
        "props": {
          "label": "Delete",
          "tone": "danger"
        },
        "action": "save"
      }
    ]
  }
}

Button: busy

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Button",
    "props": {
      "label": "Saving",
      "tone": "primary",
      "busy": true
    },
    "action": "save"
  }
}

Button: disabled

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Button",
    "props": {
      "label": "Save",
      "disabled": true
    }
  }
}

IconButton

A button with only an icon and a required accessible label.

Kind atom · Source kit/ui#IconButton · Since 1.0.0 · Surfaces none (code only)

Code only: Icons are code; documents use Button with a visible label.

Prop Type Required Default
label string yes
tone "primary" | "secondary" | "ghost" | "danger" no "secondary"
size "sm" | "md" no "md"
  • Event press: The button was activated.
  • Accessibility: role button; keys Enter, Space; The label is the accessible name and the tooltip.

LinkButton

Navigation that looks like a button; keeps link semantics. URLs must be relative or on an admitted https origin.

Kind atom · Source kit/ui#LinkButton · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
label string yes
href url yes
tone "primary" | "secondary" | "ghost" | "danger" no "secondary"
size "sm" | "md" no "md"
  • Accessibility: role link; keys Enter; Absolute links open in a new tab without referrer or opener.

LinkButton: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "LinkButton",
    "props": {
      "label": "View products",
      "href": "/products"
    }
  }
}

Badge

A short status label.

Kind atom · Source kit/ui#Badge · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
text string yes
tone "neutral" | "accent" | "positive" | "warning" | "danger" no "neutral"
  • Accessibility: Tone is visual only; the text carries the meaning.

Badge: tones

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Stack",
    "props": {
      "direction": "row",
      "gap": "2",
      "wrap": true
    },
    "children": [
      {
        "component": "Badge",
        "props": {
          "text": "Draft"
        }
      },
      {
        "component": "Badge",
        "props": {
          "text": "New",
          "tone": "accent"
        }
      },
      {
        "component": "Badge",
        "props": {
          "text": "Paid",
          "tone": "positive"
        }
      },
      {
        "component": "Badge",
        "props": {
          "text": "Pending",
          "tone": "warning"
        }
      },
      {
        "component": "Badge",
        "props": {
          "text": "Failed",
          "tone": "danger"
        }
      }
    ]
  }
}

Spinner

Progress of unknown length. With a label it is a polite status; without one it is decorative.

Kind atom · Source kit/ui#Spinner · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
label string no
  • Accessibility: role status; The label is read as hidden status text; motion stops under prefers-reduced-motion.

Spinner: loading

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Spinner",
    "props": {
      "label": "Loading"
    }
  }
}

VisuallyHidden

Text only for assistive technology.

Kind content · Source kit/ui#VisuallyHidden · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
text string yes
  • Accessibility: Hidden visually, read by screen readers.

Field

Binds a label, hint and error to one control.

Kind molecule · Source kit/ui#Field · Since 1.0.0 · Surfaces none (code only)

Code only: Documents use the labelled controls TextInput, TextArea, Select, Checkbox and Switch, which render their Field.

Prop Type Required Default
label string yes
hint string no
error string no
required boolean no false
  • Accessibility: The control gets the label by id and the hint or error through aria-describedby.

TextInput

A labelled single-line text field. The value stays in the view until committed.

Kind atom · Source kit/ui#TextInput · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
name string yes
label string yes
hint string no
error string no
required boolean no false
value string no
placeholder string no
type "text" | "email" | "number" | "search" | "tel" | "url" no "text"
  • Event change: The value was committed (blur or Enter).
  • Accessibility: role textbox; Errors set aria-invalid and are announced through aria-describedby.

TextInput: with hint

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "TextInput",
    "props": {
      "name": "name",
      "label": "Name",
      "hint": "Shown on invoices.",
      "required": true
    }
  }
}

TextInput: invalid

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "TextInput",
    "props": {
      "name": "email",
      "label": "Email",
      "type": "email",
      "error": "Enter a valid email address."
    }
  }
}

TextArea

A labelled multi-line text field.

Kind atom · Source kit/ui#TextArea · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
name string yes
label string yes
hint string no
error string no
required boolean no false
value string no
placeholder string no
rows number no 3
  • Event change: The value was committed (blur).
  • Accessibility: role textbox; Multi-line; Enter inserts a line break.

TextArea: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "TextArea",
    "props": {
      "name": "note",
      "label": "Note",
      "rows": 2
    }
  }
}

Select

A labelled choice from a short list.

Kind atom · Source kit/ui#Select · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
name string yes
label string yes
hint string no
options object[] yes
value string no
  • Event change: Another option was chosen.
  • Accessibility: role combobox; keys Arrow keys, Home, End; A native select.

Select: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Select",
    "props": {
      "name": "country",
      "label": "Country",
      "value": "DE",
      "options": [
        {
          "value": "DE",
          "label": "Germany"
        },
        {
          "value": "ES",
          "label": "Spain"
        }
      ]
    }
  }
}

Checkbox

A labelled checkbox.

Kind atom · Source kit/ui#Checkbox · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
name string yes
label string yes
checked boolean no false
  • Event change: The box was ticked or cleared.
  • Accessibility: role checkbox; keys Space; A native checkbox linked to its label.

Checkbox: checked

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Checkbox",
    "props": {
      "name": "terms",
      "label": "I accept the terms",
      "checked": true
    }
  }
}

Switch

An on/off switch for a setting that applies at once.

Kind atom · Source kit/ui#Switch · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
name string yes
label string yes
checked boolean no false
disabled boolean no false
  • Event change: The switch was turned on or off.
  • Accessibility: role switch; pattern switch; keys Space, Enter; aria-checked follows the state.

Switch: on

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Switch",
    "props": {
      "name": "active",
      "label": "Active",
      "checked": true
    }
  }
}

Switch: disabled

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Switch",
    "props": {
      "name": "active",
      "label": "Active",
      "disabled": true
    }
  }
}

Notice

A message about the current state. Danger is announced at once; other tones are polite.

Kind molecule · Source kit/ui#Notice · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
tone "neutral" | "accent" | "positive" | "warning" | "danger" no "neutral"
title string no
text string no
  • Slot action: One follow-up action, such as retry. Accepts Button, LinkButton, at most 1.
  • Accessibility: role alert / status; Danger uses role=alert, every other tone role=status.

Notice: positive

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Notice",
    "props": {
      "tone": "positive",
      "text": "The order was shipped."
    }
  }
}

Notice: danger with action

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Notice",
    "props": {
      "tone": "danger",
      "title": "Failed",
      "text": "The payment provider did not answer."
    },
    "slots": {
      "action": [
        {
          "component": "Button",
          "props": {
            "label": "Try again",
            "size": "sm"
          },
          "action": "retry"
        }
      ]
    }
  }
}

EmptyState

Explains why a list or area is empty and what to do next.

Kind molecule · Source kit/ui#EmptyState · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
title string yes
text string no
  • Slot action: The next step. Accepts Button, LinkButton, at most 1.
  • Accessibility: A section whose title is a level-3 heading.

EmptyState: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "EmptyState",
    "props": {
      "title": "No orders yet",
      "text": "Orders appear here as soon as customers buy."
    }
  }
}

Tabs

Switches between panels of related content.

Kind molecule · Source kit/ui#Tabs · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
label string yes
orientation "horizontal" | "vertical" no "horizontal"
value string no
  • Slot children: The panels, one per tab. Accepts TabPanel, at most 12.
  • Event change: Another tab was selected.
  • Accessibility: role tablist; pattern tabs; keys Arrow keys, Home, End; Roving focus with automatic activation; panels are linked to their tabs.

Tabs: default

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Tabs",
    "props": {
      "label": "Order sections"
    },
    "children": [
      {
        "component": "TabPanel",
        "props": {
          "id": "overview",
          "label": "Overview"
        },
        "children": [
          {
            "component": "Text",
            "props": {
              "text": "The order was shipped."
            }
          }
        ]
      },
      {
        "component": "TabPanel",
        "props": {
          "id": "details",
          "label": "View products"
        },
        "children": [
          {
            "component": "Text",
            "props": {
              "text": "Shown on invoices."
            }
          }
        ]
      },
      {
        "component": "TabPanel",
        "props": {
          "id": "history",
          "label": "History",
          "disabled": true
        }
      }
    ]
  }
}

TabPanel

One tab and its panel inside Tabs.

Kind layout · Source kit/ui#Tabs · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
id string yes
label string yes
disabled boolean no false
  • Slot children: The panel content. Accepts any, at most 50.
  • Accessibility: role tabpanel; Labelled by its tab; only the selected panel is rendered.

A button that opens a list of actions.

Kind molecule · Source kit/ui#Menu · Since 1.0.0 · Surfaces studio, storefront, app, mcp-app

Prop Type Required Default
label string yes
items object[] yes
  • Event select: An item was chosen.
  • Accessibility: role button; pattern menu button; keys Enter, Space, Arrow keys, Home, End, Escape; Escape and outside presses close the menu and return focus to the trigger.
Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "Menu",
    "props": {
      "label": "Actions",
      "items": [
        {
          "id": "duplicate",
          "label": "Duplicate"
        },
        {
          "id": "archive",
          "label": "Archive"
        },
        {
          "id": "delete",
          "label": "Delete",
          "tone": "danger"
        }
      ]
    },
    "action": "row"
  }
}

Dialog

A modal dialog with focus containment and restoration.

Kind molecule · Source kit/ui#Dialog · Since 1.0.0 · Surfaces none (code only)

Code only: A document may not open a modal over its host; hosts open Dialog from their own controls.

Prop Type Required Default
title string yes
description string no
dismissible boolean no true
  • Event close: Escape, the backdrop or a footer action closed the dialog.
  • Accessibility: role dialog; pattern dialog (modal); keys Tab, Shift+Tab, Escape; aria-modal; focus returns to the opener.

ProductCard

A product tile with image, name, price, tax note and stock from the shop.

Kind pattern · Source kit/storefront#product-card · Since 1.0.0 · Surfaces studio, storefront, mcp-app

Prop Type Required Default
product (host data) object yes
priceKind "gross" | "net" no "gross"
  • Accessibility: role article; The name links to the product page; prices come only from the host.

ProductCard: in stock

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "ProductCard",
    "props": {
      "product": {
        "path": "/product"
      }
    }
  }
}

ProductSummary

The purchase area of a product: variants, price, stock and add to cart.

Kind pattern · Source kit/storefront#product-summary · Since 1.0.0 · Surfaces storefront, mcp-app

Prop Type Required Default
product (host data) object yes
priceKind "gross" | "net" no "gross"
shippingExtra boolean no false
groups (host data) object[] no []
moreVariants "none" | "more" | "loading" no "none"
showRules boolean no false
tiers (host data) object[] no []
selectedTier number no
delivery (host data) object no
quantity number no
disabled boolean no false
  • Event addToCart: The buyer asked to add the product.
  • Event select: The buyer chose a variant option.
  • Event open: The buyer opened reviews or variants.
  • Accessibility: Add to cart is a host action; the document never confirms a purchase.

CartSummary

Priced cart lines, discounts, taxes and totals as the server calculated them.

Kind pattern · Source kit/storefront#cart-summary · Since 1.0.0 · Surfaces storefront, mcp-app

Prop Type Required Default
currency (host data) string yes
lines (host data) object[] yes
subtotal (host data) number no
discounts (host data) object[] no []
shipping (host data) number no
tax (host data) number no
total (host data) number yes
delivery (host data) object no
priceKind "gross" | "net" no "gross"
busy boolean no false
  • Event quantity: The buyer changed a line quantity; the server reprices.
  • Event checkout: The buyer asked to continue to checkout.
  • Event open: The buyer opened a line.
  • Accessibility: role region; Totals are announced as text; quantity fields are labelled per line.

CartSummary: one line

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "CartSummary",
    "props": {
      "currency": {
        "path": "/cart/currency"
      },
      "lines": {
        "path": "/cart/lines"
      },
      "subtotal": {
        "path": "/cart/subtotal"
      },
      "shipping": {
        "path": "/cart/shipping"
      },
      "total": {
        "path": "/cart/total"
      }
    },
    "action": "cart"
  }
}

CheckoutSteps

Where the buyer is in checkout; it never implies a confirmed payment.

Kind pattern · Source kit/storefront#checkout-steps · Since 1.0.0 · Surfaces storefront, mcp-app

Prop Type Required Default
current "details" | "review" | "complete" no "details"
  • Accessibility: role list; The current step carries aria-current=step.

CheckoutSteps: review

Document
{
  "format": "veyndo-ui/1",
  "catalog": "veyndo:components/1",
  "root": {
    "component": "CheckoutSteps",
    "props": {
      "current": "review"
    }
  }
}

AccountOverview

The account home: greeting, counts and recent orders of the signed-in customer.

Kind pattern · Source kit/storefront#account-overview · Since 1.0.0 · Surfaces storefront

Prop Type Required Default
name (host data) string yes
counts (host data) object yes
orders (host data) object[] yes
recent number no 2
  • Event open: The customer opened an order or account page.
  • Accessibility: role region; Personal data; only the storefront account host admits it.

OrderList

The signed-in customer's orders.

Kind pattern · Source kit/storefront#order-list · Since 1.0.0 · Surfaces storefront

Prop Type Required Default
orders (host data) object[] yes
  • Event open: The customer opened an order.
  • Accessibility: role list; Personal data; only the storefront account host admits it.