Hover the icon or press Play. Suggested motion: drive. Pick another to preview it and update the animated code:
Train icon
A free train icon from Tabler Icons, 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
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/train.jsonimport * as React from "react";
/**
* Train from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/train. Sized in em, colored by currentColor.
*/
export function TbTrainIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
strokeWidth="2"
viewBox="0 0 24 24"
strokeLinecap="round"
strokeLinejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M21 13c0 -3.87 -3.37 -7 -10 -7h-8" />
<path d="M3 15h16a2 2 0 0 0 2 -2" />
<path d="M3 6v5h17.5" />
<path d="M3 11v4" />
<path d="M8 11v-5" />
<path d="M13 11v-4.5" />
<path d="M3 19h18" />
</svg>
);
}import { TbTrain } from "react-icons/tb";
export function Example() {
return <TbTrain className="size-5" />;
}<svg
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M21 13c0 -3.87 -3.37 -7 -10 -7h-8" />
<path d="M3 15h16a2 2 0 0 0 2 -2" />
<path d="M3 6v5h17.5" />
<path d="M3 11v4" />
<path d="M8 11v-5" />
<path d="M13 11v-4.5" />
<path d="M3 19h18" />
</svg>"Train" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.