<iconify-icon icon="ci:house-01"></iconify-icon>Add the Iconify script to your HTML head section
import { Icon } from '@iconify/react';
<Icon icon="ci:house-01" />Install: npm install @iconify/react
<template>
<Icon icon="ci:house-01" />
</template>
<script setup>
import { Icon } from '@iconify/vue';
</script>Install: npm install @iconify/vue
<script>
import Icon from '@iconify/svelte';
</script>
<Icon icon="ci:house-01" />Install: npm install @iconify/svelte
<iconify-icon icon="ci:house-01"></iconify-icon>Add the Iconify script to your index.html
/* Add to your CSS */
.icon-house-01::before {
content: '';
background-image: url('data:image/svg+xml,%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M20%2017v-5.548c0-.534%200-.801-.065-1.05a2%202%200%200%200-.28-.617c-.145-.213-.345-.39-.748-.741l-4.8-4.2c-.746-.653-1.12-.98-1.54-1.104c-.37-.11-.764-.11-1.135%200c-.42.124-.792.45-1.538%201.102L5.093%209.044c-.402.352-.603.528-.747.74a2%202%200%200%200-.281.618C4%2010.65%204%2010.918%204%2011.452V17c0%20.932%200%201.398.152%201.765a2%202%200%200%200%201.082%201.083C5.602%2020%206.068%2020%207%2020s1.398%200%201.766-.152a2%202%200%200%200%201.082-1.083C10%2018.398%2010%2017.932%2010%2017v-1a2%202%200%201%201%204%200v1c0%20.932%200%201.398.152%201.765a2%202%200%200%200%201.082%201.083C15.602%2020%2016.068%2020%2017%2020s1.398%200%201.766-.152a2%202%200%200%200%201.082-1.083C20%2018.398%2020%2017.932%2020%2017%22%2F%3E');
}Use as CSS background or pseudo-element
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 17v-5.548c0-.534 0-.801-.065-1.05a2 2 0 0 0-.28-.617c-.145-.213-.345-.39-.748-.741l-4.8-4.2c-.746-.653-1.12-.98-1.54-1.104c-.37-.11-.764-.11-1.135 0c-.42.124-.792.45-1.538 1.102L5.093 9.044c-.402.352-.603.528-.747.74a2 2 0 0 0-.281.618C4 10.65 4 10.918 4 11.452V17c0 .932 0 1.398.152 1.765a2 2 0 0 0 1.082 1.083C5.602 20 6.068 20 7 20s1.398 0 1.766-.152a2 2 0 0 0 1.082-1.083C10 18.398 10 17.932 10 17v-1a2 2 0 1 1 4 0v1c0 .932 0 1.398.152 1.765a2 2 0 0 0 1.082 1.083C15.602 20 16.068 20 17 20s1.398 0 1.766-.152a2 2 0 0 0 1.082-1.083C20 18.398 20 17.932 20 17"/>Raw SVG code for direct use