Glass Float

Floating glass testimonial cards with parallax and blur effects.

Main Features of Glass Float

How to Use Glass Float in Next.js

Installation Guide for Glass Float

Props

Customize the component with these props

PropertyTypeDefaultDescription
testimonials
TestimonialItem[][]Array of testimonial items with id, name, role, company, content/text, media, avatar/image.
backgroundColor
string#0f172aBackground color of the component (hex, rgb, or hsl).
blob1Color
string#9333eaColor of the first blob effect (hex, rgb, or hsl).
blob2Color
string#2563ebColor of the second blob effect (hex, rgb, or hsl).
title
stringCommunity VoicesMain title text.
titleColor
stringrgba(255,255,255,0.9)Color of the title text (hex, rgb, or hsl).
cardBgColor
stringrgba(255,255,255,0.1)Background color of the testimonial cards (hex, rgb, or hsl).
cardBorderColor
stringrgba(255,255,255,0.2)Border color of the testimonial cards (hex, rgb, or hsl).
cardHoverBgColor
stringrgba(255,255,255,0.1)Background color of cards on hover (hex, rgb, or hsl).
cardBlurColor
stringrgba(255,255,255,0.05)Blur effect color for cards (hex, rgb, or hsl).
cardHoverBlurColor
stringrgba(255,255,255,0.1)Blur effect color for cards on hover (hex, rgb, or hsl).
quoteIconColor
stringrgba(255,255,255,0.05)Color of the quote icon (hex, rgb, or hsl).
quoteTextColor
string#f1f5f9Color of the quote text (hex, rgb, or hsl).
avatarBorderColor
stringrgba(255,255,255,0.5)Border color of the avatar images (hex, rgb, or hsl).
avatarGradientFrom
string#a78bfaStart color of the avatar gradient (hex, rgb, or hsl).
avatarGradientTo
string#60a5faEnd color of the avatar gradient (hex, rgb, or hsl).
authorNameColor
string#ffffffColor of the author name text (hex, rgb, or hsl).
authorRoleColor
stringrgba(255,255,255,0.5)Color of the author role text (hex, rgb, or hsl).

When to Use

Excellent for modern tech brands, AI platforms, and Next.js applications that want a high-fidelity, 'airy' aesthetic. Use this React component for a testimonial section where quotes float over vibrant, blurry glass cards.

Best Practices

Maintain consistent spacing within your design system by using it on dark or textured backgrounds to maximize the backdrop-blur effect. Follow React best practices by pairing it with high-contrast font colors for readability. Optimize for performance by using efficient radial-gradients for the background blobs.

Why This Component Matters in Modern UI Development

Glassmorphism creates a sense of depth and technical sophistication. This production-ready UI component helpsคุณ build an interface that feels lightweight and premium, improving the perceived quality of your community feedback.

Frequently Asked Questions

QHow is the glass effect created?

It uses a combination of `backdrop-blur` and semi-transparent background colors (`rgba`) to simulate physical glass.

QCan I customize the background glows?

Yes, the `blob1Color` and `blob2Color` props allow you to set the primary and secondary glow colors behind the cards.

QIs it mobile responsive?

Absolutely, the cards scale and stack vertically on smaller screens while maintaining their blur and parallax effects.

Glass Float - React Testimonial Card & Grid | Uilora