Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

css.gg · CgStyle

Style icon

A free style 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
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/css-gg/style.json
components/icons/css-gg-style.tsx
import * as React from "react";

/**
 * Style from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/style. Sized in em, colored by currentColor.
 */
export function CgStyleIcon(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
        fillRule="evenodd"
        clipRule="evenodd"
        d="M13 21V13H21V21H13ZM15 15H19L19 19H15V15Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M3 11L3 3L11 3V11H3ZM5 5L9 5V9L5 9L5 5Z"
        fill="currentColor"
      />
      <path d="M18 6V12H16V8L12 8V6L18 6Z" fill="currentColor" />
      <path d="M12 18H6L6 12H8L8 16H12V18Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { CgStyle } from "react-icons/cg";

export function Example() {
  return <CgStyle className="size-5" />;
}
style.svg
<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
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M13 21V13H21V21H13ZM15 15H19L19 19H15V15Z"
    fill="currentColor"
  />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M3 11L3 3L11 3V11H3ZM5 5L9 5V9L5 9L5 5Z"
    fill="currentColor"
  />
  <path d="M18 6V12H16V8L12 8V6L18 6Z" fill="currentColor" />
  <path d="M12 18H6L6 12H8L8 16H12V18Z" fill="currentColor" />
</svg>
Attribution
"Style" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Related icons:

Style icon in other sets