Meng To

Portal Field

Shaders 174

About

An animated ambient WebGL background with glowing organic arcs, rendered as a sandboxed iframe you can tune for speed, size, hue, saturation and brightness.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Portal Field to your project and fits it to your theme.

Code

How Portal Field is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import PortalFieldCollection from "@/components/ui/portal-field";

export default function PortalFieldDemo() {
  return (
    <div className="relative h-[600px] w-full overflow-hidden rounded-xl border border-border bg-black">
      <PortalFieldCollection
        speed={1}
        size={1}
        length={1}
        density={1}
        opacity={1}
        hue={0}
        saturation={1}
        brightness={1}
      />
    </div>
  );
}

More by Meng To

View all
  • Gateway Flow

    Gateway Flow

    2.1K
  • Glassmorphism CTA

    Glassmorphism CTA

    869
  • Globe Type Study

    Globe Type Study

    782
  • Particle Drift

    Particle Drift

    762
  • Generative Tree

    Generative Tree

    665
  • Topo Field

    Topo Field

    636
  • Dot Border Button

    Dot Border Button

    528
  • Spark Badge

    Spark Badge

    516

More in Shaders

View all
  • Shader Animation

    Shader Animation

    3.9K
  • Glass Fold

    Glass Fold

    599
  • Black Hole

    Black Hole

    56
  • Illos Knowledge Sources

    Illos Knowledge Sources

    77
  • DitheredShaderBackground

    DitheredShaderBackground

    59
  • LightSpeed

    LightSpeed

    254
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Stream Search

    Stream Search

    88

Explore more

Part of ThreeUI — browse the full library on 21st.dev.