Diagonal Card Slider

3D Draggable project stack

TSX Code Implementation

TSX Code Implementation

Prefer working directly in code? Follow the steps below to add this component to your Framer project.

Step 1: Create a new Code Component

  1. Open your Framer project and navigate to Assets in the left panel.

  2. Under the Code section, click + → New Component, name it after this component (e.g., FocusRevealText.tsx)

  3. Replace the default starter template.

Step 2: Paste the TSX code

  1. Copy the complete .tsx source code below and paste it into your new code file

  2. Press Cmd + S (Mac) or Ctrl + S (Windows) to compile.

TSX

Step 3: Drop onto canvas and customize

  1. Drag the compiled component from your Assets → Code panel directly onto any frame on your canvas.

  2. Use the custom Property Controls in the right-hand panel to adjust typography, timing, colors, and layout behavior.

Verifying membership...