Cain
The subway-cain icon represents a chain or link, often associated with connection, security, or safety.
Exports at 24 × 24 px
Code
Cain in your framework
In any framework. Customize it above, and the code follows.
export const CainIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M170.7 426.7s-42.7 42.7-64 42.7c-35.4 0-64-28.6-64-64c0-21.3 42.7-64 42.7-64l83.4-83.4c-6.3-1.2-12.7-2-19.4-2c-24.4 0-46.1 7.5-64 21.3l-64 64C8 359 0 381.5 0 405.3C0 464.2 47.8 512 106.7 512c24 0 46.3-7.9 64-21.3l64-64c13.6-17.7 21.3-39.9 21.3-64c0-6.7-.8-13.1-2-19.4zM405.3 0c-24 0-46.3 7.9-64 21.3l-64 64c-13.6 17.7-21.3 39.9-21.3 64c0 6.7.8 13.1 2 19.4l83.4-83.4s42.7-42.7 64-42.7c35.4 0 64 28.6 64 64c0 21.3-42.7 64-42.7 64L343.3 254c6.3 1.2 12.8 2 19.4 2c24.4 0 46.1-7.5 64-21.3l64-64c13.3-17.6 21.3-40.1 21.3-64C512 47.8 464.2 0 405.3 0m-256 330.7c0 17.7 14.3 32 32 32c12.6 0 23.4-7.4 28.6-18L344.7 210c10.6-5.2 18-16 18-28.6c0-17.7-14.3-32-32-32c-12.6 0-23.4 7.4-28.6 18L167.3 302c-10.6 5.3-18 16.1-18 28.7"/>
</svg>
);Subway Icon Set
More like it
Icons that share its tags, then the ones next to it in Subway Icon Set, in the same style.
Search Subway Icon Set
Skip the copy and paste. With Pro, your AI agent finds and installs any Subway Icon Set icon from a prompt.
Get ProTags
Browse by tag
Cain is tagged security, network, cryptocurrency and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Subway Icon Set MCP, with Pro
Ask for Cain or any of 306 Subway Icon Set icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Cain icon means and where it's used, then how to install, style, label and license it.
The subway-cain icon represents a chain or link, often associated with connection, security, or safety.
In real-world applications, this icon appears in software or platforms related to network security, cryptocurrency, or safety protocols, such as blockchain or encryption tools.
From a UX perspective, the chain icon communicates the idea of protection or reliability, helping users understand the functionality of a feature related to security or trust.
Cain is one of 306 icons in Subway Icon Set, made by Mariusz Ostrowski and released under CC BY 4.0. It is drawn on a 512 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds CainIcon to components/icons/subway-cain.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed CainIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Cain icon, or any of 306 Subway Icon Set icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Cain", so screen readers say what it does.
Yes. CainIcon passes every SVG prop to the svg element, so <CainIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Mariusz Ostrowski) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Mariusz Ostrowski, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are security, network, cryptocurrency, blockchain, safety and connection. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Cain in another set.
4.9 out of 5 from 150+ developers
Install Cain from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro