Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
<p style="max-width: 500px">
Below is an SVG image containing the chosen octicon surrounded by a green circle. The octicon has been emitted
onto the page as an SVG <symbol> element and included into the SVG you see below with the <use> element.
See the <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol" target="_blank">MDN docs</a> for
more information.
</p>
<svg xmlns="http://www.w3.org/2000/svg" hidden aria-hidden="true">
<symbol id="octicon_container_24" viewBox="0 0 24 24" width="24" height="24"><path d="M13.152.682a2.251 2.251 0 0 1 2.269 0l.007.004 6.957 4.276a2.277 2.277 0 0 1 1.126 1.964v7.516c0 .81-.432 1.56-1.133 1.968l-.002.001-11.964 7.037-.004.003c-.706.41-1.578.41-2.284 0l-.026-.015-6.503-4.502a2.268 2.268 0 0 1-1.096-1.943V9.438c0-.392.1-.77.284-1.1l.003-.006.014-.026c.197-.342.48-.627.82-.827h.002L13.152.681Zm.757 1.295h-.001L2.648 8.616l6.248 4.247a.775.775 0 0 0 .758-.01h.001l11.633-6.804-6.629-4.074a.75.75 0 0 0-.75.003ZM8.517 14.33a2.286 2.286 0 0 1-.393-.18l-.023-.014-6.102-4.147v7.003c0 .275.145.528.379.664l.025.014 6.114 4.232V14.33ZM18 9.709l-3.25 1.9v7.548L18 17.245Zm-7.59 4.438-.002.002a2.296 2.296 0 0 1-.391.18v7.612l3.233-1.902v-7.552Zm9.09-5.316v7.532l2.124-1.25a.776.776 0 0 0 .387-.671V7.363Z"></path></symbol>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="40" width="40" aria-label="Circled container icon" tabindex="0">
<circle cx="20" cy="20" r="18" stroke="green" stroke-width="3px" fill="white" />
<use href="#octicon_container_24" x="8" y="8" />
</svg>
1
2
3
4
5
6
7
8
9
10
11
12
13
<p style="max-width: 500px">
Below is an SVG image containing the chosen octicon surrounded by a green circle. The octicon has been emitted
onto the page as an SVG <symbol> element and included into the SVG you see below with the <use> element.
See the <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol" target="_blank">MDN docs</a> for
more information.
</p>
<%= render(Primer::Alpha::OcticonSymbols.new(icons: [{ symbol: octicon, size: :medium }])) %>
<svg xmlns="http://www.w3.org/2000/svg" height="40" width="40" aria-label="Circled <%= octicon %> icon" tabindex="0">
<circle cx="20" cy="20" r="18" stroke="green" stroke-width="3px" fill="white" />
<use href="#octicon_<%= octicon %>_24" x="8" y="8" />
</svg>
Param Description Input

No assets to display.