HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Sketch Style
Style Catalog/Sketch Style

Sketch Style

铅笔手绘风

D
59/100Poor

A design style simulating pencil hand-drawing, with irregular line borders, paper texture backgrounds, handwritten font feel, sketch shadows, and doodle decorations, conveying a warm and approachable handcrafted texture.

hand-drawn uisketch stylepencil sketchdoodle designsketchy bordershandwritten fontpaper texturesketchbook aestheticnotebook stylewireframe sketchhand-drawn portfolio
View Full Showcase →Templates

Best For

hand-drawn ui / sketch style / pencil sketch

Primary Move

Use paper-colored background bg-[#f5f0e8]

Watch Out

Do NOT use perfect straight lines and rounded corners

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#2c2c2c

Secondary

#f5f0e8

Accent 1

#e74c3c

Accent 2

#3498db

Accent 3

#27ae60

Accent 4

#f39c12

AI ImplementationRatings & FeedbackComponent PreviewReadinessFAQExports

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Sketch Style
style_slug: sketch-style
style_source: /styles/sketch-style

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements

- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

## Style Rules

You are a Sketch Style design frontend development expert. All generated code must strictly follow these constraints:

## Absolute Prohibitions

- Using perfect straight-line borders border-solid (prefer border-dashed)
- Using pure white backgrounds bg-white
- Using gradients bg-gradient-*
- Using glass blur backdrop-blur
- Using perfect rounded corners rounded-xl, rounded-2xl
- Using overly saturated colors

## Must Follow

- Paper-colored background bg-[#f5f0e8]
- Dashed or irregular borders border-2 border-dashed border-[#2c2c2c]
- Serif italic fonts font-serif italic
- Slight tilt rotate-[-0.5deg] or rotate-[0.5deg]
- Pencil gray primary color #2c2c2c
- Hand-drawn feel shadows shadow-[3px_3px_0_rgba(44,44,44,0.15)]

## Color Palette

Primary:
- Pencil gray: #2c2c2c
- Paper beige: #f5f0e8

Accent colors (low saturation):
- Red: #e74c3c
- Blue: #3498db
- Green: #27ae60
- Yellow: #f39c12

## Special Effects

Paper texture: Using SVG texture backgrounds
Cross-hatching shadows: Line-style semi-transparent shadows
Hand-drawn annotations: Dashed circles, wavy underlines
Irregular arrangement: Elements slightly tilted

## Self-Check

After generating code, verify:
1. Using paper-colored background not pure white
2. Borders are dashed or irregular style
3. Text uses serif italic
4. Elements have slight tilt
5. Overall feel is like a hand-drawn sketchbook

## Animation & Interaction Rules

- Pencil Shading: Hover can quickly shade line elements to pencil gray with inverted white text, simulating pencil smudging.
- Stroke Jitter: Interactions allow slight rotation and displacement jitter, preserving hand-drawn brush stroke instability.
- Scribble Reveal: Text emphasis prioritizes dashed/wavy underlines or hand-drawn trajectory styles.
- Paper Press: Active state should reduce shadow and enhance tilt, expressing pen-tip paper-pressing damping feel.

## Absolute Bans (Match and Refuse)

If any of the following patterns appear, it is a style violation — rewrite without exception.

- use perfect straight lines and rounded corners
- use pure white backgrounds (should use paper color)
- use gradient effects
- use glass blur effects
- use overly saturated colors
- use long smooth animations (hand-drawn feedback should be short and direct)
- use overly regular hover changes (need to preserve rough brush stroke feel)

## Self-Check (Verify Before Shipping)

If any item fails, the style has drifted — fix before shipping.

- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do NOT use perfect straight lines and rounded corners
- [ ] do NOT use pure white backgrounds (should use paper color)
- [ ] do NOT use gradient effects
- [ ] do NOT use glass blur effects
- [ ] do NOT use overly saturated colors

Community

Ratings & Feedback

Sign in to rate
0 comments
Sign in to post a comment. Sign In

Component Templates

Component Preview

按钮

手绘风格按钮,不规则边框

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

58%

Fallback

Dark Mode

35%

Fallback

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light / dark
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • This style contains dark-mode signals, but no curated dark token contract has been reviewed.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.

FAQ

Sketch Style — Frequently Asked Questions

01What is the Sketch Style design style?
A design style simulating pencil hand-drawing, with irregular line borders, paper texture backgrounds, handwritten font feel, sketch shadows, and doodle decorations, conveying a warm and approachable handcrafted texture. Its core principle: Sketch Style is a design style simulating hand-drawn pencil sketches, injecting warm handcrafted texture into digital interfaces through irregular lines, paper textures, and handwritten-feel elements.
02What colors does Sketch Style use?
Sketch Style uses #2c2c2c as its primary color and #f5f0e8 as its secondary color, with accent colors #e74c3c, #3498db, #27ae60, #f39c12. Every hex value can be copied from the palette on this page.
03How do I apply Sketch Style correctly?
Key practices: Use paper-colored background bg-[#f5f0e8]. Use irregular style borders border-2 border-dashed or wavy. Use handwritten-style or serif fonts.
04What are common mistakes with Sketch Style?
Avoid: Do NOT use perfect straight lines and rounded corners. Do NOT use pure white backgrounds (should use paper color). Do NOT use gradient effects.
05How do I prompt AI to generate Sketch Style UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Cursor, or v0. Effective prompts include the keywords: hand-drawn ui, sketch style, pencil sketch, doodle design.
Global Styles

Global CSS

css
/* Sketch Style 全局样式 */

:root {
  --sketch-dark: #2c2c2c;
  --sketch-paper: #f5f0e8;
  --sketch-red: #e74c3c;
  --sketch-blue: #3498db;
  --sketch-green: #27ae60;
  --sketch-yellow: #f39c12;
}

/* 纸张纹理背景 */
.sketch-paper {
  background-color: var(--sketch-paper);
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232c2c2c' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 手绘边框效果 */
.sketch-border {
  border: 2px dashed var(--sketch-dark);
  border-radius: 2px;
}

/* 交叉阴影效果 */
.sketch-shadow {
  box-shadow: 3px 3px 0 rgba(44, 44, 44, 0.15);
}

/* 手绘不规则效果 */
.sketch-wobbly {
  transform: rotate(-0.5deg);
}

.sketch-wobbly:nth-child(even) {
  transform: rotate(0.5deg);
}

/* 手写字体 */
.sketch-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
}

/* 铅笔下划线 */
.sketch-underline {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--sketch-dark);
  text-underline-offset: 4px;
}

/* 涂鸦圆圈标记 */
.sketch-circle {
  border: 2px solid var(--sketch-dark);
  border-radius: 50%;
  transform: rotate(-2deg);
}
@keyframes sketch-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sketch-style-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.sketch-style-card {
  position: relative;
  overflow: hidden;
}

.sketch-style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(44, 44, 44, 0.05), transparent);
  pointer-events: none;
}

.sketch-style-card:hover::before {
  opacity: 1;
}

.sketch-style-gradient {
  background: linear-gradient(135deg, #2c2c2c, #e74c3c);
}

.sketch-style-gradient-text {
  background: linear-gradient(135deg, #2c2c2c, #e74c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sketch-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(44, 44, 44, 0.08);
}

.sketch-style-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.sketch-style-animate-in {
  animation: sketch-style-fade-in 0.5s ease-out both;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

Sketch Style is a design style simulating hand-drawn pencil sketches, injecting warm handcrafted texture into digital interfaces through irregular lines, paper textures, and handwritten-feel elements.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

59

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 48/100Average Ratio: 5.4:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#2c2c2c / #f5f0e8
12.31:1
Secondary text on background
/#5a5a5a / #f5f0e8
6.08:1
Muted text on background
/#8a8a8a / #f5f0e8
3.04:1
Text on secondary background
/#2c2c2c / #e8e2d8
10.84:1
Secondary text on secondary
/#5a5a5a / #e8e2d8
5.35:1
Button primary
/#f5f0e8 / #2c2c2c
12.31:1
Text on accent 1
/#2c2c2c / #2c2c2c
1:1
Alt text on accent 1
/#5a5a5a / #2c2c2c
2.02:1
Text on accent 2
/#2c2c2c / #6b6b6b
2.62:1
Alt text on accent 2
/#5a5a5a / #6b6b6b
1.29:1
Text on accent 3
/#2c2c2c / #a0a0a0
5.34:1
Alt text on accent 3
/#5a5a5a / #a0a0a0
2.64:1

Readability

Score

85/100

Font Size

text-sm md:text-base

Font Weight

font-sans font-semibold tracking-normal

Line Height

default

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.

StyleKit

A curated web design style library to help AI generate better-looking websites.

FeedbackSupport Maintenance
Explore+
StylesTemplatesAnimationsResource LibraryPromptsCollections
Learn+
FoundationsGuideRecipesChangelogBlog
Trust+
AboutContactPrivacyTermsSupport UsRefunds

(c) 2026 StyleKit. Open source project.

闄旾CP澶?025065501鍙?3

Colophon/SK — 2026

Built with the Editorial style

01FeedbackTell us what could work better02Support MaintenanceIf StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

StyleKit

A curated web design style library to help AI generate better-looking websites.

GitHub Repository

Explore

StylesTemplatesAnimationsResource LibraryPromptsCollections

Learn

FoundationsGuideRecipesChangelogBlog

Dispatch

Get notified when new styles, templates and tools ship.

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsSupport UsRefunds/陕ICP备2025065501号-3

StyleKit