Faceted Glass

CSS shapes creating a faceted glass pattern with hover effects.

Main Features of Faceted Glass

How to Use Faceted Glass in Next.js

Installation Guide for Faceted Glass

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
string#1c1917Background color
gridCols
number6Grid columns
gridRows
number6Grid rows
gap
string0.5remGrid gap
rotation
number-12Grid rotation angle
scale
number1.25Grid scale
facetBgColor
stringrgba(255, 255, 255, 0.03)Facet background color
facetBorderColor
stringrgba(255, 255, 255, 0.05)Facet border color
facetInitialOpacity
number0.3Initial facet opacity
facetHoverOpacity
number0.6Hover facet opacity
facetHoverBgColor
stringrgba(255, 255, 255, 0.1)Hover facet background color
facetHoverScale
number1.05Hover facet scale
blurAmount
stringxlBlur amount
className
stringAdditional CSS classes

When to Use

Excellent for premium SaaS landing pages, gaming dashboards, and Next.js applications that want a high-fidelity 'faceted' glass aesthetic. Use this React component for a grid of interactive glass tiles with sophisticated hover scales and lighting effects.

Best Practices

Maintain consistent spacing within your design system by aligning the grid scale with your content containers. Follow React best practices by pairing this with high-contrast typography. Optimize for performance by using efficient `backdrop-filter` values for the facet blurs.

Why This Component Matters in Modern UI Development

Faceted glass creates a sense of luxury and structural complexity. This production-ready UI component helpsคุณ build an interface that feels high-end and interactive, adding a layer of architectural depth to your project.

Frequently Asked Questions

QIs it interactive?

Yes, each tile (facet) responds to hover by scaling up and increasing its opacity, creating a dynamic 'diamond' shine effect.

QCan I adjust the grid layout?

Yes, you can control the number of rows and columns via `gridCols` and `gridRows` to fit any screen size or narrative section.

QDoes it support custom blurs?

Absolutely, you can set the `blurAmount` to range from a subtle glass sheen to a deep, opaque frosted finish.

Faceted Glass - React SVG Background Patterns | Uilora