Chai
The Chai icon represents Chai, a popular testing framework for JavaScript.
Exports at 21 × 24 px
Code
Chai in your framework
In any framework. Customize it above, and the code follows.
export const ChaiIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="24" viewBox="0 0 256 296" {...props}>
<defs><linearGradient id="SVGMZXqebyY" x1="50%" x2="50%" y1="45.227%" y2="100%"><stop offset="0%" stopColor="#F7F6F3"/><stop offset="100%" stopColor="#FEF6D5"/></linearGradient></defs><path fill="#A1070C" d="m11.071 215.711l116.926 67.509l116.932-67.509V80.696L127.997 13.189L11.071 80.696zM127.997 296L0 222.1V74.306L127.997.404L256 74.306V222.1z"/><path fill="url(#SVGMZXqebyY)" d="M9.579 79.833L128 11.463l118.421 68.37v136.741L128 284.944L9.579 216.574z"/><path fill="#A1070C" d="M182.332 98.173q0 8.058-3.18 16.008a59.1 59.1 0 0 1-8.534 14.736a62.4 62.4 0 0 1-12.35 11.874q-6.999 5.089-14.525 7.315l-2.226-3.71a34 34 0 0 0 8.163-5.725a37 37 0 0 0 6.36-7.898a39.2 39.2 0 0 0 4.082-9.33a35.8 35.8 0 0 0 1.431-10.018q0-5.83-1.696-11.025t-4.982-9.065q-3.287-3.87-8.11-6.095q-4.825-2.227-11.079-2.227q-7.633 0-13.994 2.969t-11.45 8.004t-8.852 11.555a79.7 79.7 0 0 0-6.254 13.676a92 92 0 0 0-3.764 14.471Q90.1 141.003 90.1 147.47q0 6.573 1.378 13.57a80.7 80.7 0 0 0 4.029 13.782a71 71 0 0 0 6.573 12.827q3.922 6.043 9.064 10.602a42.2 42.2 0 0 0 11.45 7.262q6.307 2.703 13.728 2.703q5.09 0 9.912-1.378a49 49 0 0 0 9.277-3.71a52.4 52.4 0 0 0 8.428-5.513a65 65 0 0 0 7.368-6.891l3.498 3.392q-4.664 6.15-11.078 11.82a90.5 90.5 0 0 1-13.835 10.072a75.6 75.6 0 0 1-15.531 6.997q-8.11 2.598-16.061 2.597q-7.74 0-14.577-2.703a48.1 48.1 0 0 1-12.563-7.315q-5.725-4.612-10.23-10.813a73.3 73.3 0 0 1-7.633-13.2a75 75 0 0 1-4.771-14.417q-1.643-7.421-1.643-14.524q0-10.284 3.445-21.15t9.489-21.097t14.258-19.347q8.217-9.118 17.705-15.902q9.488-6.785 19.824-10.76q10.337-3.976 20.62-3.976q6.36 0 11.874 1.855q5.512 1.855 9.541 5.354T180 86.3t2.332 11.873"/>
</svg>
);Other libraries
Chai in 3 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Chai is tagged programming, javascript and software development. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Chai or any of 2,063 SVG Logos 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 Chai icon means and where it's used, then how to install, style, label and license it.
The Chai icon represents Chai, a popular testing framework for JavaScript. It is used for writing and running tests in JavaScript applications.
The Chai icon appears in various software and platforms related to software development, testing, and JavaScript programming, such as testing tools like Mocha and Node.js.
From a UX perspective, the Chai icon communicates a sense of testing, validation, and quality assurance. It helps users understand that the platform or service is related to testing and verifying JavaScript code.
Chai is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 256 × 296 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 ChaiIcon to components/icons/logos-chai.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 ChaiIcon 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 Chai icon, or any of 2,063 SVG Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 256 × 296 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. 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="Chai", so screen readers say what it does.
Yes. ChaiIcon passes every SVG prop to the svg element, so <ChaiIcon 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.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Chai. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are programming, javascript and software development. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Chai in another set.
4.9 out of 5 from 150+ developers
Install Chai from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro