Titled checklist that renders items with optional yes, no, and maybe rows using character icons. Styled with Tailwind and design tokens; no external components.
Prop | Type | Default / Req. | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title | String | required | The heading displayed at the top of the decision list. | ||||||||||||||||||||
items | Array | required | A list of decision entries, each including: | ||||||||||||||||||||
| |||||||||||||||||||||||
icons | Object | { "yes": "✔", "no": "✊", "maybe": "❓" } | An object containing icon strings for each type of response. |
You may use these UI components in your own personal or commercial projects. You may not resell, redistribute, sublicense, or package them as standalone assets or template/library packs.
Full terms: End-User License Agreement
Below you can expand the main implementation file and any supporting components. Use the “Copy” button to grab a snippet straight to your clipboard.
These are the raw components that are required to run this example. Copy-paste them into your project. Most likely you will not change anything in these files, but you can if you want to. These are the components that are used in the main implementation file.
<script setup>
const props = defineProps({
title: {
type: String,
required: true
},
items: {
type: Array,
required: true,
validator: (value) => {
return value.every(
(item) =>
item.label &&
(item.yes || item.no || item.maybe) &&
(typeof item.label === 'string') &&
(typeof item.yes === 'string' || typeof item.no === 'string' || typeof item.maybe === 'string')
);
}
},
icons: {
type: Object,
default: () => ({
yes: '✔',
no: '✊',
maybe: '❓'
})
}
});
</script>
<template>
<div class="font-iq-paragraph leading-iq-paragraph tracking-iq-paragraph text-iq-paragraph-color">
<h4
class="text-3xl font-semibold mb-4 font-iq-header leading-iq-header tracking-iq-header text-iq-header-color"
>
{{ title }}
</h4>
<ul class="space-y-6">
<li v-for="(item, idx) in items" :key="idx" class="space-y-1">
<p class="font-semibold text-lg">{{ item.label }}</p>
<div v-if="item.yes" class="flex items-start gap-2">
<span class="w-8 text-emerald-500">{{ icons.yes }}</span>
<p class="text-iq-paragraph-color/80">{{ item.yes }}</p>
</div>
<div v-if="item.no" class="flex items-start gap-2">
<span class="w-8">{{ icons.no }}</span>
<p class="text-iq-paragraph-color/80">{{ item.no }}</p>
</div>
<div v-if="item.maybe" class="flex items-start gap-2">
<span class="w-8">{{ icons.maybe }}</span>
<p class="text-iq-paragraph-color/80">{{ item.maybe }}</p>
</div>
</li>
</ul>
</div>
</template>
This is the main Vue file that uses the component. Copy-paste this into your project. In this code feel free to change anything you like, such as the component name, props, or class. This is the place where you control the main component.
<script setup>
const section = reactive({
title: 'Billing & Plans',
items: [
{
label: 'Target audience research & messaging',
yes: 'provides polished hero/contact templates for quick launch.',
no: 'You decide your brand voice, messaging, and customer personas.'
},
{
label: 'Brand identity & value proposition',
yes: 'ready-made sections that communicate professionalism instantly.',
no: 'You craft the unique story and visual identity behind your brand.'
},
{
label: 'SEO setup & distribution',
yes: 'clean semantic HTML and seamless Nuxt SEO integration.',
no: 'You own your keyword strategy, backlinks, and content marketing.'
}
]
})
</script>
<template>
<div class="iq-card-glass p-8 max-w-3xl mx-auto">
<CardsCompare :title="section.title" :items="section.items" />
</div>
</template>
Decide whether you want a global design-system or a one-off inline snippet.
Complete @theme
block – import once and share across every component.
Copy the code below into main.css
file. It is most likely in assets/css/main.css
directory.
:style
binding – paste straight onto any of ours components.
Copy the code below and paste it into the :style
binding of the component.
I wish I could automate every little thing—but for now you’ll need to handle these final steps by hand. Apologies for the extra work!
iq-card-*
style Now that you’ve picked a card preset, copy its CSS into your @layer components
block in main.css
. This ensures every `iq-card
` wrapper will look just right.
iq-cta
iq-cta is the main call to action button class. It’s used in many places across the components. But for now it is only a single class that you can customize. You can copy the code below and paste it into your @layer components
block in main.css
. In future you will be able to fully customize it from our UI and choose from many presets.
I didn't have time to figure out consistency. Although there are no actions required, be mindful that the forms might not be entirely consistent with the design system. A quick once-over will keep everything looking sharp.