Responsive feature list for Nuxt. Heading, intro, and items with icons, labels, descriptions.
Prop | Type | Default / Req. | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title | String | required | The heading text displayed above the description. | ||||||||||||||||||||
description | String | required | An introductory paragraph that appears under the title. | ||||||||||||||||||||
items | Array | required | A list of audience items to render in a vertical list. Each item must include: | ||||||||||||||||||||
|
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,
},
description: {
type: String,
required: true,
},
items: {
type: Array,
required: true,
validate: (arr) =>
Array.isArray(arr) &&
arr.every((i) => i.icon && i.iconColor && i.label && i.description),
},
})
</script>
<template>
<section class="flex flex-col items-center justify-start gap-4 font-iq-paragraph leading-iq-paragraph tracking-iq-paragraph text-iq-paragraph-color">
<h3
class="text-center mb-4 drop-shadow font-iq-header text-3xl md:text-5xl leading-iq-header tracking-iq-header text-iq-header-color"
>
{{ title }}
</h3>
<p class="text-justify md:text-center text-lg max-w-2xl mx-auto mb-8">
{{ description }}
</p>
<ul class="max-w-2xl mx-auto space-y-4">
<li
v-for="item in items"
:key="item.label"
class="flex items-center"
>
<Icon
:name="item.icon === 'check' ? 'heroicons-outline:check' : 'heroicons-outline:information-circle'"
class="w-5 h-5 flex-shrink-0 mr-3 text-xl"
:class="item.iconColor"
/>
<div class="flex-1">
<strong class="font-iq-header text-iq-header-color">
{{ item.label }}
</strong>
<span> – {{ item.description }}</span>
</div>
</li>
</ul>
</section>
</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.
<!-- pages/who-is-it-for.vue -->
<script setup>
const title = 'Reports & Insights'
const description = `
Create shareable reports with filters and segments to highlight trends, outliers, and progress.
`.trim()
const items = [
{
icon: 'check',
iconColor: 'text-emerald-400',
label: 'Nuxt Developers',
description: 'Play with theme tokens, live-preview components and copy Vue files straight into your project.'
},
{
icon: 'info',
iconColor: 'text-yellow-400',
label: 'Designers & Marketers (Soon)',
description: 'You’ll be able to define tokens and preview layouts without writing code—coming in our next beta.'
},
{
icon: 'info',
iconColor: 'text-yellow-400',
label: 'Vue & Plain Tailwind Users (Future)',
description: 'A standalone Vue package and a pure-Tailwind mode are on our roadmap.'
},
{
icon: 'info',
iconColor: 'text-yellow-400',
label: 'Early Adopters',
description: 'If you love experimenting with UI systems and can tolerate alpha glitches, your feedback will shape the final product.'
}
]
</script>
<template>
<div class="iq-card-glass max-w-4xl mx-auto px-6 py-16">
<CardsChecks
:title="title"
:description="description"
:items="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.