code

Octicons icon · code

License
MIT
Author
GitHub
Grid
14×16

Check the license before commercial use. Some sets ask you to credit the author.

Use this icon in your code

Pick how you want to install it. The snippets follow the color, size and stroke you set in the panel.

Smallest install: just this one library.

terminal
npm install @rdicons/react-octicon
your code
import { Code } from '@rdicons/react-octicon'

export function Example() {
  return <Code />
}

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="21" height="24" viewBox="0 0 14 16"><path fill-rule="evenodd" d="M9.5 3L8 4.5L11.5 8L8 11.5L9.5 13L14 8L9.5 3zm-5 0L0 8l4.5 5L6 11.5L2.5 8L6 4.5L4.5 3z" fill="#000000"/></svg>

More from Octicons