Skip to content
Cuelark UI

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

css.gg · CgTerrain

Terrain icon

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

/**
 * Terrain from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/terrain. Sized in em, colored by currentColor.
 */
export function CgTerrainIcon(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="M8 10L3 18H13L8 10Z" fill="currentColor" />
      <path d="M10.5286 10.7543L13.5 6L21 18H15.0572L10.5286 10.7543Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { CgTerrain } from "react-icons/cg";

export function Example() {
  return <CgTerrain className="size-5" />;
}
terrain.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="M8 10L3 18H13L8 10Z" fill="currentColor" />
  <path d="M10.5286 10.7543L13.5 6L21 18H15.0572L10.5286 10.7543Z" fill="currentColor" />
</svg>
Attribution
"Terrain" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Terrain icon in other sets