Cosmic Tilt

Cosmic tilt pricing section with 3D perspective effects.

Main Features of Cosmic Tilt

How to Use Cosmic Tilt in Next.js

Installation Guide for Cosmic Tilt

Props

Customize the component with these props

PropertyTypeDefaultDescription
plans
Array<{name: string, price: number, features?: string[]}>[]Array of pricing plans with name, price, and optional features.
features
string[][]Array of feature strings to display.
backgroundColor
string#0B0B0FBackground color (hex, rgb, or hsl).
patternColor
stringrgba(255,255,255,0.03)Grid pattern color.
glowColor
stringrgba(147, 51, 234, 0.2)Glow effect color.
cardBgFromColor
stringrgba(255,255,255,0.1)Card gradient start color.
cardBgToColor
stringrgba(255,255,255,0.05)Card gradient end color.
cardBorderColor
stringrgba(255,255,255,0.1)Card border color.
titleColor
string#c084fcTitle text color.
priceColor
string#ffffffPrice text color.
featureColor
stringrgba(196, 181, 253, 0.7)Feature text color.
featureDotColor
string#a855f7Feature dot color.
buttonBgColor
string#ffffffButton background color.
buttonTextColor
string#000000Button text color.
buttonShadowColor
stringrgba(255,255,255,0.3)Button shadow color.
buttonText
stringLaunchButton text.

When to Use

Perfect for deep-tech brands, space exploration sites, and Next.js applications that want a mysterious, the volumetric feel. Use this React component for a cosmic-themed pricing section with 3D tilt effects and glowing card borders.

Best Practices

Maintain scalable component architecture by keeping foreground text bright and readable. Follow React best practices by pairing this with dark-themed layouts. Optimize for performance by managed the transition effects for mobile views.

Why This Component Matters in Modern UI Development

3D tilt effects increase the perceived value and interactivity of a digital interface. This production-ready component helpsคุณ build an interface that feels deep and tangible, turning standard pricing into an interactive 3D experience.

Frequently Asked Questions

QHow does the tilt work?

It uses Framer Motion's `useMotionValue` and `useTransform` to rotate the card on the X and Y axes based on the mouse position.

QCan I adjust the tilt intensity?

The internal rotation curves are tuned for a subtle, premium feel, but can be easily amplified for a more dramatic 'gaming' look.

QIs it mobile friendly?

On mobile, the tilt is typically disabled or reduced to a static hover state to ensure usability on touch devices.

Cosmic Tilt - React Pricing Table & Plan Card | Uilora