// Developer Tools & Infrastructure•2023•VerifiedOpen Source

Pasfica

Nuxt 3 & Tailwind CSS Admin/Front UI Boilerplate & Component Kit

// FIGURE 01SYSTEM INTERFACE SPECIMEN
Pasfica system interface
Pasfica // Nuxt 3 & Tailwind CSS Admin/Front UI Boilerplate & Component Kit

Project at a Glance

  • Problem: Starting every new Nuxt 3 admin dashboard or storefront project from scratch repeatedly burns time rebuilding the same form inputs, modals, paginated tables, auth stores, and API repository layers.
  • Deliverables: A reusable Nuxt 3 + Tailwind CSS starter kit (2023-2025, maintained up to Nuxt 3.16) containing dual Admin and Front layouts, 28+ custom base UI components, a centralized $apiFetcher Repository Pattern plugin, Pinia persisted auth state, and a rule-based form validator.
  • Core Stack: Nuxt 3, Vue 3, Tailwind CSS, Pinia (@pinia-plugin-persistedstate/nuxt), JavaScript, FontAwesome 6, V-Calendar, Vue Multiselect, Vue3-Toastify, VueDraggable, Nuxt-Swiper.
  • Practical Value: Built solo as an open-source starter template and reused across real admin/dashboard builds to accelerate project bootstrapping with consistent UI and API conventions.

Project Overview

Pasfica is a personal open-source Nuxt 3 and Tailwind CSS boilerplate originally created in August 2023 and continuously updated through late 2025. Rather than relying on a heavy external UI library, Pasfica provides a transparent, customizable set of custom Vue 3 base components alongside a clean frontend architecture for real-world CRUD dashboards and public storefronts.

A live interactive showcase of the layouts and components is hosted at pasfica.vercel.app.

Interface Specimens

Pasfica Admin Layout featuring collapsible grouped sidebar navigation, breadcrumb navbar, and component showcase menu

Admin Dashboard Layout (/admin): Collapsible grouped sidebar (Input, Card, Modal, Button, Badge, Other Components, Layouts, Tables), breadcrumb navigation header, and user profile menu.

Pasfica Front Layout template featuring utility bar, search header, Swiper hero carousel, and product cards

Front Storefront / Portal Layout (/front/layout-1): Top utility bar, global search header, Login/Register actions, full-width nuxt-swiper hero carousel, and horizontal card listing.

Pasfica Split-Column Authentication Page template with username, password visibility toggle, and Register/Login actions

Authentication Template (/front/login-1): Split-column login card with password visibility toggle, forgot-password link, and dual Register/Login actions.

Starter Architecture & Core Building Blocks

+-------------------------------------------------------------+
|                  LAYOUTS & PAGE TEMPLATES                   |
|   layouts/admin.vue   |   layouts/front.vue   |   Login 1/2 |
+------------------------------+------------------------------+
                               |
         +---------------------+---------------------+
         |                                           |
         v                                           v
+-----------------------------+     +-----------------------------+
|   CUSTOM BASE COMPONENTS    |     |    DATA & STATE LAYER       |
|  - 13 Form Input Controls   |     |  - $apiFetcher Nuxt Plugin  |
|  - Tables & Pagination      |     |  - Standard & Custom Repos  |
|  - Modals (Default/Confirm/ |     |  - useApiFetch + JWT/Refresh|
|    Side) & Toast Alerts     |     |    Token Scaffolding        |
|  - Kanban (VueDraggable)    |     |  - Pinia Persisted Auth     |
|  - Calendar & Swiper        |     |  - Rule-Based useValidator  |
+-----------------------------+     +-----------------------------+

1. 28+ Custom Base UI Components (components/base/)

  • Form Input Suite (13 components): Default, Textarea, Number, Currency, Phone, Date, DateRange, Checkbox, Radio, Select, Select2 (vue-multiselect), File, and Image.
  • Data & Navigation: Table/Default, Table/Pagination, Breadcrumb, MenuTab, Card, Badge, Button, and Loading.
  • Modals & Interactive Patterns: Modal/Default, Modal/Confirm, Modal/Side, vue3-toastify notifications, v-calendar date pickers, nuxt-swiper sliders, and a drag-and-drop Kanban board (pages/admin/kanban.vue via vuedraggable).
  • API-Backed CRUD Reference: Includes working CRUD page examples (pages/admin/tables/with-api/) demonstrating list, create, and edit flows against repository endpoints.

2. Centralized $apiFetcher Repository Pattern (plugins/ & repositories/)

  • Exposes domain repositories (auth, category, customProduct) through a Nuxt plugin ($apiFetcher) so pages never scatter raw $fetch URLs across components.
  • Wraps Nuxt's useFetch in repositories/repository.js with runtimeConfig.public.baseAPI, custom-URL bypass mode, and ready-to-enable Bearer token + refresh-token expiration checks.

3. Persisted Auth State & Custom Validator (stores/ & utils/)

  • Pinia Auth Store (stores/auth.js): Manages token, refreshToken, and expired cookies alongside persisted userData via @pinia-plugin-persistedstate/nuxt.
  • Rule-Based Validator (utils/useValidator.js): Lightweight Laravel-style string rule evaluator supporting required, min, max, numeric, and email checks without heavy third-party form libraries.