Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/File Encryption

File Encryption

A full-screen "CARD VAULT" scene where an auto-scrolling, draggable marquee of credit cards passes through a central WebGL laser beam that splits each card into its plain face and a scrambling ASCII "encrypted" face, with particles spraying from the beam.

GSAP
DemoDemoDemo

Tune the Real Props

Accent Color
Background Color

Overview

File Encryption is a self-contained hero scene: a row of credit cards scrolls continuously across the screen, and a vertical laser beam fixed at the centre splits every card it crosses, showing the plain card face on the left of the beam and a scrambling grid of ASCII glyphs on the right, while particles spray from the beam.

Use File Encryption when a fintech, payments or security page needs a striking visual metaphor for card data being protected. The component renders its own full-screen section with a "CARD VAULT" heading, a "256-bit AES Encryption Active" badge, a short tagline and cipher labels, all hard-coded; the props control speed, card size, accent colour and background colour. Visitors can grab and drag the marquee to move the cards through the beam.

The production risk is overclaiming security. The ASCII face is random glyphs, not real encryption, and the built-in badge, tagline and cipher labels (AES-256-GCM, RSA-4096, ChaCha20-Poly1305) are fixed demo copy; edit them in the source so they match what your product actually does.


Usage Code

page
1import FileEncryption from "@/components/effects/file-encryption";2 3export default function Page() {4  return (5    <>6    <FileEncryption/>7    </>8  );9}10 

Example Production Use Case

A card-issuing or payments product page can use File Encryption as its hero: cards with numbers, holder names and expiry dates scroll into the laser and come out as scrambled ASCII, and visitors can drag the row to push a card through the beam themselves. The animation builds trust only when the copy beside it explains what is actually protected.


Best Used For

  • Fintech, payments and card-security pages where a card-scanning metaphor fits the product.
  • Product pages that need to show secure handling without turning trust into vague animation.
  • Full-screen hero moments where an interactive, draggable visual supports, not replaces, the trust claim.

Not For

Not for security claims that the product cannot prove, or for pages where animation substitutes for clear privacy, compliance, or encryption copy.


Performance Budget

The scene runs a WebGL beam, a 1,500-particle Canvas 2D layer, a GSAP-driven marquee and a glyph scramble on the card under the beam. The beam and particle loops pause when the section is offscreen or the tab is hidden, and the shared GSAP ticker is put to sleep with them, so place one instance per page and avoid stacking other heavy effects nearby.


Accessibility and Mobile

Both canvases are aria-hidden and the marquee section is labelled "Encrypted cards marquee"; the card details and scrambled glyphs are still in the DOM as text. Dragging works with mouse and touch (the marquee sets touch-action: none, so a swipe on it drags the cards instead of scrolling the page), and the drag hint is hidden below the large breakpoint.


Common Mistakes

  • Letting the animation make an unsupported security promise.
  • Shipping the hard-coded "256-bit AES" badge and cipher labels without checking they match your product.
  • Placing it where visitors need to scroll past on touch: swipes on the marquee drag the cards rather than the page.

Changelog

Add prefers-reduced-motion support
Initial release

API Reference

PropTypeDefaultDescription
accentColorstring#ff5f00Beam, particle, and heading accent color.
backgroundColorstring#07060fScene and marquee background color.
speednumber1Marquee, particle, and scramble animation speed.
cardSizenumber1Credit card size multiplier.

Questions, Answered.

When should I use File Encryption?

Use it when a fintech, payments or card-security page needs a hero where credit cards visibly turn into scrambled ASCII as they pass through a laser beam.

How should File Encryption stay trustworthy and accessible?

Keep the real security claim in normal text and edit the built-in badge, tagline and cipher labels to match it. The canvases are aria-hidden, but the card details and ASCII glyphs remain in the DOM, so consider hiding the marquee from assistive technology if the scrambled text is noisy for your audience.

How should File Encryption simplify on mobile?

The same marquee runs on mobile with smaller gaps between cards (60px below 768px, 80px up to 1024px), and the drag hint is hidden. You can lower cardSize for narrow screens; the heading and tagline stay as readable text above the marquee.

Can File Encryption improve trust on security pages?

Yes, when it clarifies a real protection moment already explained in copy. It damages trust when it implies security guarantees the product cannot support.

What should reduced motion do for File Encryption?

With reduced motion, auto-scroll and drag inertia stop (dragging still moves the cards directly), the beam flicker is frozen, the particle scatter and glyph scramble are skipped, and the badge dot stops pulsing. The background stars keep twinkling, and no static final state is shown.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Gooey Counter
canvas

Gooey Counter

Components

Grid Lift
Pro
canvas

Grid Lift

Backgrounds

Animated Toggle
Pro
CSS

Animated Toggle

Buttons

Spider Particles Background
Three.js

Spider Particles Background

Backgrounds

Split Canvas
GSAP Three.jsLenis

Split Canvas

Scroll