Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)48k · #4385

claymorphism

Skill này làm gì

Claymorphism là phong cách thiết kế làm các phần tử trông như được làm từ đất sét mềm kỹ thuật số. Nó dùng bóng đổ nhẹ và góc bo tròn để tạo vẻ vui tươi, dễ chạm, như khi nặn đất sét.

Khi nào nên dùng

  • ✓Khi bạn muốn nút hoặc hộp trông như nổi lên khỏi màn hình.
  • ✓Để tạo biểu tượng hoặc minh họa có vẻ dễ thương và vui nhộn.
  • ✓Khi thiết kế giao diện cần thân thiện và gần gũi.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/claymorphism/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/claymorphism/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một nút claymorphism có chữ 'Click Me'.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Phong cách này thêm bóng đổ ở cả bên trong và bên ngoài phần tử. Bóng sáng ở phía trên bên trái và bóng tối ở phía dưới bên phải tạo cảm giác có khối, như một tác phẩm điêu khắc bằng đất sét.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Claymorphism

"Like interacting with a pristine, digital claymation set. Soft, bubbly, and incredibly approachable."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. Fluffy 3D Volume: Elements look like inflated balloons or soft clay blocks.
  2. Double Inner Shadows: The signature of claymorphism is an inset light shadow on the top-left and an inset dark shadow on the bottom-right, giving 3D volume to a solid shape.
  3. Continuous Curves: Maximum border-radius. No sharp edges exist in this universe.

Visual DNA

  • Colors: Thrives on pastels and bright, friendly hues. Desert Mirage, Earth-Grounded Elegance, or custom pastel palettes work best.
  • Typography: Playful, thick, rounded fonts (e.g., Sniglet, Fredoka One, Nunito).
  • Shapes: 'Squicles' (squares with heavily rounded, continuous corners) and perfect circles.

Web Implementation

  • Distinct from Neumorphism: Claymorphism elements detach from the background (they have drop shadows) and use inner shadows to create volume, often using colors that contrast with the background.
  • CSS Example:
.clay-card {
  background-color: #F8B4A6; /* Soft coral */
  border-radius: 32px;
  padding: 40px;
  
  /* 
    1. Outer drop shadow (detaches from background)
    2. Inner top-left highlight (volume)
    3. Inner bottom-right shadow (volume)
  */
  box-shadow: 
    8px 8px 24px rgba(0, 0, 0, 0.15),           /* Outer */
    inset -8px -8px 16px rgba(0, 0, 0, 0.1),    /* Inner dark */
    inset 8px 8px 16px rgba(255, 255, 255, 0.4); /* Inner light */
    
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy */
}

.clay-card:hover {
  transform: translateY(-5px) scale(1.02);
}

App Implementation

SwiftUI

struct ClayCard: View {
    @State private var isPressed = false
    
    var body: some View {
        VStack(spacing: 16) {
            Image(systemName: "cloud.sun.fill")
                .font(.system(size: 48))
                .foregroundColor(.white)
            Text("Claymorphic Card")
                .font(.system(size: 20, weight: .bold, design: .rounded))
                .foregroundColor(.white)
        }
        .padding(40)
        .background(Color(red: 0.97, green: 0.71, blue: 0.65)) // Soft coral
        .cornerRadius(32)
        // Outer shadow — detaches from background
        .shadow(color: .black.opacity(0.15), radius: 12, x: 8, y: 8)
        // Inner highlight (top-left) — faked with overlay
        .overlay(
            RoundedRectangle(cornerRadius: 32)
                .stroke(
                    LinearGradient(
                        colors: [.white.opacity(0.5), .clear, .black.opacity(0.1)],
                        startPoint: .topLeading,
                        endPoint: .bottomTrailing
                    ),
                    lineWidth: 3
                )
        )
        // Bouncy spring animation on tap
        .scaleEffect(isPressed ? 0.95 : 1.0)
        .animation(.interpolatingSpring(stiffness: 300, damping: 10), value: isPressed)
        .onTapGesture { }
        .simultaneousGesture(
            DragGesture(minimumDistance: 0)
                .onChanged { _ in isPressed = true }
                .onEnded { _ in isPressed = false }
        )
    }
}
  • The "clay" volume comes from a gradient stroke overlay: white on top-left, dark on bottom-right.
  • Use .interpolatingSpring(stiffness: 300, damping: 10) for the bouncy feel — critical for clay aesthetics.
  • Background color should be pastel/bright but NOT the same as the parent (unlike neumorphism).

Flutter

class ClayCard extends StatefulWidget {
  @override
  State<ClayCard> createState() => _ClayCardState();
}

class _ClayCardState extends State<ClayCard> with SingleTickerProviderStateMixin {
  double _scale = 1.0;

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTapDown: (_) => setState(() => _scale = 0.95),
      onTapUp: (_) => setState(() => _scale = 1.0),
      onTapCancel: () => setState(() => _scale = 1.0),
      child: AnimatedScale(
        scale: _scale,
        duration: const Duration(milliseconds: 200),
        curve: Curves.elasticOut,  // Bouncy clay feel
        child: Container(
          padding: const EdgeInsets.all(40),
          decoration: BoxDecoration(

…
Câu hỏi thường gặp

Khác biệt với Neumorphism là gì?

Neumorphism khiến các phần tử hòa vào nền, còn Claymorphism làm chúng nổi bật nhờ bóng đổ tách khỏi nền.

Màu nào hợp nhất?

Các màu pastel và tươi sáng, vui vẻ, như màu đào, xanh nhạt hoặc vàng nhẹ, rất hợp.

Tôi có cần dùng phông chữ cụ thể không?

Các phông tròn, dày hơn như “Fredoka One” hoặc “Nunito” rất hợp với vẻ mềm mại, vui tươi của Claymorphism.

Chi tiết

Mô tả gốc của tác giả

Web and App implementation guide for Claymorphism. Trigger when user wants soft 3D elements, rounded shapes, and a playful, tactile appearance.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4385
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự