logologo

Component Test Page

Nov 1, 2025 Β· 5min

Component Test Page

This page demonstrates all the migrated Vue components.

TextCopy Component

Copy text functionality - click the copy button to test:

Click to copy: Hello, this is a test text to copy!

npm install @vueuse/core

You can also slice the text before copying:

Only first 10 characters will be copied: This is a very long text that will be truncated

YouTubeEmbed Component

Embedding a YouTube video with responsive aspect ratio:


Without scale effect (useful for mobile):


TalkDate Component

Display a date with countdown (for future dates):

Past date example (no countdown shown):


Logo Component

Animated minimalist Lengcat logo - abstract cat head design:

Lengcat Logo

The logo features a simple, abstract cat head with elongated ears, smooth animations including pulse effects and ear wiggling. It respects prefers-reduced-motion settings.


LogoStroke Component

Lengcat logo stroke version with sequential drawing animation:

Lengcat Logo Stroke

This version uses SVG stroke-dasharray animation to draw the cat head progressively, with whiskers and facial features appearing in sequence.


StreamAnnouncement Component

A stream announcement banner component:

Series of building Nuxt Playground from scratch.

WrapperDemo Component

Demo wrapper for showcasing projects with optional video:

Vue.js

The Progressive JavaScript Framework

  • ⚑️ Fast and lightweight
  • πŸ—‚ Component-based architecture
  • πŸ“¦ Reactive data binding
  • 🍍 State management with Pinia
  • 🎨 Easy to learn and use
Jan 15, 2024

Background Art Components

ArtPlum Component

The Plum component creates an animated plum blossom branch effect in the background. It’s a canvas-based animation that grows organically from the edges of the screen.

Features:

  • Canvas-based animation
  • Randomized organic growth
  • Responsive to window resize
  • Configurable branch length and density

Note: This component is best used as a background decoration and requires @vueuse/core. Already available in this project!

ArtDots Component βœ…

The ArtDots component uses PixiJS to create an animated particle field with flowing dots based on simplex noise.

Dependencies Required:

pnpm add pixi.js simplex-noise

βœ… Already installed and working!

Features:

  • WebGL-based particle animation
  • Noise-based flow field
  • Smooth alpha transitions
  • Responsive particle grid
  • Theme switching support - Automatically reinitializes when switching between light/dark modes
  • Proper cleanup and memory management

Usage: Currently active on the homepage! Try switching between light and dark modes to see the seamless theme transition.

Note: Always wrap in <ClientOnly> for SSR compatibility.


Component Summary

ComponentDescriptionKey Dependencies
TextCopyCopy text to clipboard with visual feedback@vueuse/core
YouTubeEmbedEmbed YouTube videos responsivelyNone
TalkDateDisplay dates with countdowndayjs
LogoAnimated minimalist cat head logo (filled)None
LogoStrokeAnimated minimalist cat head logo (stroke)None
StreamAnnouncementStream/event announcement bannerNone
WrapperDemoDemo project wrapper with video supportNone
ArtPlumAnimated plum blossom background@vueuse/core
ArtDotsAnimated particle dots backgroundpixi.js, simplex-noise
CC BY-NC-SA 4.0, powered by vite, 2022-PRESENT Β© Shaloc, framework by @antfu.