v2.0.17~14kb gzipped#nobuildzero-config

Atomic CSS Engine No Build Step or Configuration Required

Maple is a variable-first, stack-agnostic CSS engine that generates atomic styles from utility classes only when they appear in the DOM.

UICSSOMMapleMutationObserverDOM
GET STARTED

Include Maple and Start Styling

Get Maple up and running in seconds. Whether you’re building with WordPress, Rails, React, Angular, or plain HTML, it works out of the box.

Introduction
index.html

<!doctype html>
<html lang="en">
  <head>
    <!-- Include Maple in the head -->
    <script src="https://cdn.jsdelivr.net/npm/@f12io/maple/dist/maple.js"></script>
  </head>
  <body>
    <!-- Start styling -->
    <div class="bgc-blue-500 c-white p-4 rad-2">Hello World</div>
  </body>
</html>
  
COLORS

Native Palette

Maple transforms native CSS colors into a fully shaded OKLCH palette. Use familiar tone stops like 50-950, or reach for any intermediate scale value when you need finer control.

Explore Native Palette
Adaptive
Easy Dark ModeAutomatic shade flipping
This component demonstrates how a single --l-shift variable can transform your entire interface for dark mode while maintaining perfect visual balance and contrast.
Dynamic Palette
DARK MODE

Hybrid Dark Mode

Maple provides a unique Hybrid Dark Mode Architecture that automatically supports both system preferences and manual toggles. A single --l-shift variable can transform your entire interface for dark mode while maintaining perfect visual balance and contrast.

Explore Dark Mode
ANIMATIONS

Interactive Motion

Apply rich motion using built-in aliases like fade-in, scale-in, or spin. Customize timing, delays, fill modes, and keyframe variables directly in markup.

Explore Animations
ping
pulse
bounce
spin
border-beam
gr cols-4 rows-3
col-2 row-2
R
Total Revenue
$128,430
col-2
U
Active Users
2,842
A
ACTIVITY
84%
Z
UPTIME
99.9%
col=1/-1
CPU14%
Memory68%
System Online
Updated just now
View Logs
LAYOUT

CSS Grid on Easy Mode

Maple's grid system provides high-level abstraction over CSS Grid via shorthand syntax for columns, rows, spanning, and named areas. Build complex, responsive layouts with minimal markup.

Explore Grid Layout

Ready to start?

Drop Maple into your project and style your interface right away. No build pipeline, no config files.

ESC

Start typing to search across the documentation.