nuxt-ui
Skill0 starsChanged 28 days agoMITView on GitHub
Composants UI et design system avec Nuxt UI. Tables, formulaires, modals, notifications, dark mode, responsive. Utiliser quand on crée des interfaces avec Nuxt UI, on configure le design system, ou on implémente des composants d'interface.
- Installs packages
- Sends data out
5 other projects use a version of this.
Adopted by
Most recently taken up by
- onmax/nuxt-skillstheir own version, first seen Nov 1, 2026
- chawkitariq/fidelytheir own version, first seen Oct 13, 2026
- nuxt/uitheir own version, first seen Oct 8, 2026
- zeeq-ai/zeeq-apptheir own version, first seen Jul 16, 2026
- Patrity/nuxt-skillstheir own version, first seen Feb 18, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- nuxt/ui★ 7.1ksame name
- onmax/nuxt-skills★ 724same name
- Patrity/nuxt-skills★ 14same name
- zeeq-ai/zeeq-app★ 13same name
- chawkitariq/fidely★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/laravel-core/templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- dokploy-deploySkill
- laravel-adminSkill
- laravel-aiSkill
- laravel-apiSkill
- laravel-coreSkill
- laravel-deploySkill
- laravel-inertiaSkill
- laravel-livewireSkill
- laravel-mcpSkill
- laravel-microserviceSkill
- laravel-multi-tenancySkill
- laravel-nuxtSkill
- laravel-performanceSkill
- laravel-queueSkill
- laravel-securitySkill
- laravel-testingSkill
- laravel-websocketSkill
- nuxt-coreSkill
- pestSkill
- project-definerSkill
- scribeSkill
- searxng-mcpSkill
- sentrySkill
- skill-creatorSkill
- skill-health-checkerSkill
- spatie-query-builderSkill
The file
Files
Nuxt UI — Composants et Design System
Tu es un expert Nuxt UI. Ton rôle est de guider la création d'interfaces élégantes et accessibles avec Nuxt UI.
Quand utiliser
- Créer des pages avec Nuxt UI
- Configurer le design system
- Implémenter des tables, formulaires, modals
- Ajouter le dark mode
Installation
npx nuxi module add ui
# ou
npm install @nuxt/uiConfiguration
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxt/ui'],
future: { compatibilityVersion: 4 },
})Table avec données API
<script setup lang="ts">
import type { TableColumn } from '@nuxt/ui'
const { data: posts, refresh } = await useFetch('/api/posts')
const columns: TableColumn[] = [
{ key: 'id', label: '#' },
{ key: 'title', label: 'Titre', sortable: true },
{ key: 'user.name', label: 'Auteur' },
{ key: 'is_published', label: 'Publié' },
{ key: 'created_at', label: 'Créé le', sortable: true },
{ key: 'actions', label: 'Actions' },
]
const selected = ref([])
const deletePost = async (id: number) => {
await $fetch(`/api/posts/${id}`, { method: 'DELETE' })
refresh()
}
</script>
<template>
<UTable
:columns="columns"
:data="posts?.data"
v-model="selected"
>
<template #is_published-data="{ row }">
<UBadge
:color="row.is_published ? 'success' : 'warning'"
:label="row.is_published ? 'Publié' : 'Brouillon'"
/>
</template>
<template #actions-data="{ row }">
<UButton
icon="i-heroicons-pencil"
size="xs"
color="primary"
variant="ghost"
:to="`/posts/${row.id}/edit`"
/>
<UButton
icon="i-heroicons-trash"
size="xs"
color="error"
variant="ghost"
@click="deletePost(row.id)"
/>
</template>
</UTable>
</template>Formulaire
<script setup lang="ts">
const form = reactive({
title: '',
content: '',
is_published: false,
})
const validate = (state: any) => {
const errors = []
if (!state.title) errors.push({ path: 'title', message: 'Titre requis' })
if (!state.content) errors.push({ path: 'content', message: 'Contenu requis' })
return errors
}
const submit = async () => {
await $fetch('/api/posts', {
method: 'POST',
body: form,
})
navigateTo('/posts')
}
</script>
<template>
<UForm :schema="validate" :state="form" @submit="submit">
<UFormField label="Titre" name="title">
<UInput v-model="form.title" placeholder="Titre du post" />
</UFormField>
<UFormField label="Contenu" name="content">
<UTextarea v-model="form.content" :rows="10" />
</UFormField>
<UFormField label="Publié" name="is_published">
<UToggle v-model="form.is_published" />
</UFormField>
<UButton type="submit" label="Enregistrer" />
</UForm>
</template>Modal de confirmation
<script setup lang="ts">
const modal = useModal()
const confirmDelete = (id: number) => {
modal.open({
title: 'Supprimer le post',
description: 'Êtes-vous sûr de vouloir supprimer ce post ?',
confirmLabel: 'Supprimer',
confirmColor: 'error',
cancelLabel: 'Annuler',
onConfirm: async () => {
await $fetch(`/api/posts/${id}`, { method: 'DELETE' })
refresh()
},
})
}
</script>Notifications
<script setup lang="ts">
const toast = useToast()
const submit = async () => {
try {
await $fetch('/api/posts', { method: 'POST', body: form })
toast.add({
title: 'Succès',
description: 'Post créé avec succès',
color: 'success',
})
} catch (e) {
toast.add({
title: 'Erreur',
description: 'Impossible de créer le post',
color: 'error',
})
}
}
</script>Dark mode
<script setup lang="ts">
const colorMode = useColorMode()
const toggle = () => {
colorMode.preference = colorMode.value === 'dark' ? 'light' : 'dark'
}
</script>
<template>
<UButton
:icon="colorMode.value === 'dark' ? 'i-heroicons-sun' : 'i-heroicons-moon'"
@click="toggle"
color="gray"
variant="ghost"
/>
</template>Command palette
<script setup lang="ts">
const commandPalette = ref()
const commands = [
{
id: 'posts',
label: 'Posts',
icon: 'i-heroicons-document-text',
to: '/posts',
},
{
id: 'users',
label: 'Utilisateurs',
icon: 'i-heroicons-users',
to: '/users',
},
]
</script>
<template>
<UCommandPalette
v-model:open="commandPalette"
:groups="[{ id: 'nav', items: commands }]"
/>
</template>Bonnes pratiques
- Nuxt UI v3 — Dernière version pour Nuxt 4
- Auto-imports — Composants U* auto-importés
- Dark mode —
useColorMode()natif - Responsive —
sm:,md:,lg:breakpoints - TypeScript — Types pour les columns, forms, etc.
- Loading states —
pendingavec UTable/UButton - Error handling — UToast pour les erreurs
- Accessibility — Composants ARIA-ready
- Customization —
app.config.tspour le theme - Icones —
i-heroicons-*auto-importées
Validation
- Nuxt UI installé et configuré
- Dark mode fonctionnel
- Tables avec colonnes typées
- Formulaires avec validation
- Modals pour les actions destructrices
- Notifications pour le feedback
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

