Premium Frontend UI
Skill files1 file
SKILL.md114 lines
1
---
2
name: premium-frontend-ui
3
description: 'A comprehensive guide for GitHub Copilot to craft immersive, high-performance web experiences with advanced motion, typography, and architectural craftsmanship.'
4
metadata:
5
author: 'Utkarsh Patrikar'
6
author_url: 'https://github.com/utkarsh232005'
7
---
8
9
# Immersive Frontend UI Craftsmanship
10
11
As an AI engineering assistant, your role when building premium frontend experiences goes beyond outputting functional HTML and CSS. You must architect **immersive digital environments**. This skill provides the blueprint for generating highly intentional, award-level web applications that prioritize aesthetic quality, deep interactivity, and flawless performance.
12
13
When a user requests a high-end landing page, an interactive portfolio, or a specialized component that requires top-tier visual polish, apply the following rigorous standards to every line of code you generate.
14
15
---
16
17
## 1. Establishing the Creative Foundation
18
19
Before generating layout code, ensure you understand the core emotional resonance the UI should deliver. Do not default to generic, unopinionated code.
20
21
Commit to a strong visual identity in your CSS and component structure:
22
- **Editorial Brutalism**: High-contrast monochromatic palettes, oversized typography, sharp rectangular edges, and raw grid structures.
23
- **Organic Fluidity**: Soft gradients, deeply rounded corners, glassmorphism overlays, and bouncy spring-based physics.
24
- **Cyber / Technical**: Dark mode dominance, glowing neon accents, monospaced typography, and rapid, staggered reveal animations.
25
- **Cinematic Pacing**: Full-viewport imagery, slow cross-fades, profound use of negative space, and scroll-dependent storytelling.
26
27
---
28
29
## 2. Structural Requirements for Immersive UI
30
31
When scaffolding a page or generating core components, include the following architectural layers to transform a standard page into an experience.
32
33
### 2.1 The Entry Sequence (Preloading & Initialization)
34
A blank screen is unacceptable. The user's first interaction must set expectations.
35
- **Implementation**: Generate a lightweight preloader component that handles asset resolution (fonts, initial images, 3D models).
36
- **Animation**: Output code that transitions the preloader away fluidly—such as a split-door reveal, a scale-up zoom, or a staggered text sweep.
37
38
### 2.2 The Hero Architecture
39
The top fold must command attention immediately.
40
- **Visuals**: Output code that implements full-bleed containers (`100vh`/`100dvh`).
41
- **Typography Engine**: Ensure headlines are broken down syntactically (e.g., span wrapping by word or character) to allow for cascading entrance animations.
42
- **Depth**: Utilize subtle floating elements or background clipping paths to create a sense of scale and depth behind the primary copy.
43
44
### 2.3 Fluid & Contextual Navigation
45
- **Implementation**: Do not generate standard static navbars. Output sticky headers that react toscroll direction (hide on scroll down, reveal on scroll up).
46
- **Interactivity**: Include hover states that reveal rich content (e.g., mega-menus that display image previews of the hovered link).
47
48
---
49
50
## 3. The Motion Design System
51
52
Animation is not an afterthought; it is the connective tissue of a premium site. Always implement the following motion principles:
53
54
### 3.1 Scroll-Driven Narratives
55
Generate code utilizing modern scroll libraries (like GSAP's ScrollTrigger) to tie animations to user progress.
56
- **Pinned Containers**: Create sections that lock into the viewport while secondary content flows past or reveals itself.
57
- **Horizontal Journeys**: Translate vertical scroll data into horizontal movement for specific galleries or showcases.
58
- **Parallax Mapping**: Assign subtle, varying scroll-speeds to background elements, midground text, and foreground imagery.
59
60
### 3.2 High-Fidelity Micro-Interactions
61
The cursor is the user's avatar. Build interactions around it.
62
- **Magnetic Components**: Write logic that calculates the distance between the mouse pointer and a button, pulling the button towards the cursor dynamically.
63
- **Custom Tracking Elements**: Generate custom cursor components that follow the mouse with calculated interpolation (lerp) for a smooth drag effect.
64
- **Dimensional Hover States**: Use CSS Transforms (`scale`, `rotateX`, `translate3d`) to give interactive elements weight and tactile feedback.
65
66
---
67
68
## 4. Typography & Visual Texture
69
70
The aesthetics of your generated code must reflect premium craftsmanship.
71
72
- **Type Hierarchy**: Enforce massive contrast in scale. Headlines should utilize extreme sizing (`clamp()` functions spanning up to `12vw`), while body copy remains incredibly crisp (`16px-18px` minimum).
73
- **Font Selection**: Always recommend or implement highly specified variable fonts or premium typefaces over system defaults.
74
- **Atmospheric Filters**: Implement CSS/SVG noise overlays (`mix-blend-mode: overlay`, opacity `0.02 - 0.05`) to remove digital sterility and add photographic grain.
75
- **Lighting & Glass**: Utilize `backdrop-filter: blur(x)` combined with ultra-thin, semi-transparent borders to create modern, frosted-glass depth.
76
77
---
78
79
## 5. The Performance Imperative
80
81
A beautiful site that stutters is a failure. Enforce strict performance guardrails in all generated code:
82
83
- **Hardware Acceleration**: Only animate properties that do not trigger layout recalculations: `transform` and `opacity`. Code that animates `width`, `height`, `top`, or `margin` should be fiercely avoided.
84
- **Render Optimization**: Apply `will-change: transform` intelligently on complex moving elements, but remove it post-animation to conserve memory.
85
- **Responsive Degradation**: Wrap custom cursor logic and heavy hover animations in `@media (hover: hover) and (pointer: fine)` to ensure pristine performance on touch devices.
86
- **Accessibility**: Wrap heavy continuous animations in `@media (prefers-reduced-motion: no-preference)`. Never sacrifice user accessibility for aesthetic flair.
87
88
---
89
90
## 6. Implementation Ecosystem
91
92
When the user asks you to implement these patterns, leverage industry-standard libraries tailored to their framework:
93
94
### For React / Next.js Targets
95
- Structure the application to support **Framer Motion** for layout transitions and spring physics.
96
- Recommend **Lenis** (`@studio-freight/lenis`) for smooth scrolling context.
97
- Implement **React Three Fiber** (`@react-three/fiber`) if webGL or 3D interactions are requested.
98
99
### For Vanilla / HTML / Astro Targets
100
- Rely heavily on **GSAP** (GreenSock Animation Platform) for timeline sequencing.
101
- Utilize vanilla **Lenis** via CDN for scroll hijacking and smoothing.
102
- Use **SplitType** for safe, accessible typography chunking.
103
104
---
105
106
## Summary of Action
107
108
Whenever you receive a prompt to "Build a premium landing page," "Create an Awwwards-style component," or "Design an immersive UI," you must automatically:
109
1. Wrap the output in a robust, scroll-smoothed architecture.
110
2. Provide CSS that guarantees perfect performance using composited layers.
111
3. Integrate sweeping, staggered component entrances.
112
4. Elevate the typography using fluid scales.
113
5. Create an intentional, memorable aesthetic footprint.
114

© Utkarsh Patrikar · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…