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

Unsplash icon

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

/**
 * Unsplash from css.gg (https://github.com/astrit/css.gg), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/css-gg/unsplash. Sized in em, colored by currentColor.
 */
export function CgUnsplashIcon(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="M15 4.5H9V8.5H15V4.5Z" fill="currentColor" />
      <path d="M4 10.5H9V14.5H15V10.5H20V19.5H4V10.5Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { CgUnsplash } from "react-icons/cg";

export function Example() {
  return <CgUnsplash className="size-5" />;
}
unsplash.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="M15 4.5H9V8.5H15V4.5Z" fill="currentColor" />
  <path d="M4 10.5H9V14.5H15V10.5H20V19.5H4V10.5Z" fill="currentColor" />
</svg>
Attribution
"Unsplash" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.

Unsplash icon in other sets