xiaohongshu
xiaohongshu
design-guide
Modern UI design principles and guidelines for building clean, professional interfaces. Use when creating any UI components, layouts, web pages, or interactive elements including buttons, forms, cards, navigation, or complete applications. Applies to HTML, CSS, React, Vue, Svelte, and any fronten...
Full skill instructions
Apply modern, minimal design principles focused on clarity, consistency, and professionalism. Every UI element should serve a purpose, with intentional use of space, color, and typography.
Whitespace is essential
Visual hierarchy
Base palette
Accent color
Forbidden patterns
Consistent spacing units
Application
Font selection
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serifSize hierarchy
Weight and style
Subtle elevation
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06)box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05)When to use
Border radius
Border usage
Required states for all interactive elements
Buttons
/* Default */
background: accent-color;
color: white;
padding: 12px 24px;
border-radius: 6px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
/* Hover */
background: slightly-darker-accent;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
/* Active */
transform: translateY(0);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
/* Disabled */
background: light-gray;
color: medium-gray;
cursor: not-allowed;
opacity: 0.6;
Links
Form inputs
Responsive thinking
Breakpoints
/* Mobile: base styles */
/* Tablet: 768px */
/* Desktop: 1024px */
/* Large desktop: 1440px */
Good example
<button class="btn-primary">
Save Changes
</button>
<style>
.btn-primary {
background: #0D9488;
color: white;
padding: 12px 24px;
border-radius: 6px;
border: none;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
background: #0F766E;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transform: translateY(-1px);
}
.btn-primary:disabled {
background: #D1D5DB;
color: #9CA3AF;
cursor: not-allowed;
transform: none;
}
</style>
Bad example
/* Avoid */
.btn-bad {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 5px 10px; /* Too small */
border-radius: 25px; /* Too rounded */
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5); /* Too heavy */
text-transform: uppercase;
letter-spacing: 2px;
}
Good example
<div class="card">
<h3 class="card-title">Dashboard</h3>
<p class="card-description">View your analytics and metrics</p>
</div>
<style>
.card {
background: white;
border: 1px solid #E5E5E5;
border-radius: 8px;
padding: 24px;
transition: border-color 0.2s ease;
}
.card:hover {
border-color: #D1D5DB;
}
.card-title {
font-size: 20px;
font-weight: 600;
margin-bottom: 8px;
color: #1A1A1A;
}
.card-description {
font-size: 16px;
color: #6B6B6B;
}
</style>
Bad example
/* Avoid */
.card-bad {
background: linear-gradient(to right, #fa709a, #fee140);
border: 3px solid purple;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
border-radius: 30px;
}
Good example
<form class="form">
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" placeholder="[email protected]">
<span class="form-hint">We'll never share your email</span>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" class="error">
<span class="form-error">Password must be at least 8 characters</span>
</div>
</form>
<style>
.form-group {
margin-bottom: 24px;
}
label {
display: block;
font-size: 14px;
font-weight: 500;
color: #2D2D2D;
margin-bottom: 8px;
}
input {
width: 100%;
padding: 12px 16px;
border: 1px solid #D1D5DB;
border-radius: 6px;
font-size: 16px;
transition: border-color 0.2s ease;
}
input:focus {
outline: none;
border-color: #0D9488;
box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
input.error {
border-color: #DC2626;
}
.form-hint {
font-size: 14px;
color: #6B6B6B;
margin-top: 4px;
display: block;
}
.form-error {
font-size: 14px;
color: #DC2626;
margin-top: 4px;
display: block;
}
</style>
Visual crimes
Structural issues
Before finalizing any UI component or page, verify:
Rules can be broken with explicit user request or specific brand requirements. Document the deviation and ensure consistency in the exception.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience