Provider mark
import { ProviderMark, isProviderName } from "@arcadia/ui";Try it
ProviderMark
providerrequired- "openai" | "xiaomi" | "zai" | "opencode" | "grok" | "deepseek" | "google" | "anthropic" | "claude" | "mistral" | "commandcode" | "cursor" | "gmail" | "github"
- Whose models these are.
size- "sm" | "md" | "lg" | "text"
- Default:
"text" text: beside a label, in the frame of the icon of the label's text style, the drawing as tall as its letters (1.09 cap heights; a flat mark 1.00), at most 1.3 times that wide.sm12px,md14px,lg16px: standalone. A tile wraps it in 20 / 24 / 28.tile- boolean
- Default:
false - Set the glyph on a small continuous-corner squircle in a fill rank, like the app icon.
label- string
- Accessible name ("OpenAI"). Omit when the provider's name is already in the text beside it.
rootStyle- RootStyle<ProviderMarkKnobs>
- Typed StyleX override: layout and the
--provider-mark-*knobs.
Rest props go to <span> props and render.