name: use-quail-ui-in-frontend-project description: Use this skill when integrating Quail UI into a Vue 3 frontend, migrating an existing screen to Quail UI components, or needing the library's themes, tokens, icons, demo-backed usage patterns, and agent-facing onboarding docs.
Quail UI Frontend Integration
Read docs/ai-agent-guide.md first. It is the primary onboarding document for AI agents and already contains:
- installation patterns
- plugin vs named-import usage
- theme helpers and token families
- typography, utility classes, and common CSS patterns
- demo coverage under
src/app/home/* - the exported component catalog
- the icon catalog
- current API gotchas where older docs are stale
Workflow
- Open
docs/ai-agent-guide.md. - Default to
app.use(QuailUI)plusimport "quail-ui/style.css"unless the task clearly needs selective registration. - Prefer exported Quail components, icons, theme helpers, and utility classes over custom lookalikes.
- Copy composition patterns from
src/app/home/. - If a prop or event is unclear, inspect the source in
src/components/common/before writing code.
Files To Read On Demand
docs/ai-agent-guide.mdsrc/index.tssrc/components/common/index.tssrc/components/icons/index.tssrc/theme/index.tssrc/styles/base.scsssrc/styles/layout/helper.scsssrc/styles/component.scsssrc/styles/theme/morph.scsssrc/app/home.vuesrc/app/home/
Rules
- Prefer the real component APIs from source over older README snippets.
- Remember the current gotchas from the guide:
- no
QFormItem - no
QInputWithButton; useQTextFieldWithButton QInputusesinputTypeQTextareausesmaxQPaginationusestotalPage,hasPrev,hasNext- selectors emit
changeinstead ofv-model
- no