2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>PrimeIcons use the <i>pi pi-{icon}</i> syntax such as <i>pi pi-check</i>. A standalone icon can be displayed using an element such as <i>i</i> or <i>span</i></p>
|
|
|
|
</DocSectionText>
|
|
|
|
<div class="card flex justify-content-center gap-3">
|
|
|
|
<i class="pi pi-check"></i>
|
|
|
|
<i class="pi pi-times"></i>
|
|
|
|
<span class="pi pi-search"></span>
|
|
|
|
<span class="pi pi-user"></span>
|
|
|
|
</div>
|
2023-02-28 17:40:48 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
basic: `
|
|
|
|
<i class="pi pi-check"></i>
|
|
|
|
<i class="pi pi-times"></i>
|
|
|
|
<span class="pi pi-search"></span>
|
|
|
|
<span class="pi pi-user"></span>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|