05스무디 요금제
세 요금제를 오렌지·라임·자몽 스무디처럼 각각 다른 선명한 색으로 두고, 추천 플랜만 노란 그라디언트 테두리와 인기 배지를 얹어 살짝 크고 통통거립니다. 표 없이 색만으로 어느 플랜이 주인공인지 보입니다.
쓰임3단 요금제, 멤버십 비교
그라디언트 링살짝 큰 추천 플랜wiggle 애니메이션

<main class="stage">
<div class="pricecitrus">
<div class="pricecitrus__plan pricecitrus__plan--lime">
<p class="pricecitrus__name">새싹</p>
<p class="pricecitrus__price">무료</p>
<p class="pricecitrus__per">영원히</p>
</div>
<div class="pricecitrus__plan pricecitrus__plan--pick">
<span class="pricecitrus__badge">인기</span>
<div class="pricecitrus__inner">
<p class="pricecitrus__name">스퀴즈</p>
<p class="pricecitrus__price">월 19,000원</p>
<p class="pricecitrus__per">첫 달 무료</p>
</div>
</div>
<div class="pricecitrus__plan pricecitrus__plan--grp">
<p class="pricecitrus__name">자몽</p>
<p class="pricecitrus__price">월 9,000원</p>
<p class="pricecitrus__per">연간 결제</p>
</div>
</div>
</main>@use "../../../../site/static/demo-tokens" as *;
$duration: $dur-loop; // 추천 플랜이 한 번 통통거리는 주기
$easing: $ease-spring;
$color: $stage-ink;
$citrus-cream: #fffaf0;
$citrus-orange: #d8c1b1;
$citrus-orange-deep: #bd967a;
$citrus-lime: #c4ce9c;
$citrus-grapefruit: #ebd6da;
$citrus-lemon: #dfd8be;
$citrus-ink: #204a17;
// 무대 — 오렌지 물색
@include stage(mix($citrus-orange, $stage-paper, 22%));
.pricecitrus {
box-sizing: border-box;
width: clamp(280px, 94vw, 450px);
display: flex;
align-items: center;
gap: $sp-2;
}
.pricecitrus__plan {
position: relative;
box-sizing: border-box;
flex: 1 1 0;
min-width: 0;
display: flex;
flex-direction: column;
gap: $sp-1;
padding: $sp-4 $sp-3;
border-radius: $r-card;
text-align: center;
}
.pricecitrus__plan--lime {
background: $citrus-lime;
box-shadow: 0 8px 18px rgba($citrus-lime, .8);
}
.pricecitrus__plan--grp {
background: $citrus-grapefruit;
box-shadow: 0 8px 18px rgba($citrus-grapefruit, .75);
}
// 추천 플랜 — 오렌지 그라디언트 테두리(겉을 감싼 알약) + 살짝 크게
.pricecitrus__plan--pick {
flex: 1.2 1 0;
padding: $sp-1;
background: linear-gradient(135deg, $citrus-orange-deep, $citrus-lemon);
box-shadow: 0 10px 22px rgba($citrus-orange-deep, .5);
animation: pickJiggle $duration $easing infinite;
}
.pricecitrus__inner {
display: flex;
flex-direction: column;
gap: $sp-1;
padding: $sp-4 $sp-3;
border-radius: $r-card;
background: mix($citrus-lemon, $stage-paper, 55%);
}
.pricecitrus__badge {
position: absolute;
top: calc($sp-2 * -1);
left: 50%;
transform: translateX(-50%);
z-index: 1;
padding: $sp-1 $sp-3;
border-radius: $r-pill;
background: $stage-paper;
color: $citrus-ink;
font-weight: 700; font-size: clamp(9px, 2.2vw, 11px); line-height: 1;
font-family: inherit;
box-shadow: 0 4px 10px rgba($citrus-orange-deep, .45);
}
.pricecitrus__name {
margin: 0;
color: $citrus-ink;
font-weight: 700; font-size: clamp(12px, 3vw, 15px); line-height: 1;
font-family: inherit;
}
.pricecitrus__price {
margin: 0;
color: $citrus-ink;
font-weight: 700; font-size: clamp(12px, 3.2vw, 16px); line-height: 1.15;
font-family: inherit;
}
.pricecitrus__per {
margin: 0;
color: $citrus-ink;
font-weight: 500; font-size: clamp(10px, 2.4vw, 12px); line-height: 1;
font-family: inherit;
}
// 데모: 추천 플랜만 살짝 흔들리며 통통거린다 — 색과 크기가 이미 주인공임을 움직임도 돕는다
@keyframes pickJiggle {
0%, 100% { transform: rotate(0deg) translateY(0); }
25% { transform: rotate(-1.6deg) translateY(-5px); }
50% { transform: rotate(0deg) translateY(0); }
75% { transform: rotate(1.6deg) translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
.pricecitrus__plan--pick { animation: none !important; transform: none; }
}html, body {
margin: 0;
overflow: hidden;
}
.stage {
box-sizing: border-box;
min-height: 100vh;
display: grid;
place-items: center;
margin: 0;
background: rgb(96.6352941176%, 94.6509803922%, 93.2705882353%);
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
padding: clamp(8px, 4vw, 24px);
}
.pricecitrus {
box-sizing: border-box;
width: clamp(280px, 94vw, 450px);
display: flex;
align-items: center;
gap: 8px;
}
.pricecitrus__plan {
position: relative;
box-sizing: border-box;
flex: 1 1 0;
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
padding: 16px 12px;
border-radius: 16px;
text-align: center;
}
.pricecitrus__plan--lime {
background: #c4ce9c;
box-shadow: 0 8px 18px rgba(196, 206, 156, 0.8);
}
.pricecitrus__plan--grp {
background: #ebd6da;
box-shadow: 0 8px 18px rgba(235, 214, 218, 0.75);
}
.pricecitrus__plan--pick {
flex: 1.2 1 0;
padding: 4px;
background: linear-gradient(135deg, #bd967a, #dfd8be);
box-shadow: 0 10px 22px rgba(189, 150, 122, 0.5);
animation: pickJiggle 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.pricecitrus__inner {
display: flex;
flex-direction: column;
gap: 4px;
padding: 16px 12px;
border-radius: 16px;
background: rgb(93.0980392157%, 91.5882352941%, 85.9803921569%);
}
.pricecitrus__badge {
position: absolute;
top: -8px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
padding: 4px 12px;
border-radius: 999px;
background: #ffffff;
color: #204a17;
font-weight: 700;
font-size: clamp(9px, 2.2vw, 11px);
line-height: 1;
font-family: inherit;
box-shadow: 0 4px 10px rgba(189, 150, 122, 0.45);
}
.pricecitrus__name {
margin: 0;
color: #204a17;
font-weight: 700;
font-size: clamp(12px, 3vw, 15px);
line-height: 1;
font-family: inherit;
}
.pricecitrus__price {
margin: 0;
color: #204a17;
font-weight: 700;
font-size: clamp(12px, 3.2vw, 16px);
line-height: 1.15;
font-family: inherit;
}
.pricecitrus__per {
margin: 0;
color: #204a17;
font-weight: 500;
font-size: clamp(10px, 2.4vw, 12px);
line-height: 1;
font-family: inherit;
}
@keyframes pickJiggle {
0%, 100% {
transform: rotate(0deg) translateY(0);
}
25% {
transform: rotate(-1.6deg) translateY(-5px);
}
50% {
transform: rotate(0deg) translateY(0);
}
75% {
transform: rotate(1.6deg) translateY(-5px);
}
}
@media (prefers-reduced-motion: reduce) {
.pricecitrus__plan--pick {
animation: none !important;
transform: none;
}
}import type { CSSProperties } from "react";
import styles from "./PricingCitrus.module.scss";
export type PricingCitrusProps = {
duration?: number;
easing?: string;
color?: string;
};
type Vars = CSSProperties & { "--duration"?: string; "--easing"?: string; "--color"?: string };
export default function PricingCitrus({
duration = 2000,
easing = "cubic-bezier(.2,.8,.2,1)",
color = "#ff6a00",
}: PricingCitrusProps) {
const vars: Vars = { "--duration": `${duration}ms`, "--easing": easing, "--color": color };
return (
<div className={styles.pricecitrus} style={vars}>
<div className={`${styles.plan} ${styles.planLime}`}>
<p className={styles.name}>새싹</p>
<p className={styles.price}>무료</p>
<p className={styles.per}>영원히</p>
</div>
<div className={`${styles.plan} ${styles.planPick}`}>
<span className={styles.badge}>인기</span>
<div className={styles.inner}>
<p className={styles.name}>스퀴즈</p>
<p className={styles.price}>월 19,000원</p>
<p className={styles.per}>첫 달 무료</p>
</div>
</div>
<div className={`${styles.plan} ${styles.planGrp}`}>
<p className={styles.name}>자몽</p>
<p className={styles.price}>월 9,000원</p>
<p className={styles.per}>연간 결제</p>
</div>
</div>
);
}05 스무디 요금제 — 측정 누적면적 4.617% · 움직인 프레임 21/23GODRICH 원작 · zip 에 SCSS·React 포함 · 청량한 디자인 랜딩 UI 키트, 시트러스 컬러 섹션 9개
이 데모가 속한 글
청량한 디자인 랜딩 UI 키트, 시트러스 컬러 섹션 9개청량한 디자인은 오렌지·라임·자몽·레몬처럼 채도 높은 과일 색을 크림 바탕 위에 얹고, 카드마다 같은 계열의 진한 색 그림자를 드리워 파스텔보다 더 쨍하고 여름 음료 브랜드처럼 싱그럽게 보이게 만드는 스타일입니다. 이 글의 데모 전부 보기


