--- name: creating-vue-components description: Guides creating Vue 3 components with glass-morphism UI for the anime extension. Use when building UI components, styling with Tailwind, or implementing the design system. --- # Creating Vue Components Vue 3 component patterns with glass-morphism design for AnimeList. ## Component Template ```vue ``` ## Design System ### Background Gradients ```vue
``` ### Glass Cards ```vue
``` ### Typography ```vue

Page Title

Section

Card Title

Description

Subtitle

12

87

``` ### Buttons ```vue ``` ### Navigation ```vue 📺 Watch Lists ``` ### Icons (Emoji System) ```vue 🏠 📺 ⚙️ ▶️ 📝 ``` ### Brand Icon ```vue
Darkness from KonoSuba
``` ## Layout Patterns ### Sidebar ```vue ``` ### Header ```vue
``` ### Grids ```vue
``` ## Color Palette | Purpose | Classes | |---------|---------| | Background | `from-purple-600 via-purple-700 to-pink-600` | | Glass | `bg-white/10`, `bg-white/20` | | Borders | `border-white/20`, `border-white/30` | | Text | `text-white`, `text-white/90`, `text-white/80` | | Purple accent | `text-purple-200`, `bg-purple-300` | | Pink accent | `text-pink-200`, `bg-pink-300` | | Success | `text-green-200` | | Info | `text-blue-200` | ## Testing Requirements Always include `data-testid` attributes: ```vue