Skip to content
Cuelark UI

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

Icons8 Line Awesome · LiaTramSolid

Tram Solid icon

A free tram solid icon from Icons8 Line Awesome, 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
icons8.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/line-awesome/tram-solid.json
components/icons/line-awesome-tram-solid.tsx
import * as React from "react";

/**
 * Tram Solid from Icons8 Line Awesome (https://icons8.com/line-awesome), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/line-awesome/tram-solid. Sized in em, colored by currentColor.
 */
export function LiaTramSolidIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 32 32"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M 10.75 2 L 8.5625 3.09375 L 9.4375 4.90625 L 11.25 4 L 20.75 4 L 22.5625 4.90625 L 23.4375 3.09375 L 21.25 2 Z M 15 5 L 15 6 L 12 6 C 8.699219 6 6 8.699219 6 12 L 6 24 C 6 25.644531 7.355469 27 9 27 L 7 29 L 9.34375 29 L 11.34375 27 L 20.65625 27 L 22.65625 29 L 25 29 L 23 27 C 24.644531 27 26 25.644531 26 24 L 26 12 C 26 8.699219 23.300781 6 20 6 L 17 6 L 17 5 Z M 12 8 L 20 8 C 22.21875 8 24 9.78125 24 12 L 24 16 L 8 16 L 8 12 C 8 9.78125 9.78125 8 12 8 Z M 8 18 L 24 18 L 24 24 C 24 24.566406 23.566406 25 23 25 L 9 25 C 8.433594 25 8 24.566406 8 24 Z M 11.5 20 C 10.671875 20 10 20.671875 10 21.5 C 10 22.328125 10.671875 23 11.5 23 C 12.328125 23 13 22.328125 13 21.5 C 13 20.671875 12.328125 20 11.5 20 Z M 20.5 20 C 19.671875 20 19 20.671875 19 21.5 C 19 22.328125 19.671875 23 20.5 23 C 21.328125 23 22 22.328125 22 21.5 C 22 20.671875 21.328125 20 20.5 20 Z"
      />
    </svg>
  );
}
With react-icons
import { LiaTramSolid } from "react-icons/lia";

export function Example() {
  return <LiaTramSolid className="size-5" />;
}
tram-solid.svg
<svg
  viewBox="0 0 32 32"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M 10.75 2 L 8.5625 3.09375 L 9.4375 4.90625 L 11.25 4 L 20.75 4 L 22.5625 4.90625 L 23.4375 3.09375 L 21.25 2 Z M 15 5 L 15 6 L 12 6 C 8.699219 6 6 8.699219 6 12 L 6 24 C 6 25.644531 7.355469 27 9 27 L 7 29 L 9.34375 29 L 11.34375 27 L 20.65625 27 L 22.65625 29 L 25 29 L 23 27 C 24.644531 27 26 25.644531 26 24 L 26 12 C 26 8.699219 23.300781 6 20 6 L 17 6 L 17 5 Z M 12 8 L 20 8 C 22.21875 8 24 9.78125 24 12 L 24 16 L 8 16 L 8 12 C 8 9.78125 9.78125 8 12 8 Z M 8 18 L 24 18 L 24 24 C 24 24.566406 23.566406 25 23 25 L 9 25 C 8.433594 25 8 24.566406 8 24 Z M 11.5 20 C 10.671875 20 10 20.671875 10 21.5 C 10 22.328125 10.671875 23 11.5 23 C 12.328125 23 13 22.328125 13 21.5 C 13 20.671875 12.328125 20 11.5 20 Z M 20.5 20 C 19.671875 20 19 20.671875 19 21.5 C 19 22.328125 19.671875 23 20.5 23 C 21.328125 23 22 22.328125 22 21.5 C 22 20.671875 21.328125 20 20.5 20 Z"
  />
</svg>
Attribution
"Tram Solid" icon from Icons8 Line Awesome (https://icons8.com/line-awesome), licensed under MIT license.

Related icons: