HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Stripe Style
Style Catalog/Stripe 风格

Stripe 风格

Stripe Style

D
57/100Poor

A refined and professional fintech style featuring Stripe purple as the primary color, complemented by gradient grid backgrounds, elegant card shadows, and smooth animations, ideal for payment products and developer tools.

Stripe金融支付SaaS开发者专业科技moderncontemporarysleek
View Full Showcase →Templates

Best For

Stripe / 金融 / 支付

Primary Move

Use Stripe purple #635bff as the primary color

Watch Out

Do NOT use overly vibrant color schemes

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#635bff

Secondary

#0a2540

Accent 1

#00d4ff

Accent 2

#7a73ff

Accent 3

#80e9ff

Accent 4

#9f9aff

AI ImplementationComponent PreviewReadinessExportsRatings & 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: Stripe Style
style_slug: stripe-style
style_source: /styles/stripe-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 Stripe Style design frontend development expert. All generated code must strictly follow these constraints:

## Absolute Prohibitions

- Using non-Stripe brand colors as primary
- Using excessively large radii rounded-3xl, rounded-full (except buttons)
- Using rough single-layer shadows
- Ignoring grid background elements
- Using unprofessional color schemes

## Must Follow

- Primary color Stripe purple #635bff
- Dark text #0a2540
- Background color #f6f9fc
- Refined multi-layer shadows
- Moderate radii rounded-lg, rounded-xl
- Smooth transition animations

## Color Palette

Primary:
- Stripe purple: bg-[#635bff], text-[#635bff]
- Dark blue: text-[#0a2540]
- Background: bg-[#f6f9fc]

Accent colors:
- Cyan: #00d4ff
- Light purple: #7a73ff
- Bright cyan: #80e9ff

## Shadows

Card shadow:
shadow-[0_2px_4px_rgba(0,0,0,0.04),0_8px_16px_rgba(0,0,0,0.08)]

Button shadow:
shadow-[0_2px_4px_rgba(99,91,255,0.2),0_4px_8px_rgba(99,91,255,0.2)]

## Grid Background

Use CSS linear gradients to create grid:
background-image: linear-gradient(to right, rgba(99,91,255,0.1) 1px, transparent 1px),
                  linear-gradient(to bottom, rgba(99,91,255,0.1) 1px, transparent 1px);
background-size: 40px 40px;

## Self-Check

After generating code, verify:
1. Stripe purple used as primary color
2. Shadows are refined and multi-layered
3. Grid background elements present
4. Overall feel is professional and trustworthy

## Animation & Interaction Rules

- Fluid SaaS Motion: Button hover uses `hover:-translate-y-0.5 transition-all duration-[300ms] ease-out` -- SaaS feels responsive but never jarring. Never use `ease-in-out` (too slow) or instantaneous cuts.
- Floating Matrix: Card hover lifts with `hover:-translate-y-1 hover:shadow-[0_12px_30px_rgba(0,0,0,0.08)] transition-all duration-[400ms] ease-out`. The icon area uses `group-hover:scale-110 transition-transform duration-[400ms]` -- the card becomes interactive, the icon celebrates.
- Liquid Gradient Focus: Button uses inset highlight `shadow-[0_2px_5px_rgba(99,91,255,0.4),inset_0_1px_0_rgba(255,255,255,0.2)]` at rest, maintained on hover -- simulates convex glass surface catching light. Never use a flat-color button with no shadow.
- Hairline Crispness: Active press is `active:scale-[0.98] active:translate-y-0 active:shadow-[inset_0_2px_4px_rgba(0,0,0,0.2)]` -- the button physically depresses. The outer glow disappears; only the inset concave shadow remains.

Component Templates

Component Preview

按钮

Stripe 风格按钮,Liquid Gradient Focus 内嵌高光 + Fluid SaaS Motion `duration-[300ms] ease-out` + Hairline Crispness active 下压感

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.
Global Styles

Global CSS

css
/* Stripe Style 全局样式 */

:root {
  --stripe-purple: #635bff;
  --stripe-purple-light: #7a73ff;
  --stripe-dark: #0a2540;
  --stripe-cyan: #00d4ff;
  --stripe-bg: #f6f9fc;
  --stripe-grid: rgba(99, 91, 255, 0.1);
}

/* 网格背景 */
.stripe-grid-bg {
  background-image:
    linear-gradient(to right, var(--stripe-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--stripe-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Stripe 风格卡片阴影 */
.stripe-card {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.stripe-card:hover {
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Stripe 风格按钮 */
.stripe-button {
  background: var(--stripe-purple);
  box-shadow:
    0 2px 4px rgba(99, 91, 255, 0.2),
    0 4px 8px rgba(99, 91, 255, 0.2);
  transition: all 0.2s ease;
}

.stripe-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(99, 91, 255, 0.3),
    0 8px 16px rgba(99, 91, 255, 0.2);
}

/* 代码块样式 */
.stripe-code {
  background: var(--stripe-dark);
  border-radius: 8px;
  font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}
@keyframes stripe-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

.stripe-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(99, 91, 255, 0.08);
}

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

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

Compatible Layout Patterns

Recommended Layouts

The following layout patterns pair well with the Stripe 风格 style.

Z型布局

Z-Pattern Layout

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

Stripe Style is a refined design style originating from Stripe, known for its signature purple and professional visual language. Through gradient grid backgrounds, elegant card shadows, and smooth animations, it conveys trust and technical prowess.

Accessibility

Accessibility Score

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

57

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 45/100Average Ratio: 5.42:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#0a2540 / #ffffff
15.54:1
Secondary text on background
/#4b5563 / #ffffff
7.56:1
Muted text on background
/#9ca3af / #ffffff
2.54:1
Text on secondary background
/#0a2540 / #f6f9fc
14.7:1
Secondary text on secondary
/#4b5563 / #f6f9fc
7.15:1
Button primary
/#ffffff / #635bff
4.7:1
Text on accent 1
/#0a2540 / #635bff
3.31:1
Alt text on accent 1
/#4b5563 / #635bff
1.61:1
Text on accent 2
/#0a2540 / #0a2540
1:1
Alt text on accent 2
/#4b5563 / #0a2540
2.06:1
Text on accent 3
/#0a2540 / #635bff
3.31:1
Alt text on accent 3
/#4b5563 / #635bff
1.61:1

Readability

Score

85/100

Font Size

text-base

Font Weight

font-semibold text-[#0a2540]

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 Stripe Style

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

Stripe-Style Minimal

Clean, trustworthy design inspired by Stripe. Great for fintech and B2B.

stripe-stylehero-fullscreen+2
minimalprofessionalhigh-conversion

StyleKit

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

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

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


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3