Le Thanh

3D Textured Cube

Shaders

About

This React component renders a fully interactive 3D scene using WebGL2. * The main feature is a rotating cube with unique image textures on each of its * The cube's rotation can be controlled * by clicking and dragging the mouse.

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

Code

How 3D Textured Cube is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GLSLShaderCube } from "@/components/ui/3d-textured-cube";

export default function DemoOne() {
  return <GLSLShaderCube />;
}

More by Le Thanh

View all
  • Interactive Image Accordion

    Interactive Image Accordion

    4.2K
  • Interactive Selector

    Interactive Selector

    2.7K
  • Gradient Menu

    Gradient Menu

    2.3K
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Shader Background

    Shader Background

    2K
  • Waitlist Hero

    Waitlist Hero

    1.8K
  • Image Comparison Slider

    Image Comparison Slider

    1.6K
  • Login Form

    Login Form

    1.4K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    279
  • Phosphor 30

    Phosphor 30

    293
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • Black Hole

    Black Hole

    27
  • Shader Lines

    Shader Lines

    2.3K
  • Liquid Glass Logo Reveal

    Liquid Glass Logo Reveal

    629
  • Waves shaders Homlu UI

    Waves shaders Homlu UI

    99