1---2name: premium-frontend-ui-33description: Craft immersive, high-performance web interfaces with advanced motion, typography, scroll-driven interactions, responsive polish, and product-specific visual direction. Use this skill when the user asks for premium frontend UI, sophisticated animations, Awwwards-style components, high-end landing pages, layout polish, or high-end visual design implementation.4---56<!-- Generated from harness/github-copilot/plugins/frontend-experience/skills/premium-frontend-ui/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->78# Premium frontend UI910Transform a functional frontend request into an immersive, high-performance interface by choosing a clear visual identity, layering motion intentionally, and enforcing accessibility and performance constraints before delivery.1112## When to invoke1314- "Build a premium landing page."15- "Create an Awwwards-style component."16- "Make this UI feel high-end and immersive."17- "Add sophisticated scroll-driven interactions."18- "Polish this frontend layout and motion system."1920## Creative foundation2122Commit to one visual identity before writing layout code; do not default to generic neutral UI.2324| Direction | Use when | Design decisions |25| --- | --- | --- |26| Editorial Brutalism | Content needs authority, contrast, and sharp hierarchy. | High-contrast monochrome, oversized typography, raw grid structures, sharp rectangular edges. |27| Organic Fluidity | Brand should feel soft, expressive, and tactile. | Soft gradients, deeply rounded corners, glassmorphism overlays, bouncy spring-based physics. |28| Cyber / Technical | Product needs precision, systems, data, or developer energy. | Dark mode dominance, glowing neon accents, monospaced typography, rapid staggered reveal animations. |29| Cinematic Pacing | Storytelling and atmosphere matter more than density. | Full-viewport imagery, slow cross-fades, negative space, scroll-dependent storytelling. |3031## Structural requirements3233| Layer | Required implementation | Premium failure to avoid |34| --- | --- | --- |35| Entry sequence | Add a lightweight preloader or initialization state for fonts, first images, or 3D models, then transition with a split-door reveal, scale-up zoom, or staggered text sweep. | Blank initial screen or abrupt content pop-in. |36| Hero architecture | Use full-bleed containers such as `100vh` or `100dvh`; break headlines into word or character spans for cascading entrance animations. | A centered card that could belong to any SaaS template. |37| Depth | Add subtle floating elements, background clipping paths, layered media, or atmospheric surfaces behind primary copy. | Decorative shapes unrelated to hierarchy. |38| Navigation | Use sticky headers that react to scroll direction, hiding on scroll down and revealing on scroll up. | Standard static navbars with no contextual behavior. |39| Rich hover | Use previews, mega-menus, or product-relevant hover states where they help choice. | Hover decoration that reveals nothing useful. |4041## Motion design system4243| Pattern | Implementation guidance | Guardrail |44| --- | --- | --- |45| Scroll-driven narratives | Use GSAP ScrollTrigger or framework-equivalent timelines to tie progress to pinned containers, reveals, and transforms. | Do not make essential content inaccessible without scroll scripting. |46| Horizontal journeys | Translate vertical scroll into horizontal gallery or showcase movement only for content that benefits from sequencing. | Preserve keyboard and reduced-motion alternatives. |47| Parallax mapping | Assign different scroll speeds to background, midground, and foreground elements with subtle values. | Avoid nausea-inducing large deltas. |48| Magnetic components | Calculate pointer distance and move buttons slightly toward the cursor. | Limit to `@media (hover: hover) and (pointer: fine)`. |49| Custom cursor | Follow the pointer with interpolation or `lerp` only when it clarifies interaction. | Never replace native cursor affordances for text input. |50| Dimensional hover | Use `scale`, `rotateX`, and `translate3d` for tactile weight. | Avoid layout-affecting hover changes. |5152## Typography and texture5354- Use extreme but controlled type hierarchy: fluid headlines with `clamp()` up to `12vw`, crisp body copy around `16px-18px` minimum.55- Prefer specific variable fonts or premium typefaces over unconsidered system defaults.56- Add atmospheric CSS/SVG noise overlays with `mix-blend-mode: overlay` and opacity around `0.02 - 0.05` to avoid digital sterility.57- Use `backdrop-filter: blur(x)` with thin semi-transparent borders for frosted-glass depth only when the surface has content or hierarchy value.58- Make headings, labels, and calls to action product-specific; never ship placeholder metrics or vague "learn more" clusters when concrete content exists.5960## Performance and accessibility guardrails6162| Guardrail | Apply it |63| --- | --- |64| Hardware acceleration | Animate only `transform` and `opacity`; avoid animating `width`, `height`, `top`, or `margin`. |65| Render optimization | Apply `will-change: transform` only shortly before expensive motion and remove it after animation. |66| Touch degradation | Wrap custom cursor and heavy hover logic in `@media (hover: hover) and (pointer: fine)`. |67| Motion preference | Wrap heavy continuous animation in `@media (prefers-reduced-motion: no-preference)`. |68| Accessibility | Preserve semantic structure, focus order, contrast, keyboard behavior, touch targets, zoom readability, and reduced-motion alternatives. |6970## Implementation ecosystem7172| Target | Preferred tools |73| --- | --- |74| React / Next.js | Framer Motion for layout transitions and spring physics; Lenis (`@studio-freight/lenis`) for smooth scrolling; React Three Fiber (`@react-three/fiber`) for WebGL or 3D interactions when requested. |75| Vanilla / HTML / Astro | GSAP (GreenSock Animation Platform) for timeline sequencing; Lenis via CDN for smooth scrolling when appropriate; SplitType for accessible typography chunking. |7677## Gotchas7879- **Beautiful stutter is still failure**: composited animation and reduced-motion support are mandatory, not polish.80- **Premium is not more decoration**: every badge, blur, grain, shadow, and motion cue must communicate state, hierarchy, or brand intent.81- **Scroll hijacking can harm users**: use smooth scrolling conservatively and test keyboard, touch, and reduced-motion paths.82- **Generic hero sections erase identity**: choose a direction and encode it in typography, density, spacing, motion, and content.8384Aim for award-level, top-tier craft without sacrificing engineering. industry-standard libraries are acceptable, but still remove `will-change` post-animation, tune parallax scroll-speeds, keep scroll-smoothed behavior accessible, and prefer ultra-thin borders only when they reinforce hierarchy.8586## Output template8788```markdown89## Premium frontend UI result9091**Status:** implemented | designed | blocked92**Visual direction:** <Editorial Brutalism | Organic Fluidity | Cyber / Technical | Cinematic Pacing | custom>93**Target:** <framework/page/component>9495| Layer | Decision | Evidence in implementation |96| --- | --- | --- |97| Entry | `<preloader or initialization>` | `<file/component>` |98| Hero/layout | `<structure>` | `<file/component>` |99| Motion | `<timeline/interactions>` | `<file/component>` |100| Typography/texture | `<type and surface rules>` | `<file/component>` |101| Performance/accessibility | `<guardrails>` | `<checks>` |102103**Validation**104- Responsive breakpoints: <checked/not checked>105- Reduced motion: <checked/not checked>106- Keyboard/focus: <checked/not checked>107- Performance risk: <notes>108```109110## Quality gate111112- [ ] A strong visual identity was chosen before layout code.113- [ ] Entry sequence, hero architecture, depth, navigation, and hover behavior were considered or explicitly scoped out.114- [ ] Motion uses `transform` and `opacity` instead of layout-triggering properties.115- [ ] Custom cursor, magnetic hover, and heavy animations are gated for pointer and reduced-motion preferences.116- [ ] Typography uses fluid hierarchy and product-specific content rather than generic copy.117- [ ] Accessibility semantics, focus order, contrast, touch targets, zoom, and reduced-motion behavior were checked.118- [ ] The final output reports implementation files and validation evidence.119120## References121122- [Author profile](https://github.com/utkarsh232005)