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 · CgDisplaySpacing

Display Spacing icon

A free display spacing 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/display-spacing.json
components/icons/css-gg-display-spacing.tsx
import * as React from "react";

/**
 * Display Spacing from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/display-spacing. Sized in em, colored by currentColor.
 */
export function CgDisplaySpacingIcon(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="M3 21V3H5V21H3Z" fill="currentColor" />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M7 3H17V21H7V3ZM9 5V19H15V5H9Z"
        fill="currentColor"
      />
      <path d="M19 3V21H21V3H19Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { CgDisplaySpacing } from "react-icons/cg";

export function Example() {
  return <CgDisplaySpacing className="size-5" />;
}
display-spacing.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 d="M3 21V3H5V21H3Z" fill="currentColor" />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M7 3H17V21H7V3ZM9 5V19H15V5H9Z"
    fill="currentColor"
  />
  <path d="M19 3V21H21V3H19Z" fill="currentColor" />
</svg>
Attribution
"Display Spacing" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Related icons: monitor, desktop, screen, computer