HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /F-Pattern Layout
Style Catalog/F-Pattern Layout

F-Pattern Layout

F型布局

D
58/100Poor

An F-pattern scanning layout based on eye-tracking research, where the user's gaze starts from the top-left, scans horizontally across the top, then moves downward, ideal for content-heavy pages, blog posts, and news listings.

f-pattern layoutf-shaped scanningeye trackingreading patterncontent-heavy layoutblog layoutnews websiteux layout patternsscannable contentleft-aligned layout
View Full Showcase →Templates

Best For

f-pattern layout / f-shaped scanning / eye tracking

Primary Move

Place the most important content at the top of the page (first horizontal line)

Watch Out

Do NOT place important content in the bottom-right corner

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#1a1a2e

Secondary

#f8f9fa

Accent 1

#e63946

Accent 2

#457b9d

Accent 3

#2a9d8f

Accent 4

#e9c46a

AI ImplementationComponent PreviewReadinessFAQExportsRatings & Feedback

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: F-Pattern Layout
style_slug: f-pattern-layout
style_source: /styles/f-pattern-layout

# 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 an F-Pattern Layout expert. All generated code must strictly follow these constraints:

## Layout Rules

- Place the most important information at the top of the page (logo, navigation, featured content)
- Place secondary information on the second row (categories, search)
- Place main content area on the left (article list)
- Place auxiliary content on the right (sidebar)
- All text left-aligned text-left

## Content Hierarchy

First layer (full-width top):
- Navigation bar
- Featured article/headline

Second layer (secondary horizontal area):
- Category tags
- Search bar

Third layer (left vertical list):
- Article list
- Content cards with thumbnails

Auxiliary area (right side):
- Trending recommendations
- Tag cloud
- Ad space

## Responsive

Desktop: Left main content + right sidebar
Tablet: Full-width main content + collapsed sidebar
Mobile: Single column stacked

## Self-Check

1. Most important content at top and top-left
2. Clear heading hierarchy
3. Text left-aligned
4. Content quickly scannable
5. Responsive adaptation complete

## Animation & Interaction Rules

- Eye-Tracking Guides: List item hover allows main title to slightly shift right (e.g., `translate-x-1`) or underline to appear, helping quickly lock on during scanning phase.
- Fast Feedback: News-type interactions recommend `duration-150` to `duration-200`, avoiding lengthy transitions that interrupt reading.
- Contrast Pop: Current hover item can be briefly separated from the information flow through slight shadow or border contrast enhancement.
- Image Focus: Thumbnail hover can increase contrast or brightness as clickable feedback, but the magnitude must be restrained.

## Absolute Bans (Match and Refuse)

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

- place important content in the bottom-right corner
- center-align large blocks of text
- ignore content priority ordering
- use excessively long unsegmented text
- leave too much whitespace on the left side

## 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 place important content in the bottom-right corner
- [ ] do NOT center-align large blocks of text
- [ ] do NOT ignore content priority ordering
- [ ] do NOT use excessively long unsegmented text
- [ ] do NOT leave too much whitespace on the left side

Component Templates

Component Preview

按钮

F型布局中的 CTA 按钮

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

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
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

  • No curated dark-mode contract exists yet.
  • 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

F-Pattern Layout — Frequently Asked Questions

01What is the F-Pattern Layout design style?
An F-pattern scanning layout based on eye-tracking research, where the user's gaze starts from the top-left, scans horizontally across the top, then moves downward, ideal for content-heavy pages, blog posts, and news listings. Its core principle: F-Pattern Layout is based on eye-tracking research by the Nielsen Norman Group, where users browse web pages with their gaze moving in an F-shape: first scanning horizontally across the top content, then moving down for a second (shorter) horizontal scan, and finally browsing vertically down the left side.
02What colors does F-Pattern Layout use?
F-Pattern Layout uses #1a1a2e as its primary color and #f8f9fa as its secondary color, with accent colors #e63946, #457b9d, #2a9d8f, #e9c46a. Every hex value can be copied from the palette on this page.
03How do I apply F-Pattern Layout correctly?
Key practices: Place the most important content at the top of the page (first horizontal line). Place navigation or key information on the left side (vertical line). Use clear heading hierarchy h1 > h2 > h3.
04What are common mistakes with F-Pattern Layout?
Avoid: Do NOT place important content in the bottom-right corner. Do NOT center-align large blocks of text. Do NOT ignore content priority ordering.
05How do I prompt AI to generate F-Pattern Layout 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: f-pattern layout, f-shaped scanning, eye tracking, reading pattern.
Global Styles

