Brand Icon
Logos for the apps and models your product connects to. Draw a bare glyph in text, a framed tile in lists, or a stack of tiles with names on hover.
Installation
pnpm dlx shadcn@latest add https://sprout.tulipfarm.ai/r/brand-icon.jsonCopies Brand Icon and the components it uses (Tooltip) into your app, installs the packages, and adds the styles. Then import it from @/components/ui/brand-icon. Needs Tailwind CSS 4 and a components.json from shadcn init.
Install the following dependencies:
pnpm add clsx tailwind-merge @base-ui/reactAdd Sprout base once per app: the
cn()helper and the design tokens.lib/sprout/classes.ts- Design tokens, for your global CSS
Add the components it uses: Tooltip.
Copy and paste the following code into your project.
'use client'; import type { ComponentProps } from 'react'; import { mergeProps } from '@base-ui/react/merge-props'; import { useRender } from '@base-ui/react/use-render'; import { brandGlyphs } from '@/lib/sprout/brand-glyphs'; import { cn } from '@/lib/sprout/classes'; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'; export type Brand = keyof typeof brandGlyphs; export const brandNames: Record<Brand, string> = { claude: 'Claude', openai: 'OpenAI', deepseek: 'DeepSeek', grok: 'Grok', kimi: 'Kimi', gemini: 'Gemini', mistral: 'Mistral', meta: 'Meta', qwen: 'Qwen', google: 'Google Workspace', gmail: 'Gmail', 'google-calendar': 'Google Calendar', 'google-drive': 'Google Drive', 'google-sheets': 'Google Sheets', 'google-docs': 'Google Docs', 'google-slides': 'Google Slides', 'google-forms': 'Google Forms', slack: 'Slack', github: 'GitHub', jira: 'Jira', confluence: 'Confluence', trello: 'Trello', notion: 'Notion', hubspot: 'HubSpot', figma: 'Figma', microsoft: 'Microsoft', linear: 'Linear', stripe: 'Stripe', airtable: 'Airtable', asana: 'Asana', clickup: 'ClickUp', discord: 'Discord', shopify: 'Shopify', zendesk: 'Zendesk', dropbox: 'Dropbox', gitlab: 'GitLab', calendly: 'Calendly', }; export const brandTileSizeNames = ['sm', 'md', 'md-lg', 'lg', 'xl', 'action', 'row'] as const; export const brandIconSizeNames = ['inline', 'glyph', 'fill', 'sm', 'md', 'md-lg', 'lg', 'xl', 'row'] as const; export type BrandTileSize = (typeof brandTileSizeNames)[number]; export type BrandIconSize = (typeof brandIconSizeNames)[number]; function Glyph({ brand }: { brand: Brand }) { const glyph = brandGlyphs[brand]; return ( <svg viewBox={glyph.viewBox} className="sprout-brand-glyph" aria-hidden="true" focusable="false"> {glyph.paths.map((path, index) => ( <path key={index} d={path.d} fill={'fill' in path ? path.fill : 'currentColor'} fillRule={'evenOdd' in path ? 'evenodd' : undefined} clipRule={'evenOdd' in path ? 'evenodd' : undefined} /> ))} </svg> ); } export type BrandTileProps = useRender.ComponentProps<'span'> & { size?: BrandTileSize; }; export function BrandTile({ size = 'md', render, ref, className, ...props }: BrandTileProps) { return useRender({ defaultTagName: 'span', render, ref, props: mergeProps<'span'>( { 'data-slot': 'brand-tile', 'data-size': size, className: cn('sprout-brand-tile', className), } as ComponentProps<'span'>, props, ), }); } export interface BrandIconProps extends Omit<ComponentProps<'span'>, 'children'> { brand: Brand; size?: BrandIconSize; } export function BrandIcon({ brand, size = 'md', className, ...props }: BrandIconProps) { if (size === 'inline' || size === 'glyph' || size === 'fill') return ( <span data-slot="brand-icon" data-brand={brand} data-size={size} {...props} className={cn('sprout-brand-icon', className)} > <Glyph brand={brand} /> </span> ); return ( <BrandTile data-brand={brand} size={size} {...props} className={className}> <Glyph brand={brand} /> </BrandTile> ); } export interface BrandStackItem { brand: Brand; name: string; } export interface BrandStackProps extends Omit<ComponentProps<'span'>, 'children' | 'role'> { brands: readonly BrandStackItem[]; label?: string; } export function BrandStack({ brands, label, className, ...props }: BrandStackProps) { if (brands.length === 0) return null; return ( <TooltipProvider delay={200}> <span data-slot="brand-stack" {...props} role="img" aria-label={label ?? brands.map(item => item.name).join(', ')} className={cn('sprout-brand-stack', className)} > {brands.map(item => ( <Tooltip key={item.brand}> <TooltipTrigger render={<BrandTile size="sm" data-brand={item.brand} />}> <Glyph brand={item.brand} /> </TooltipTrigger> <TooltipContent sideOffset={6} className="sprout-brand-tooltip"> {item.name} </TooltipContent> </Tooltip> ))} </span> </TooltipProvider> ); }And the files it imports:
lib/sprout/brand-glyphs.ts
Add the styles to your global CSS, after
@import "tailwindcss".@layer components { .sprout-brand-tile[data-size] { --sprout-brand-tile-size: 2.25rem; box-sizing: border-box; width: var(--sprout-brand-tile-size); min-width: var(--sprout-brand-tile-size); height: var(--sprout-brand-tile-size); border: 1px solid var(--sprout-line); background: var(--sprout-surface); color: var(--sprout-text); box-shadow: var(--sprout-shadow-control); font-family: var(--sprout-font); border-radius: .5rem; flex-shrink: 0; place-items: center; padding: .5rem; line-height: 1; display: grid; position: relative; } .sprout-brand-tile[data-size="sm"] { --sprout-brand-tile-size: 1.5rem; border-radius: .375rem; padding: .25rem; } .sprout-brand-tile:is([data-size="md-lg"], [data-size="row"]) { --sprout-brand-tile-size: 2.5rem; border-radius: .625rem; padding: .5rem; } .sprout-brand-tile[data-size="lg"] { --sprout-brand-tile-size: 3rem; border-radius: .75rem; padding: .625rem; } .sprout-brand-tile[data-size="xl"] { --sprout-brand-tile-size: 3.5rem; border-radius: 1rem; padding: .75rem; } @media (width >= 640px) { .sprout-brand-tile[data-size="row"] { --sprout-brand-tile-size: 3rem; border-radius: .75rem; padding: .625rem; } } @media (pointer: coarse) { .sprout-brand-tile[data-size="action"] { --sprout-brand-tile-size: 2.75rem; padding: .75rem; } .sprout-agent-fanout-chip:after, .sprout-agent-fanout-toggle:after { content: ""; position: absolute; inset: -.625rem -.25rem; } } .sprout-brand-tile[data-size]:is(button, a) { cursor: pointer; transition: background-color var(--sprout-motion-fast) var(--sprout-motion-ease), border-color var(--sprout-motion-fast) var(--sprout-motion-ease); } @media (hover: hover) { .sprout-brand-tile[data-size]:is(button, a):hover:not(:disabled) { background: var(--sprout-hover); } } .sprout-brand-tile[data-size]:is(button, a):focus-visible { outline: var(--sprout-focus-width) solid var(--sprout-focus-ring); outline-offset: 0; } .sprout-brand-tile[data-size]:is(button, a):disabled { cursor: not-allowed; opacity: .5; } .sprout-brand-icon[data-size] { flex-shrink: 0; place-items: center; width: 1rem; height: 1rem; display: grid; } .sprout-brand-icon[data-size="glyph"] { width: 1.25rem; height: 1.25rem; } .sprout-brand-icon[data-size="fill"] { width: 100%; height: 100%; } :is(.sprout-brand-icon, .sprout-brand-tile)[data-size] > svg.sprout-brand-glyph { width: 100%; height: 100%; display: block; } .sprout-brand-stack { flex-shrink: 0; align-items: center; display: flex; } .sprout-brand-stack > * + * { margin-inline-start: -.375rem; } .sprout-brand-stack > .sprout-brand-tile[data-size] { box-shadow: 0 0 0 2px var(--sprout-brand-ring, var(--sprout-canvas)), var(--sprout-shadow-control); } .sprout-brand-stack > .sprout-brand-tile:hover { z-index: 1; } @media (prefers-reduced-motion: reduce) { .sprout-brand-tile[data-size]:is(button, a) { transition: none; } [data-live] :is(.sprout-agent-fanout-card, .sprout-agent-fanout-status, .sprout-agent-fanout-chip, .sprout-agent-fanout-wire, .sprout-agent-fanout-dot) { transition: opacity var(--sprout-motion-fast) var(--sprout-motion-ease); } @starting-style { [data-live] :is(.sprout-agent-fanout-card, .sprout-agent-fanout-status, .sprout-agent-fanout-chip, .sprout-agent-fanout-wire, .sprout-agent-fanout-dot) { opacity: 0; } } } .sprout-agent-fanout { --sprout-agent-fanout-card: 17.25rem; --sprout-agent-fanout-card-min: 9.5rem; --sprout-agent-fanout-gap: 3rem; --sprout-agent-fanout-gap-min: 1rem; --sprout-agent-fanout-indent: 2.5rem; --sprout-agent-fanout-line: color-mix(in oklab, var(--sprout-border-strong) 40%, var(--sprout-line)); --sprout-agent-fanout-line-active: color-mix(in oklab, var(--sprout-info) 70%, var(--sprout-line)); min-width: 0; color: var(--sprout-text); font-family: var(--sprout-font); font-size: var(--sprout-text-sm); flex-direction: column; gap: 1.5rem; line-height: 1.25rem; display: flex; } .sprout-agent-fanout-header { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; display: flex; } .sprout-agent-fanout-title { font-size: var(--sprout-text-sm); align-items: center; gap: .5rem; margin: 0; font-weight: 500; line-height: 1.25rem; display: inline-flex; } .sprout-agent-fanout-title-icon { color: var(--sprout-info); flex-shrink: 0; } .sprout-agent-fanout-summary { font-size: var(--sprout-text-xs); font-variant-numeric: tabular-nums; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; display: flex; } .sprout-agent-fanout-stat { color: var(--sprout-muted); white-space: nowrap; } .sprout-agent-fanout-stat[data-tone="info"] { color: var(--sprout-info); font-weight: 500; } .sprout-agent-fanout-count { display: inline-block; } .sprout-agent-fanout-chip { border-radius: var(--sprout-radius-control); height: 1.5rem; font: inherit; white-space: nowrap; cursor: pointer; appearance: none; border: 0; align-items: center; gap: .25rem; margin: 0; padding: 0 .375rem 0 .5rem; font-weight: 500; display: inline-flex; position: relative; } .sprout-agent-fanout-chip[data-kind="needs-you"] { background: var(--sprout-warning-subtle); color: var(--sprout-warning); } .sprout-agent-fanout-chip[data-kind="failed"] { background: var(--sprout-danger-subtle); color: var(--sprout-danger); } .sprout-agent-fanout-chip > svg { flex-shrink: 0; } .sprout-agent-fanout-chip[data-popup-open] > svg { rotate: 180deg; } .sprout-agent-fanout-chip:focus-visible, .sprout-agent-fanout-toggle:focus-visible { outline: var(--sprout-focus-width) solid var(--sprout-focus-ring); outline-offset: 1px; } @media (hover: hover) and (pointer: fine) { .sprout-agent-fanout-chip:hover { background: color-mix(in oklab, currentColor 16%, transparent); } .sprout-agent-fanout-toggle:hover { background: var(--sprout-hover); color: var(--sprout-text); } } .sprout-agent-fanout-issues { width: min(22rem, 100vw - 2rem); padding: .75rem; } .sprout-agent-fanout-issue-list { flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; display: flex; } .sprout-agent-fanout-issue { gap: .75rem; display: flex; } .sprout-agent-fanout-issue + .sprout-agent-fanout-issue { border-top: 1px solid var(--sprout-line); padding-top: 1rem; } .sprout-agent-fanout-issue-mark { border-radius: var(--sprout-radius-control); flex-shrink: 0; place-items: center; width: 2rem; height: 2rem; display: grid; } .sprout-agent-fanout-issue[data-kind="failed"] .sprout-agent-fanout-issue-mark { background: var(--sprout-danger-subtle); color: var(--sprout-danger); } .sprout-agent-fanout-issue[data-kind="needs-you"] .sprout-agent-fanout-issue-mark { background: var(--sprout-warning-subtle); color: var(--sprout-warning); } .sprout-agent-fanout-issue-body { flex-direction: column; flex: 1; gap: .25rem; min-width: 0; display: flex; } .sprout-agent-fanout-issue-title { flex-direction: column; display: flex; } .sprout-agent-fanout-issue-name { font-weight: 500; } .sprout-agent-fanout-issue-task { color: var(--sprout-muted); font-size: var(--sprout-text-xs); text-overflow: ellipsis; white-space: nowrap; line-height: 1rem; overflow: hidden; } .sprout-agent-fanout-issue-reason { text-wrap: pretty; } .sprout-agent-fanout-issue-actions { justify-content: flex-end; gap: .5rem; margin-top: .5rem; display: flex; } .sprout-agent-fanout-tree { min-width: 0; padding: .25rem; position: relative; overflow-x: auto; } .sprout-agent-fanout-probe { box-sizing: border-box; width: 0; height: 0; max-width: var(--sprout-agent-fanout-card); max-height: var(--sprout-agent-fanout-card-min); margin-right: var(--sprout-agent-fanout-gap); margin-bottom: var(--sprout-agent-fanout-gap-min); padding-left: var(--sprout-agent-fanout-indent); visibility: hidden; pointer-events: none; position: absolute; top: 0; left: 0; } .sprout-agent-fanout-root, .sprout-agent-fanout-children { margin: 0; padding: 0; list-style: none; } .sprout-agent-fanout-root { flex-direction: column; display: flex; } .sprout-agent-fanout[data-layout="tree"] .sprout-agent-fanout-root { align-items: safe center; padding-inline-end: calc(var(--sprout-agent-fanout-indent) * var(--sprout-agent-fanout-nest, 0)); } .sprout-agent-fanout-branch { flex-direction: column; min-width: 0; display: flex; } .sprout-agent-fanout[data-layout="tree"] .sprout-agent-fanout-root > .sprout-agent-fanout-branch { align-items: center; } .sprout-agent-fanout-children { padding-left: var(--sprout-agent-fanout-indent); flex-direction: column; gap: 1rem; margin-top: 1rem; display: flex; } .sprout-agent-fanout-children[data-layout="row"] { --sprout-agent-fanout-row-card: var(--sprout-agent-fanout-fit-card, var(--sprout-agent-fanout-card)); align-items: flex-start; gap: var(--sprout-agent-fanout-fit-gap, max(var(--sprout-agent-fanout-gap), calc(var(--sprout-agent-fanout-indent) * var(--sprout-agent-fanout-nest, 0) + 1rem))); flex-direction: row; margin-top: 3rem; padding-left: 0; } .sprout-agent-fanout-children[data-layout="row"] > .sprout-agent-fanout-branch { width: var(--sprout-agent-fanout-row-card); flex: none; } .sprout-agent-fanout-children[hidden] { display: none; } .sprout-agent-fanout-card { box-sizing: border-box; width: var(--sprout-agent-fanout-row-card, var(--sprout-agent-fanout-card)); border: 1px solid var(--sprout-line); border-radius: var(--sprout-radius-panel); background: var(--sprout-surface); max-width: 100%; box-shadow: var(--sprout-shadow-control); --sprout-brand-ring: var(--sprout-surface); flex-direction: column; gap: .625rem; padding: .75rem; display: flex; position: relative; container: sprout-agent-fanout-card / inline-size; } .sprout-agent-fanout[data-layout="list"] .sprout-agent-fanout-card { width: 100%; } .sprout-agent-fanout[data-layout="tree"] .sprout-agent-fanout-card { flex: none; max-width: none; } .sprout-agent-fanout-head { align-items: center; gap: .625rem; min-width: 0; display: flex; } .sprout-agent-fanout-mark.sprout-brand-tile[data-size] { --sprout-brand-tile-size: 2rem; padding: .375rem; } .sprout-agent-fanout-mark-icon { color: var(--sprout-muted); place-items: center; display: grid; } .sprout-agent-fanout-who { flex-direction: column; flex: 1; min-width: 0; display: flex; } .sprout-agent-fanout-name, .sprout-agent-fanout-model { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .sprout-agent-fanout-name { font-weight: 500; } .sprout-agent-fanout-model { color: var(--sprout-muted); font-size: var(--sprout-text-xs); line-height: 1rem; } .sprout-agent-fanout-status.sprout-badge { border-radius: calc(var(--sprout-radius-control) - 2px); align-self: flex-start; } .sprout-agent-fanout-foot:empty { display: none; } @container sprout-agent-fanout-card (width < 15rem) { .sprout-agent-fanout-head > .sprout-agent-fanout-status.sprout-badge { width: 1.25rem; padding: 0; position: absolute; bottom: .875rem; left: .75rem; } .sprout-agent-fanout-card > .sprout-agent-fanout-foot { gap: .5rem; padding-inline-start: 1.75rem; display: flex; } .sprout-agent-fanout-status-text { clip-path: inset(50%); white-space: nowrap; width: 1px; height: 1px; position: absolute; overflow: hidden; } .sprout-agent-fanout-task { flex-wrap: wrap; row-gap: .375rem; } .sprout-agent-fanout-task-text { flex: 6rem; } } .sprout-agent-fanout-arc circle { stroke-dasharray: 20 9; } .sprout-agent-fanout-task { align-items: flex-start; gap: .5rem; margin: 0; display: flex; } .sprout-agent-fanout-task-text { overflow-wrap: anywhere; text-wrap: pretty; min-width: 0; padding-block: .125rem; } .sprout-agent-fanout-tools { flex: none; align-items: center; gap: .25rem; display: inline-flex; } .sprout-agent-fanout-tools-more { color: var(--sprout-muted); font-size: var(--sprout-text-xs); font-variant-numeric: tabular-nums; } .sprout-agent-fanout-foot { min-height: 1.5rem; color: var(--sprout-muted); font-size: var(--sprout-text-xs); font-variant-numeric: tabular-nums; justify-content: space-between; align-items: center; line-height: 1rem; display: flex; } .sprout-agent-fanout-toggle { border-radius: var(--sprout-radius-control); height: 1.5rem; color: var(--sprout-muted); font: inherit; cursor: pointer; appearance: none; background: none; border: 0; align-items: center; gap: .125rem; margin: 0 -.375rem 0 auto; padding: 0 .25rem 0 .375rem; font-weight: 500; display: inline-flex; position: relative; } .sprout-agent-fanout-toggle[aria-expanded="false"] > svg { rotate: -90deg; } .sprout-agent-fanout-card[data-status="needs-you"] { border-color: color-mix(in oklab, var(--sprout-warning) 45%, var(--sprout-line)); } .sprout-agent-fanout-card[data-status="failed"] { border-color: color-mix(in oklab, var(--sprout-danger) 45%, var(--sprout-line)); } .sprout-agent-fanout-card[data-status="stopped"] :is(.sprout-agent-fanout-name, .sprout-agent-fanout-task) { color: var(--sprout-muted); } .sprout-agent-fanout-card[data-status="stopped"] :is(.sprout-agent-fanout-mark, .sprout-agent-fanout-tools) { opacity: .5; } .sprout-agent-fanout-wires { pointer-events: none; position: absolute; top: 0; left: 0; overflow: visible; } .sprout-agent-fanout-wire { fill: none; stroke: var(--sprout-agent-fanout-line); stroke-width: 1.5px; stroke-linecap: round; stroke-dasharray: 1; } .sprout-agent-fanout-dot { fill: var(--sprout-surface); stroke: var(--sprout-agent-fanout-line); stroke-width: 1.5px; } :is(.sprout-agent-fanout-wire, .sprout-agent-fanout-dot)[data-active] { stroke: var(--sprout-agent-fanout-line-active); } .sprout-agent-fanout-ghosts { pointer-events: none; position: absolute; inset: 0; overflow: hidden; } .sprout-agent-fanout-ghost { margin: 0; position: absolute; } .sprout-agent-fanout-sr-only { clip-path: inset(50%); white-space: nowrap; width: 1px; height: 1px; position: absolute; overflow: hidden; } @media (prefers-reduced-motion: no-preference) { .sprout-agent-fanout-arc { animation: .9s linear infinite sprout-agent-fanout-spin; } .sprout-agent-fanout-chip > svg, .sprout-agent-fanout-toggle > svg { transition: rotate var(--sprout-motion-normal) var(--sprout-motion-ease); } .sprout-agent-fanout-chip, .sprout-agent-fanout-toggle { transition: background-color var(--sprout-motion-fast) var(--sprout-motion-ease), color var(--sprout-motion-fast) var(--sprout-motion-ease), scale var(--sprout-motion-fast) var(--sprout-motion-ease); } .sprout-agent-fanout-chip:active, .sprout-agent-fanout-toggle:active { scale: .97; } [data-live] > .sprout-agent-fanout-header .sprout-agent-fanout-count { transition: opacity var(--sprout-motion-normal) var(--sprout-motion-ease), translate var(--sprout-motion-normal) var(--sprout-motion-ease); } @starting-style { [data-live] > .sprout-agent-fanout-header .sprout-agent-fanout-count { opacity: 0; translate: 0 .375rem; } [data-live] .sprout-agent-fanout-chip { opacity: 0; scale: .9; } [data-live] .sprout-agent-fanout-status { opacity: 0; scale: .85; } [data-live] .sprout-agent-fanout-card { opacity: 0; translate: 0 -.375rem; } [data-live] .sprout-agent-fanout-wire { stroke-dashoffset: 1px; } [data-live] .sprout-agent-fanout-dot { opacity: 0; } } [data-live] .sprout-agent-fanout-chip { transition: opacity var(--sprout-motion-normal) var(--sprout-motion-ease), scale var(--sprout-motion-fast) var(--sprout-motion-ease), background-color var(--sprout-motion-fast) var(--sprout-motion-ease); } [data-live] .sprout-agent-fanout-status { transition: opacity var(--sprout-motion-normal) var(--sprout-motion-ease), scale var(--sprout-motion-normal) var(--sprout-motion-ease); } [data-live] .sprout-agent-fanout-time { transition: color var(--sprout-motion-normal) var(--sprout-motion-ease); } [data-live] .sprout-agent-fanout-card { transition: opacity .22s var(--sprout-motion-ease) .12s, translate .22s var(--sprout-motion-ease) .12s, border-color var(--sprout-motion-normal) var(--sprout-motion-ease); } [data-live] .sprout-agent-fanout-wire { transition: d .28s var(--sprout-motion-ease), stroke-dashoffset .28s var(--sprout-motion-ease), stroke var(--sprout-motion-normal) var(--sprout-motion-ease); } [data-live] .sprout-agent-fanout-dot { transition: cx .28s var(--sprout-motion-ease), cy .28s var(--sprout-motion-ease), opacity var(--sprout-motion-normal) var(--sprout-motion-ease), stroke var(--sprout-motion-normal) var(--sprout-motion-ease); } } .sprout-agent-fanout .sprout-agent-fanout-ghosts * { transition: none; } @keyframes sprout-agent-fanout-spin { to { rotate: 360deg; } } }Import it from
@/components/ui/brand-icon. Update the paths if your@/alias points elsewhere.
pnpm add @tulipfarm/sprout@import "tailwindcss";
@import "@tulipfarm/sprout/styles.css";The package keeps the source and ships fixes with each release. Import from @tulipfarm/sprout/brand-icon.
mdUsage
import {
BrandIcon, BrandStack, BrandTile, brandNames,
} from "@tulipfarm/sprout/brand-icon";
<BrandIcon brand="slack" size="sm" />
<BrandIcon brand="google-calendar" size="inline" />
<BrandStack brands={[{ brand: "gmail", name: brandNames.gmail }]} />BrandIcon takes a brand and a size."inline" (16px), "glyph" (20px), and "fill" draw only the logo. "sm" (24px), "md" (36px, default), "md-lg" (40px),"lg" (48px), and "xl" (56px) put it in a tile. "row" is 40px below 640px and 48px from 640px, so app lists fit more rows on a phone. Near-black logos such as GitHub, Notion, and OpenAI follow the text color, so they stay visible in dark mode. Logos are decorative; put the app name in nearby text.
inlineglyphQ3 board deckfillsmGitHubFiles issues for the product teammdNotionSearch pages and databasesmd-lgSlackPost updates to channelslgLinearComing soonxlHubSpotBy HubSpot, Inc.rowJira40px on phones, 48px from 640px
- Claude
- OpenAI
- DeepSeek
- Grok
- Kimi
- Gemini
- Mistral
- Meta
- Qwen
- Google Workspace
- Gmail
- Google Calendar
- Google Drive
- Google Sheets
- Google Docs
- Google Slides
- Google Forms
- Slack
- GitHub
- Jira
- Confluence
- Trello
- Notion
- HubSpot
- Figma
- Microsoft
- Linear
- Stripe
- Airtable
- Asana
- ClickUp
- Discord
- Shopify
- Zendesk
- Dropbox
- GitLab
- Calendly
Inline and glyph
Use "inline" next to 14px text: buttons, menu options, tool activity, and notes. Use "glyph" for 20px slots: file rows, chips, workflow steps, and prompt banners.
- Design review10:00 – 10:45 · Meet link
- Quarterly planning with the leadership team13:00 – 15:00 · No call link
- Focus timeAll day · Private
- Claude Sonnet 4.5Default
- GPT-5Analytics team
- DeepSeek V3Off
- Grok 4Off
- Kimi K2Off
- Gemini 2.5 ProEngineering
- Read the Pipeline sheet
- Searched the inbox for invoices
- Posted in #support
- Opened issue #482
- Read the Onboarding page
- Searched the Support board
- Updated the Leads table
Linked workspace members can talk to this agent in these channels.
Live from Google Drive · [email protected]
Google WorkspaceSlackGitHub
- Customer onboarding playbook
- FY26 pipeline forecast
- Q3 board deck
- Event RSVP form
- Signed MSA – Northwind.pdf
- When a new invoice email arrives
- Add a row to Accounts payable
- Post a summary in #finance
Tiles
<BrandTile>{icon}</BrandTile>
<BrandTile
size="action"
render={<Button variant="ghost" size="icon" />}
aria-label="Gmail actions"
>
<BrandIcon brand="gmail" size="fill" />
</BrandTile>BrandTile is the frame on its own. Put any icon in it. Itssize is "sm", "md", "md-lg", "lg", "xl", "row", or "action". An action tile is 36px and grows to 44px on touch screens. Use render to make the tile a button, link, or popover trigger, then fill it with size="fill".
- SlackAgents reply in #sales and #supportConnected
- GmailReads new mail for heartbeat answersConnected
- Google CalendarBooks meetings after your approvalConnected
- JiraSearches the Support boardNeeds attention
- DeepSeekNot available to any teamOff
- northwind/storefront-and-checkout-monorepoIssues, Pull requests · activity after 2026-01-01 UTCSynced
- #customer-escalationsMessages and threads · 3 selected membersSyncing
- Support handbook12 pages · 1 failedNeeds attention
- Invoices labelMail after 2026-03-01Synced
- Google WorkspaceGmail, Calendar, Drive, Docs, and Sheets
- SlackLet agents answer in channels you choose
- MicrosoftOutlook, Teams, and OneDrive
Brand stack
<BrandStack
brands={[
{ brand: "slack", name: "Slack" },
{ brand: "jira", name: "Atlassian" },
]}
label="Apps this agent uses"
/>BrandStack overlaps small tiles. Each tile shows its name on hover. The stack is one image; its name is label, or the item names joined with commas. An empty list renders nothing. Set --sprout-brand-ring to the color behind the stack.
- Team
- Customer Success
- Actions
- Read emailPost messagesSearch issues
- Empty
- No actions selected.
- Labelled
Brand names
brandNames maps every brand to its display name. Use it for labels so names match the logos.
google.gmail.searchUsed Gmailgithub.issues.createUsed GitHubatlassian.jira.searchUsed Atlassianweb.fetchUsed Connected apps
Popovers, cards, badges, and prompt rows above are sample code. The package draws the logos, tiles, and stacks. Your application owns data and actions.
Accessibility
BrandIcon and BrandTile are hidden from screen readers unless you give them a role and label. When a tile is a button, give it anaria-label. BrandStack is announced as one image with every app name, so its hover tooltips are not needed to understand it. Tooltips fade in over 120ms; reduced motion turns this off.