UNPKG

hologram-sticker

Version:

A React component library for creating holographic sticker effects

20 lines (19 loc) 649 B
import React from 'react'; export interface CardProps { children: React.ReactNode; className?: string; /** * Card width in pixels. Defaults to 260px (via CSS variable --sticker-card-width) */ width?: number; /** * Card aspect ratio (width/height). Defaults to 5/7 (0.714) - classic card proportions */ aspectRatio?: number; } /** * Holographic sticker card component with default dimensions (260px × 364px, 5:7 ratio). * Provides a container for holographic layers and effects. */ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>; export default Card;