Skip to content

ProductMark

The mark of one product of the suite: its icon and its name, plain, framed or in the voice.

import { ProductMark } from '@sypnia/ui/react'

On this page
  1. The suite
  2. When to use it
  3. For everyone
  4. Props

The suite

TelemetryDataFilesRunMailDomainsGitAgentDesignLearnSkillsUI
DataTelemetry
Code
import { ProductMark } from '@sypnia/ui/react';

const products = ['telemetry', 'data', 'files', 'run', 'mail', 'domains', 'git', 'agent', 'design', 'learn', 'skills', 'ui'] as const;
export default function Suite() {
  return (
    <div className="sy-stack" style={{ '--gap': 'var(--s-5)' } as React.CSSProperties}>
      <div className="sy-grid" style={{ '--min': '9rem', '--gap': 'var(--s-4)' } as React.CSSProperties}>{products.map((p) => <ProductMark key={p} product={p} tile />)}</div>
      <div className="sy-row" style={{ '--gap': 'var(--s-6)' } as React.CSSProperties}><ProductMark product="data" size="lg" /><ProductMark product="telemetry" size="lg" /><ProductMark product="mail" iconOnly /></div>
    </div>
  );
}

When to use it

Use it when

  • Product switchers, the product pages, a product's own header.

Do not use it when

  • Inside text: write the name.

For everyone

  • With iconOnly it is an image named after the product.

Props

ProductMarkTypeDefault
productrequired "data" | "mail" | "files" | "agent" | "telemetry" | "cases" | "git" | "run" | "ai" | "domains" | "design" | "learn" | "skills" | "app" | "ui"
iconOnly boolean
label string
size "md" | "lg" md
tile boolean
  1. The suite
  2. When to use it
  3. For everyone
  4. Props

    Search pages, sections and terms