Slopstrap 4.2 推出,讓網站看起來像匆忙以 VibeCode 編寫
Slopstrap——让你的网站看起来像是匆忙用VibeCode编写的
Slopstrap 4.2 已推出,提供 CSS 框架及 JS 元件,讓網站呈現像由 LLM 匆忙生成的風格。它提供深色模式、光暈、狀態徽章、漸變文字、動畫和 Bento 網格,並可將既有 HTML 容器或整頁套用這套風格,再還原。項目亦提供 /agents 使用指引,供 Agent 使用 Slopstrap。
✨ Slopstrap 4.2 now available!
Make your site look hastily vibecoded.
It's not just a CSS framework — it's a load-bearing accelerant to make anything look like it was made by an LLM.
<!-- 1. Include Slopstrap CSS & JS -->
<link rel="stylesheet" href="./dist/slopstrap.css" />
<script src="./dist/slopstrap.js" defer></script>
<!-- 2. Enable full-page dark mode & ambient orbs -->
<body class="slop-body slop-grid-bg">
<div class="slop-orb-layer">
<div class="slop-orb slop-orb-purple"></div>
<div class="slop-orb slop-orb-cyan"></div>
</div>
<!-- Your content goes here ✨ -->
</body>Trusted by innovative teams at the world’s leading companies
🧩 Production-Ready Component Library
Get that LLM look without spending those LLM tokens.
Simple components you can copy-paste into your site to make it look like it was generated by a water-guzzling, nascent machine-god.
LIVE EXAMPLENO BACKEND REQUIRED
All Systems Operational AI Engine Active Quantum Synced Thinking Really Hard 0 Real Incidents RGB Overclocked
<span class="slop-status"> <span class="slop-dot slop-dot-green"></span> All Systems Operational </span> <span class="slop-status"> <span class="slop-dot slop-dot-purple"></span> AI Engine Active </span> <!-- Variants: green, purple, cyan, amber, pink, red, indigo, rainbow --> <span class="slop-status"> <span class="slop-dot slop-dot-rainbow"></span> RGB Overclocked </span>
LIVE EXAMPLE7 COLOR ACCENTS + ANIMATED RAINBOW
.slop-border-l-purple
.slop-border-l-cyan
.slop-border-l-emerald
.slop-border-l-amber
.slop-border-l-pink
.slop-border-l-gradient
.slop-border-l-rainbow
<div class="slop-card slop-border-l-purple"> Purple 4px accent stripe </div> <div class="slop-card slop-border-l-cyan"> Cyan 4px accent stripe </div> <div class="slop-card slop-border-l-gradient"> Glowing purple-to-cyan gradient stripe </div> <div class="slop-card slop-border-l-rainbow"> Animated vertical RGB left beam ✨ </div>
LIVE EXAMPLEHOVER FOR SHIMMER & GLOW
<button class="slop-btn slop-btn-primary"> ✨ Generate with AI → </button> <button class="slop-btn slop-btn-rainbow"> ⚡ Conic Rainbow Beam </button> <button class="slop-btn slop-btn-ghost"> Book a Demo </button> <!-- Sizes: .slop-btn-sm | default | .slop-btn-lg --> <button class="slop-btn slop-btn-primary slop-btn-lg"> ✨ Large Hero CTA </button>
LIVE EXAMPLESHIMMERING EYEBROW + BADGE VARIANTS
✨ Introducing v2.0 — Now with Agentic Workflows →
✨ MOST POPULAR AI-POWERED ✓ VERIFIED BETA EARLY ACCESS 10X FASTER SOC2 TYPE ∞
<div class="slop-pill slop-pill-shimmer"> <span class="slop-dot slop-dot-purple"></span> ✨ Introducing v2.0 — Now Live → </div> <span class="slop-badge slop-badge-popular">✨ MOST POPULAR</span> <span class="slop-badge slop-badge-ai">AI-POWERED</span> <span class="slop-badge slop-badge-emerald">✓ VERIFIED</span> <span class="slop-badge slop-badge-cyan">BETA</span> <span class="slop-badge slop-badge-amber">EARLY ACCESS</span>
LIVE EXAMPLECLIPPED LINEAR & ANIMATED GRADIENTS
Supercharge your workflow at scale
Hot Magenta-to-Indigo Gradient Subheading
Animated Rainbow Convergence Gradient Text
It’s not just body copy — it’s washed-out low-contrast slate-400 engineered for maximum SaaS authority.
<h1 class="slop-h1 slop-text-gradient"> Supercharge your workflow at scale </h1> <h3 class="slop-h3 slop-text-gradient-hot"> Hot Magenta-to-Indigo Subheading </h3> <h3 class="slop-h3 slop-text-gradient-animated"> Animated Rainbow Text </h3> <p class="slop-muted slop-sparkle"> Low-contrast slate body copy with automatic ✨ prefix. </p>
LIVE EXAMPLEINSTRUMENT SERIF ITALIC INSIDE INTER
Build the future of work.
Ship at unprecedented velocity.
Design with effortless precision.
<h2 class="slop-h2"> Build the <span class="slop-serif-emphasis">future</span> of work. </h2> <!-- Pair with a gradient for peak 2026 slop --> <h2 class="slop-h2"> Ship at <span class="slop-serif-emphasis slop-text-gradient-hot">unprecedented</span> velocity. </h2>
LIVE EXAMPLESWOOP, DOUBLE-STROKE & SQUIGGLE VARIANTS
Make your site look unmistakably vibecoded.
Ship 10x faster with zero restraint.
Now with animated RGB marker ink ✨
<!-- Default swooping purple-pink marker underline --> Make your <span class="slop-underline">site</span> look vibecoded. <!-- Styles: default | .slop-underline-double | .slop-underline-squiggle --> <!-- Colors: default | cyan | amber | emerald | pink | rainbow --> <!-- Draw-in animation: .slop-underline-animated --> <span class="slop-underline slop-underline-double slop-underline-amber"> 10x faster </span> <span class="slop-underline slop-underline-squiggle slop-underline-rainbow"> animated RGB </span>
LIVE EXAMPLEMOVE CURSOR OVER CARDS FOR SPOTLIGHT GLOW
⚡
NESTED ×2
⚡ Glass + Nested Card
Because one rounded box is never enough.
📦 Card inside a card
✨ Card inside a card inside a card
🌀
🌀 Rotating Border Beam
Continuous CSS @property conic gradient animation around the entire container
perimeter.
🚀
💎
🤖
<!-- Glass Card + Icon Squircle + Nested Card -->
<div class="slop-card slop-border-l-purple">
<div class="slop-icon-box">⚡</div>
<h3 class="slop-h3">⚡ Glass Card</h3>
<p class="slop-muted">With cursor spotlight.</p>
<div class="slop-card-nested slop-border-l-cyan">
📦 Card inside a card
</div>
</div>
<!-- Rotating Conic Border Beam Card -->
<div class="slop-card slop-card-beam">
<div class="slop-icon-box slop-icon-cyan">🌀</div>
<h3 class="slop-h3">🌀 Rotating Border Beam</h3>
</div>LIVE EXAMPLECOMBINABLE WITH ANY .slop-border-l-*
✨ AI Insight: We detected 0% purple gradients on your page and automatically injected 14.
🚀 Deployment Ready: Your landing page now looks identical to 12,400 other YC batches.
⚡ Pro Tip: Wrap at least one random word in .slop-serif-emphasis
for instant sophistication.
<div class="slop-alert slop-border-l-purple"> <span class="slop-dot slop-dot-purple"></span> <div><strong>✨ AI Insight:</strong> Injected 14 orbs.</div> </div> <div class="slop-alert slop-border-l-emerald"> <span class="slop-dot slop-dot-green"></span> <div><strong>🚀 Deployment Ready:</strong> All vibes green.</div> </div> <div class="slop-alert slop-border-l-amber"> <span class="slop-dot slop-dot-amber"></span> <div><strong>⚡ Pro Tip:</strong> Add more em-dashes.</div> </div>
LIVE EXAMPLE — .slop-bento (7 / 5 / 4 / 4 / 4)RESPONSIVE 12-COLUMN BENTO
.slop-bento-7
⚡ Wide Hero Bento Tile
Fracture any simple paragraph into an asymmetrical grid of glowing rounded boxes.
.slop-bento-5
🚀 Companion Tile
Pairs seamlessly with .slop-card-beam.
.slop-bento-4
🟢 Tile 1
Symmetrical 3-up bottom row.
.slop-bento-4
✨ Tile 2
Zero structural hierarchy required.
.slop-bento-4
🤖 Tile 3
Also available as .slop-grid-3.
<!-- 12-Column Asymmetrical Bento Grid (.slop-bento-4 | 5 | 6 | 7 | 8 | 12) --> <div class="slop-bento"> <div class="slop-card slop-bento-7 slop-border-l-purple">Wide Bento Tile</div> <div class="slop-card slop-card-beam slop-bento-5">Companion Tile</div> <div class="slop-card slop-bento-4 slop-border-l-emerald">Tile 1</div> <div class="slop-card slop-bento-4 slop-border-l-amber">Tile 2</div> <div class="slop-card slop-bento-4 slop-border-l-pink">Tile 3</div> </div> <!-- Or the Classic Symmetrical 3-Card Feature Grid --> <div class="slop-grid-3"> <div class="slop-card">Card 1</div> <div class="slop-card">Card 2</div> <div class="slop-card">Card 3</div> </div>
LIVE EXAMPLEAUTO-ANIMATES ON SCROLL VIA INTERSECTION OBSERVER
99.99%
Uptime or something
▲ +0.04% MoM
14.8M+
Users, probably
▲ +420% YoY
847K
That's like, a lot
Live
0
Bad things or events
✓ Certified
<div class="slop-grid-4">
<div class="slop-card slop-stat-card slop-border-l-purple">
<div class="slop-stat-value" data-slop-count="99.99%">99.99%</div>
<div class="slop-stat-label">Uptime or something</div>
<span class="slop-stat-delta">▲ +0.04% MoM</span>
</div>
<div class="slop-card slop-stat-card slop-border-l-cyan">
<div class="slop-stat-value" data-slop-count="14.8M+">14.8M+</div>
<div class="slop-stat-label">Users, probably</div>
<span class="slop-stat-delta">▲ +420% YoY</span>
</div>
<div class="slop-card slop-stat-card slop-border-l-emerald">
<div class="slop-stat-value" data-slop-count="847K">847K</div>
<div class="slop-stat-label">That's like, a lot</div>
<span class="slop-stat-delta"><span class="slop-dot slop-dot-green" style="width:0.35rem;height:0.35rem"></span> Live</span>
</div>
<div class="slop-card slop-stat-card slop-border-l-pink">
<div class="slop-stat-value" data-slop-count="0">0</div>
<div class="slop-stat-label">Bad things or events</div>
<span class="slop-stat-delta">✓ Certified</span>
</div>
</div>LIVE EXAMPLEHOVER TO PAUSE TRACK
<!-- Auto-populates 10 iconic startup logos (OpenAI, Stripe, Vercel, YC...) --> <div data-slop-marquee></div>
LIVE EXAMPLE — data-slop-testimonials="6"ACTUAL TEXT
<!-- Summon 1 to 6 pre-packaged synthetic thought leaders --> <div data-slop-testimonials="3"></div> <!-- Or render all 6 (Dr. Sarah Chen, Marcus Vance, Elena Rostova...) --> <div data-slop-testimonials="6"></div>
LIVE EXAMPLEPICK AN INDUSTRY & LENGTH
<!-- Industries: saas | ai | fintech | robotics | devices | defense -->
<div data-slop-prose="saas" data-slop-paragraphs="2"></div>
<!-- Or render programmatically via JS -->
<script>
Slopstrap.renderProse('#about-copy', 'saas', 2);
</script>See it work
See Slopstrap in action
One line of code can make a human-made site look like perfect LLM output.
Bob’s Local Plumbing & Pipe Repair
Serving the greater Springfield area since 1998. Honest hourly rates, licensed technicians, and we actually pick up the phone when your basement is flooding.
Our Services
- Leak Detection: We find leaky pipes behind drywall and fix them properly.
- Water Heaters: Same-day repair and replacement for tank and tankless units.
- Drain Cleaning: Commercial augers for kitchen sinks, tubs, and main sewer lines.
Weekend Hours
Open Saturday 8:00 AM – 4:00 PM. Emergency shut-off calls answered 24 hours a day.
// Transform any existing plain HTML container into full vibecoded slop:
Slopstrap.slopify('#plain-demo');
// Or revert it back to boring human-made HTML:
Slopstrap.unslopify('#plain-demo');
// Or slopify an entire page automatically on load:
// <body data-slop-auto>...</body>🤖 Agent Ready
Slopstrap for Agents
Why use an agent if people can't tell an agent made your site? Point your agent to /agents to
get all the instructions on how to use Slopstrap.
來源:Hacker News 熱門(buzzing.cc 中文翻譯) · slopstrap.mikelacher.com