Global CSS

css
/* F-Pattern Layout 全局样式 */

/* F型布局容器 */
.f-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 顶部扫描区(F的第一笔) */
.f-top-bar {
  width: 100%;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

/* 第二扫描区(F的第二笔,较短) */
.f-secondary {
  width: 75%;
  padding: 1.5rem 0;
}

/* 垂直扫描区(F的竖线) */
.f-vertical {
  display: flex;
  gap: 2rem;
}

.f-vertical-main {
  flex: 1;
}

.f-vertical-aside {
  width: 250px;
  flex-shrink: 0;
}

/* 内容优先级 */
.f-priority-high {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

.f-priority-medium {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
}

.f-priority-low {
  font-size: 0.875rem;
  color: #6b7280;
}

/* 响应式 */
@media (max-width: 768px) {
  .f-vertical {
    flex-direction: column;
  }
  .f-vertical-aside {
    width: 100%;
  }
  .f-secondary {
    width: 100%;
  }
}
/* F-Pattern Layout Design Tokens */
:root {
  --f-pattern-layout-primary: #1a1a2e;
  --f-pattern-layout-secondary: #f8f9fa;
  --f-pattern-layout-accent: #e63946;
  --f-pattern-layout-glow: rgba(26, 26, 46, 0.3);
}

@keyframes f-pattern-layout-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes f-pattern-layout-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.f-pattern-layout-card {
  position: relative;
  overflow: hidden;
}

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

.f-pattern-layout-card:hover::before {
  opacity: 1;
}

.f-pattern-layout-gradient {
  background: linear-gradient(135deg, #1a1a2e, #e63946);
}

.f-pattern-layout-gradient-text {
  background: linear-gradient(135deg, #1a1a2e, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.f-pattern-layout-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(26, 26, 46, 0.08);
}

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

.f-pattern-layout-animate-in {
  animation: f-pattern-layout-fade-in 0.5s ease-out both;
}

Compatible Visual Styles

Try Pairing

F-Pattern Layout is a layout pattern that can be paired with the following visual styles.

Editorial

编辑杂志风

Corporate Clean

企业简洁风

Minimalist Flat

极简扁平风

Notion Style

Notion 风格

Swiss International

瑞士国际风格

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

F-Pattern Layout is based on eye-tracking research by the Nielsen Norman Group, where users browse web pages with their gaze moving in an F-shape: first scanning horizontally across the top content, then moving down for a second (shorter) horizontal scan, and finally browsing vertically down the left side.

Accessibility

Accessibility Score

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

58

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 52/100Average Ratio: 6.28:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#1a1a2e / #f8f9fa
16.18:1
Secondary text on background
/#4b5563 / #f8f9fa
7.17:1
Muted text on background
/#9ca3af / #f8f9fa
2.41:1
Text on secondary background
/#1a1a2e / #ffffff
17.06:1
Secondary text on secondary
/#4b5563 / #ffffff
7.56:1
Button primary
/#ffffff / #e63946
4.17:1
Text on accent 1
/#1a1a2e / #e63946
4.09:1
Alt text on accent 1
/#4b5563 / #e63946
1.81:1
Text on accent 2
/#1a1a2e / #457b9d
3.71:1
Alt text on accent 2
/#4b5563 / #457b9d
1.65:1
Text on accent 3
/#1a1a2e / #2a9d8f
5.13:1
Alt text on accent 3
/#4b5563 / #2a9d8f
2.27:1
Text on accent 4
/#1a1a2e / #e9c46a
10.21:1
Alt text on accent 4
/#4b5563 / #e9c46a
4.52:1

Readability

Score

73/100

Font Size

text-sm md:text-base

Font Weight

font-semibold tracking-tight

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.

Design Recipes

Recommended Combinations with F-Pattern Layout

These curated recipes combine this style with layouts and animations, optimized for specific use cases.

Editorial Blog

Magazine-quality typography for long-form content.

editorialf-pattern-layout+1
elegantlightprofessional

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