<div class="Vlt-callout Vlt-callout--warning">
	<i></i>
	<div class="Vlt-callout__content">
		See <b>notes</b> for more options and <b>IE10 compatibility workarounds</b>
	</div>
</div>

Inline SVGs are the way to go, as they allow you to use Volta's color classes to color the icon. 

## Classes and sizes
The class `.Vlt-icon` simply gives the SVG a size of 24x24px (which is the standard for our icons, you'll rarely see them in a different size) and adds a `display: inline-block` and `vertical-align: middle` for convenience.

You can use the following classes for other common sizes:

```html
24px <svg class="Vlt-icon"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
16px <svg class="Vlt-icon Vlt-icon--smaller"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
20px <svg class="Vlt-icon Vlt-icon--small"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
32px <svg class="Vlt-icon Vlt-icon--large"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
40px <svg class="Vlt-icon Vlt-icon--larger"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
48px <svg class="Vlt-icon Vlt-icon--largest"><use xlink:href="[path-to-icons-file]#[icon-name]"></svg>
```

## IE support
As IE 9 to 11 does not support <code>&lt;use&gt;</code>, you have two options. Both allow you to keep the functionality of inline SVGs like changing colour etc.

The quick one is to add `svgxuse.min.js` (part of our downloadable pack) to your page, which will implement a workaround just in those browsers that need it:

```html
<!-- Include svgxuse to support IE 9 to 11...  -->
<script src="../volta/js/svgxuse.min.js"></script>```

OR if you're using webpack or similar, or you can't use vanilla JS, just inject `volta-icons.svg` at the top of your `body` and hide it, then you can reference the icons just by their ID

```html
<svg class="hidden"><!-- Injected SVG sprite --></svg>
<svg class="Vlt-icon"><use xlink:href="#<!-- Icon name -->"></svg>
```

## Reference table

|Class |	Behaviour|
|---|---|
|<code>.Vlt-icon</code>	| Gives an icon 24x24px size, `display: inline-block` and `vertical-align: middle`  |
|<code>.Vlt-icon--smaller</code>	| Modifier that makes it 16x16px. Not suitable for all icons (some are too detailed to look nice in this size)  |
|<code>.Vlt-icon--small</code>	| Modifier that makes it 20x20px. Not suitable for all icons (some are too detailed to look nice in this size)  |
|<code>.Vlt-icon--large</code>	| Modifier that makes it 32x32px  |
|<code>.Vlt-icon--larger</code>	| Modifier that makes it 40x40px  |
|<code>.Vlt-icon--largest</code>	| Modifier that makes it 48x48px  |