Crystal Bloom Button
Crystal petals grow outward from the center with elegant geometry, reflective edges, and shimmer
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/crystal-bloom-button.
<iframe src="/embed/crystal-bloom-button" sandbox="allow-scripts" loading="lazy" title="Crystal Bloom Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Crystal Bloom Button, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<button class="bloom-btn"><span>✦ BLOOM</span></button>CSS
.bloom-btn {
position: relative;
padding: 1rem 2rem;
border-radius: 0.5rem;
font-weight: 600;
letter-spacing: 0.05em;
background: linear-gradient(135deg, #1a1a2e, #16213e, #1a1a2e);
color: #f9a8d4;
border: 1px solid rgba(249,168,212,0.2);
cursor: pointer;
overflow: hidden;
transition: all 0.3s ease;
}
.bloom-btn:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(249,168,212,0.2); }
.bloom-btn:active { transform: scale(0.96); }
.bloom-btn::before {
content: ''; position: absolute; inset: -20px;
background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(249,168,212,0.04) 50%, transparent 60%);
animation: bloom-expand 4s ease-in-out infinite;
pointer-events: none;
}
.bloom-btn::after {
content: ''; position: absolute; inset: 0;
background: linear-gradient(135deg, transparent 30%, rgba(249,168,212,0.06) 50%, transparent 70%);
animation: bloom-shine 3s linear infinite;
pointer-events: none;
}
@keyframes bloom-expand { 0%,100% { transform: scale(0.8); opacity: 0.1; } 50% { transform: scale(1.2); opacity: 0.4; } }
@keyframes bloom-shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }Tailwind CSS
<button class="px-8 py-4 rounded-lg font-semibold tracking-wider bg-gradient-to-br from-[#1a1a2e] via-[#16213e] to-[#1a1a2e] text-pink-300 border border-pink-300/20 hover:scale-104 active:scale-96 transition-all overflow-hidden relative">
<span class="relative z-10">✦ BLOOM</span>
</button>React
function BloomButton() {
return (
<motion.button
className="px-8 py-4 rounded-lg font-semibold tracking-wider relative overflow-hidden"
style={{ background: 'linear-gradient(135deg, #1a1a2e, #16213e, #1a1a2e)', color: '#f9a8d4', border: '1px solid rgba(249,168,212,0.2)', cursor: 'pointer' }}
whileHover={{ scale: 1.04, boxShadow: '0 0 30px rgba(249,168,212,0.2)' }}
whileTap={{ scale: 0.96 }}
>
<span style={{ position: 'relative', zIndex: 10 }}>✦ BLOOM</span>
<motion.div style={{ position: 'absolute', inset: -20, background: 'radial-gradient(circle at 50% 50%, transparent 40%, rgba(249,168,212,0.04) 50%, transparent 60%)' }}
animate={{ scale: [0.8, 1.2, 0.8], opacity: [0.1, 0.4, 0.1] }}
transition={{ duration: 4, repeat: Infinity, ease: 'easeInOut' }}
/>
</motion.button>
);
}LWC — HTML template
<template><button class="bloom-btn" onclick={handleClick}><span style="position:relative;z-index:10"><slot>✦ BLOOM</slot></span></button></template>LWC — JavaScript
import { LightningElement, api } from 'lwc';
export default class BloomButton extends LightningElement {
@api label = '✦ BLOOM';
handleClick() { this.dispatchEvent(new CustomEvent('buttonclick', { bubbles: true, composed: true })); }
}LWC — CSS
.bloom-btn { position: relative; padding: 1rem 2rem; border-radius: 0.5rem; font-weight: 600; letter-spacing: 0.05em; background: linear-gradient(135deg, #1a1a2e, #16213e, #1a1a2e); color: #f9a8d4; border: 1px solid rgba(249,168,212,0.2); cursor: pointer; overflow: hidden; transition: all 0.3s ease; }
.bloom-btn:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(249,168,212,0.2); }
.bloom-btn:active { transform: scale(0.96); }
.bloom-btn::before { content: ''; position: absolute; inset: -20px; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(249,168,212,0.04) 50%, transparent 60%); animation: bloom-expand 4s ease-in-out infinite; pointer-events: none; }
.bloom-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 30%, rgba(249,168,212,0.06) 50%, transparent 70%); animation: bloom-shine 3s linear infinite; pointer-events: none; }
@keyframes bloom-expand { 0%,100% { transform: scale(0.8); opacity: 0.1; } 50% { transform: scale(1.2); opacity: 0.4; } }
@keyframes bloom-shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }LWC — Configuration
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>59.0</apiVersion>
<isExposed>true</isExposed>
<targets><target>lightning__AppPage</target><target>lightning__RecordPage</target><target>lightning__HomePage</target></targets>
</LightningComponentBundle>Where Crystal Bloom Button fits
- Luxury
- Wedding
- Premium Brands
- Art
- Jewelry
Interaction states & animations
- Bloom
- Reflection Sweep
- Crystal Shimmer
- Expand
Topics
- #crystal
- #bloom
- #petal
- #elegant
- #luxury
- #shimmer
- #geometry
Accessibility notes
Bloom effect is decorative — content must be accessible without animation. Provide static fallback.
Browser support
- All modern browsers