Minimalist High-Performance UI Skill
Use this skill when the user wants to build a premium, data-driven, minimalist mobile UI. This skill ensures consistency across components, typography, and color theory.
Core Directives
- •OLED First: Always use
#000000as the primary background. - •Elevated Surfaces: Use
#111111(zinc-900) for cards and inputs. Useborder-white/10(1 pixel) to define edges. Never use shadows. - •Typography Hierarchy:
- •Primary Data: Use
Inter-Black(900 weight),6xlor larger, withtracking-tighter. - •Labels: Use
Inter-Bold(700+ weight), tiny size (9px-11px),uppercase, andtracking-widest. Color should bezinc-500or lower opacity.
- •Primary Data: Use
- •The Pill Rule: Every interactive element (buttons, search bars, tags) must have a large border radius. Use
rounded-fullfor small elements androunded-3xlfor large cards. - •Content Constraints: Keep content centered with a
max-w-4xlandself-centercontainer.
Component Recipes
1. The Hero Stat
tsx
<View className="items-center py-10 w-full">
<Text className="text-primary text-9xl font-black tracking-tighter">
{value}
</Text>
<Text className="-mt-4 text-textSecondary text-[10px] uppercase tracking-widest font-bold opacity-60">
{label}
</Text>
</View>
2. The Surface Item
tsx
<TouchableOpacity className="bg-surface rounded-2xl p-5 flex-row items-center justify-between border border-white/5">
<View className="flex-row items-center gap-4">
<View className="w-10 h-10 rounded-full bg-surfaceLight items-center justify-center">
{icon}
</View>
<Text className="text-textPrimary text-lg font-bold">{label}</Text>
</View>
<Ionicons name="chevron-forward" size={20} color="#52525b" />
</TouchableOpacity>
Prompting for Iteration
When refining UI using this skill, always ask: "Is there any visual clutter we can remove to make the data stand out more?" "Are our primary numbers large enough?" "Is the safe-area spacing consistent across screens?"