Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Brackets icon
A free brackets 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/brackets.jsonimport * as React from "react";
/**
* Brackets from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/brackets. Sized in em, colored by currentColor.
*/
export function CgBracketsIcon(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="M11 7V9H9V15H11V17H7V7H11Z" fill="currentColor" />
<path d="M15 15H13V17H17V7H13V9H15V15Z" fill="currentColor" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M3 6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z"
fill="currentColor"
/>
</svg>
);
}import { CgBrackets } from "react-icons/cg";
export function Example() {
return <CgBrackets 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="M11 7V9H9V15H11V17H7V7H11Z" fill="currentColor" />
<path d="M15 15H13V17H17V7H13V9H15V15Z" fill="currentColor" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M3 6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z"
fill="currentColor"
/>
</svg>"Brackets" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.