Orbit arcs — Integrations block
Prointegrations-orbit-arcs · for home, landing pages
Orbit arcs
Two half-arcs rising behind a centred title, the connections set on them and the merchant’s own mark at their foot when given (chips under the words on a phone): a calm "works with what you use" band of 3 to 12 names, where ConnectionMap’s lines would say too much
Documentation
Installation
One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
pnpm dlx shadcn-vue@latest add @trame/integrations-orbit-arcsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import IntegrationsOrbitArcs from '@/components/trame/blocks/integrations/integrations-orbit-arcs.vue'
const props = {
title: "Works with the tools you already use",
intro: "Your calendar, your phone line and your invoicing stay where they are: the assistant reads and writes in them for you.",
items: [
{
name: "Shared Calendar",
icon: "calendar",
action: "page",
record: {
id: "calendar"
}
},
{
name: "Text messages",
icon: "message"
}
],
cta: {
label: "See every connection",
action: "page",
record: {
id: "connections"
}
}
}
</script>
<template>
<IntegrationsOrbitArcs v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe section’s title, an h2, set inside the arcs |
| intro | string | Wordsone or two sentences under the title |
| items* | Item[] | the items shown, in order |
| cta | Cta | the call to action: its words and the page action it runs |
| hub | Hub | the merchant’s own mark at the centre of its connections; without it, a soft glow holds the centre |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Item items[] · 5 props
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe tool, channel or service, as the merchant names it |
| logo | string | Pictureits mark, supplied by the merchant (never bundled): shown in its own colours, or in one colour from its shape with `options.marks` mono |
| icon | string | Designa pictogram when there is no logo (plug, truck, card, store, mail, message, package, cloud, chart, calendar, tag, users) |
| action | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Cta cta · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("See every connection") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Hub hub · 2 props
| Prop | Type | Description |
|---|---|---|
| logo* | string | Picturethe merchant’s own mark (never a third party’s), set where every connection meets |
| name* | string | Wordsthe merchant’s name: the mark’s alt |
Options options · 2 props
| Prop | Type | Description |
|---|---|---|
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a band of the page that redefines the theme surfaces inside it |
| marks | 'original' | 'mono' | how the logos show: "original" in their own colours, as supplied (the default); "mono" in the text colour, from their shape only |
What it asks your app for
The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| asset | a picture’s address as your app serves it |
| Link | your router’s link component |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your word for an interface key, or undefined to keep the block’s own |
The words it says itself, in English and French; label(key) replaces any of them:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too many attempts, try again in a moment. | Trop de tentatives, réessayez dans un moment. |
Features
- Every word in the server HTML
- Same markup in Vue and React
- Theme tokens only: every theme, light and dark
- Shows what you give it, invents nothing
- Expressive motion, within its budget; still under reduced motion
- Real buttons and links, a visible focus
- Asks your app through actions:
items[],cta
A integrations section, for home, landing pages; it uses @lucide/vue, @vueuse/core, class-variance-authority, clsx, motion, reka-ui, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More integrations blocks
- Category columns: a long catalogue sorted by kind, names as text in columns, no logos needed: many connections, one glance — the merchant’s own only.
- Connection directory filter grid: 12 or more connections, category chips filter the cards; everything stays in the page for search engines — the merchant’s own only.
- Connection map hub: 3 to 8 connections around the merchant’s own centre, lines between: explaining where the data goes.
- Grid tiles: 4 to 12 connections, each a tile with its logo, name and one sentence: the plain, readable default — the merchant’s own only.
- Lead bento: the first connection as a large tile, the others around it: one integration the merchant puts forward (4 to 9).
- Logo chips band: a flat list of partners, carriers, payment methods or languages as a wrapped band of pills: short and light — the merchant’s own only.
- Picker: 6 to 16 connections that each deserve a sentence but would make a long list: a grid of logo tiles picks the one a large card tells — the merchant’s own only.
- Split list: the title and its action fixed at the left, a ruled list of connections at the right: 6 to 12 connections told by a sentence each — the merchant’s own only.