Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Cast icon
A free cast icon from css.gg, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/css-gg/cast.jsonimport * as React from "react";
/**
* Cast from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/cast. Sized in em, colored by currentColor.
*/
export function CgCastIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M20 6H4V8H2V6C2 4.89543 2.89543 4 4 4H20C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H15V18H20V6Z"
fill="currentColor"
/>
<path
d="M2 13C5.86599 13 9 16.134 9 20H7C7 17.2386 4.76142 15 2 15V13Z"
fill="currentColor"
/>
<path d="M2 17C3.65685 17 5 18.3431 5 20H2V17Z" fill="currentColor" />
<path
d="M2 9C8.07513 9 13 13.9249 13 20H11C11 15.0294 6.97056 11 2 11V9Z"
fill="currentColor"
/>
</svg>
);
}import { CgCast } from "react-icons/cg";
export function Example() {
return <CgCast className="size-5" />;
}<svg
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20 6H4V8H2V6C2 4.89543 2.89543 4 4 4H20C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H15V18H20V6Z"
fill="currentColor"
/>
<path
d="M2 13C5.86599 13 9 16.134 9 20H7C7 17.2386 4.76142 15 2 15V13Z"
fill="currentColor"
/>
<path d="M2 17C3.65685 17 5 18.3431 5 20H2V17Z" fill="currentColor" />
<path
d="M2 9C8.07513 9 13 13.9249 13 20H11C11 15.0294 6.97056 11 2 11V9Z"
fill="currentColor"
/>
</svg>"Cast" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.