Rendyn

Component library

189 components

Interaction

Tilt Card

Tilt Card applies perspective and glare around its children; the content and click target remain your application’s responsibility.

Interactive exampleReact Tailwind CSS

Practical React example

Show a product feature card with a restrained pointer tilt while keeping its heading and link readable.

Before you copy and paste

Keep the example in the React rendering environment required by the imported component. Copy components/motion/tilt-card.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: clsx, motion, react, tailwind-merge.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Show a product feature card with a restrained pointer tilt while keeping its heading and link readable

// Usage adapted from beUI's pinned MIT source.
// Copyright (c) 2026 Saurabh Chauhan. See ./LICENSES.md.
"use client";

import { TiltCard } from "@/components/motion/tilt-card";

export function TiltCardPreview() {
  return (
    <div className="flex items-center justify-center p-6">
      <TiltCard className="w-[280px] border border-border bg-card p-8">
        <div className="text-xs uppercase tracking-wider text-muted-foreground">Premium</div>
        <h3 className="mt-2 text-2xl font-semibold text-foreground">Tilt me</h3>
        <p className="mt-3 text-sm text-muted-foreground">Move your cursor across the card to see 3D tilt + glare.</p>
      </TiltCard>
    </div>
  );
}

Usage example adapted from beUI's pinned MIT source. Retain the source licence notices when copying.

Keep the card content semantic and the motion secondary to the product information. Tune max before changing its visual treatment.

Customization

TiltCardProps.children
Required; ReactNode.
TiltCardProps.max
Optional; number.
TiltCardProps.glare
Optional; boolean.
TiltCardProps.className
Optional; string.

Integration notes

  • Provide a static reduced-motion presentation if the effect is distracting.
  • Test the clickable child with a keyboard and touch; pointer tilt must not be required to reveal information.

Component source: beUI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP