Rails icon
cib:rails
The Rails icon (cib:rails) is a free SVG icon from the CoreUI Brands set by creativeLabs Łukasz Holeczek. It is drawn on a 32 × 32 grid. CoreUI Brands icons are released under the CC0 1.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- CoreUI Brands
- Author
- creativeLabs Łukasz Holeczek
- License
- CC0-1.0
- Size
- 32 × 32
- Tags
- rail
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M27.849 21.083v1.547h2.641c.542 0 1.469-.417 1.5-1.594v-.599c0-1-.771-1.594-1.5-1.594h-1.318v-.719h2.609v-1.563h-2.505c-.646 0-1.51.568-1.51 1.62v.542c0 1.052.854 1.594 1.51 1.594c1.818.01-.438 0 1.245 0v.755zm-14.161-.38s1.417-.13 1.417-2.063c0-1.938-1.714-2.12-1.714-2.12h-3.089v6.109h1.552v-1.474l1.344 1.474h2.292zm-.599-1.25h-1.234v-1.396H13.1s.349.135.349.693s-.359.703-.359.703zm5.843-2.89h-1.573c-1.125 0-1.505 1.083-1.505 1.594v4.474h1.578v-1.068h1.479v1.068h1.526v-4.474c0-1.302-1.115-1.594-1.505-1.594m-.021 3.265h-1.49v-1.479s0-.339.495-.339h.542c.432 0 .443.339.443.339v1.479zm2.245-3.265h1.641v6.068h-1.641zm3.943 4.5v-4.5h-1.63v6.068h3.839v-1.568zM.568 22.63h6.38s-1.219-5.901 2.823-8.297c.88-.453 3.682-2.151 8.276 1.448c.141-.125.281-.229.281-.229s-4.203-4.448-8.88-3.953c-2.354.224-5.245 2.495-6.943 5.495S.567 22.63.567 22.63zm0 0h6.38s-1.219-5.901 2.823-8.297c.88-.453 3.682-2.151 8.276 1.448c.141-.125.281-.229.281-.229s-4.203-4.448-8.88-3.953c-2.354.224-5.245 2.495-6.943 5.495S.567 22.63.567 22.63zm0 0h6.38s-1.219-5.901 2.823-8.297c.88-.453 3.682-2.151 8.276 1.448c.141-.125.281-.229.281-.229s-4.203-4.448-8.88-3.953c-2.359.224-5.255 2.495-6.953 5.495c-1.693 3-1.927 5.536-1.927 5.536m13.297-10.547l.036-.578c-.073-.042-.276-.146-.786-.297l-.031.563q.399.14.781.313zm-.766 1.813l-.031.542c.266.01.531.042.797.104l.036-.531a6 6 0 0 0-.802-.115m-2.99-2.672h.078l-.161-.521c-.25 0-.505.016-.776.047l.156.51q.351-.037.703-.036m.386 3.156l.188.589a4.5 4.5 0 0 1 .703-.297l-.177-.568c-.276.083-.51.177-.714.276m-3.667-2.255l-.365-.594c-.203.115-.411.234-.63.37l.375.599a8 8 0 0 1 .62-.375m1.656 3.854l.391.62c.135-.214.297-.411.474-.609l-.365-.583a5 5 0 0 0-.5.573zM7.313 18.74l.656.552q.048-.507.167-1.005l-.578-.49c-.109.318-.177.635-.245.943m-3.537-4.068l-.578-.531c-.208.214-.411.427-.594.641l.62.568c.172-.234.354-.464.552-.677zM1.333 18.5l-.927-.359c-.156.37-.323.797-.406 1.031l.927.359c.109-.292.276-.714.406-1.031m5.86 2.417c.016.453.057.823.094 1.083l.974.365a13 13 0 0 1-.198-1.115z"/></svg>How to use the Rails icon
React
import { Icon } from "@iconify/react";
<Icon icon="cib:rails" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="cib:rails" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="cib:rails" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[cib--rails]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/cib -->
<div class="i-cib:rails"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="cib:rails"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/cib/rails.svg" alt="Rails icon" width="24" height="24">Rails icon in other icon sets
Rails icon FAQ
Is the Rails icon free for commercial use?
Yes. CoreUI Brands icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.
How do I use the Rails icon in React?
Install @iconify/react and render <Icon icon="cib:rails" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rails icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/cib/rails.svg" alt="Rails icon">, or paste the SVG code inline to style it with CSS.