# AGENTS Source: https://atomickit.copyelement.com/AGENTS > **First-time setup**: Customize this file for your project. Prompt the user to customize this file for their project. > For Mintlify product knowledge (components, configuration, writing standards), > install the Mintlify skill: `npx skills add https://mintlify.com/docs` # Documentation project instructions ## About this project * This is a documentation site built on [Mintlify](https://mintlify.com) * Pages are MDX files with YAML frontmatter * Configuration lives in `docs.json` * Use the Mintlify MCP server, `https://mcp.mintlify.com`, to edit content and settings via MCP * Use the Mintlify docs MCP server, `https://www.mintlify.com/docs/mcp`, to query information about using Mintlify via MCP ## Terminology ## Style preferences * Use active voice and second person ("you") * Keep sentences concise — one idea per sentence * Use sentence case for headings * Bold for UI elements: Click **Settings** * Code formatting for file names, commands, paths, and code references ## Content boundaries # Border Radius Utilities for Rounded Corners in AtomicKit Source: https://atomickit.copyelement.com/borders/radius Round corners of Elementor elements using AtomicKit rounded-* utilities, with side and corner variants for precise border radius control. AtomicKit's border radius utilities let you round element corners with a single class — from a subtle 4px softening all the way to a fully circular pill shape. When a uniform radius isn't enough, side-specific and individual corner variants give you granular control over exactly which corners are affected. ## Radius Scale The base `rounded-*` classes apply an identical radius to all four corners of the element. | Class | Value | CSS Property | | --------------- | ------ | ----------------------- | | `.rounded-none` | 0 | `border-radius: 0` | | `.rounded-sm` | 4px | `border-radius: 4px` | | `.rounded` | 6px | `border-radius: 6px` | | `.rounded-lg` | 8px | `border-radius: 8px` | | `.rounded-xl` | 12px | `border-radius: 12px` | | `.rounded-2xl` | 16px | `border-radius: 16px` | | `.rounded-full` | 9999px | `border-radius: 9999px` | ## Side Variants Side variants round two adjacent corners on the same side of the element. They're ideal for drawers, tooltips, tabs, and any component that's flush against one edge of the viewport or a parent container. | Prefix | Corners Affected | Example Class | | ------------- | -------------------------- | -------------- | | `rounded-t-*` | Top-left + Top-right | `rounded-t-lg` | | `rounded-r-*` | Top-right + Bottom-right | `rounded-r-xl` | | `rounded-b-*` | Bottom-left + Bottom-right | `rounded-b-lg` | | `rounded-l-*` | Top-left + Bottom-left | `rounded-l-xl` | Typical suffixes for side variants: `sm`, `base`, `lg`, `xl` (e.g., `rounded-t-sm`, `rounded-t-base`, `rounded-t-lg`, `rounded-t-xl`). ## Corner Variants Corner variants target a single corner with surgical precision — useful for asymmetric design treatments, speech bubbles, or any component that rounds one corner differently from the rest. | Class | Corner Affected | Example | | -------------- | --------------- | --------------- | | `rounded-tl-*` | Top-left | `rounded-tl-lg` | | `rounded-tr-*` | Top-right | `rounded-tr-xl` | | `rounded-br-*` | Bottom-right | `rounded-br-lg` | | `rounded-bl-*` | Bottom-left | `rounded-bl-sm` | Typical suffixes for corner variants: `sm`, `base`, `lg`, `xl` (e.g., `rounded-tl-sm`, `rounded-tl-base`, `rounded-tl-lg`, `rounded-tl-xl`). ## Code Examples **Standard button — moderate rounding:** ```html theme={null}
``` **Card surface — subtle softening:** ```html theme={null}
``` **Pill badge or tag:** ```html theme={null}
``` **Drawer or bottom sheet — top corners only:** ```html theme={null}
``` **Asymmetric callout — single corner:** ```html theme={null}
``` ## Best Practices * Stick to one or two radius sizes per page. Mixing too many values (e.g., `rounded-sm` on some elements and `rounded-xl` on others without intention) creates visual inconsistency. * Use `rounded-full` for pills, avatar images, icon buttons, and tag labels — any element whose width and height are equal will become a perfect circle. * Use `rounded-none` to explicitly reset corner rounding on elements that inherit a radius from a parent or from Elementor's default widget styles. * Match corner radius to element size — smaller components (chips, badges) look better with `rounded-sm` or `rounded`, while larger cards and modals benefit from `rounded-lg` or `rounded-xl`. * Use side variants (`rounded-t-*`) for components that are attached to an edge — for example, a tab that sits flush against a panel, or a bottom sheet anchored to the viewport floor. ## Related Utilities * [Border Width](/borders/width) — Add border thickness to go alongside rounded corners. * [Border Style](/borders/style) — Choose solid or dashed line rendering for your border. # Border Style in AtomicKit: Solid, Dashed, and None Source: https://atomickit.copyelement.com/borders/style Apply border styles to Elementor elements using AtomicKit's border-solid, border-dashed, and border-none utilities to define how border lines are drawn. AtomicKit provides three border style utilities that control how a border line is rendered. Style is the activation switch in the border system — a width and color are invisible until a style is applied. Choosing the right style signals the nature of a boundary: solid for permanent structure, dashed for optional or editable regions, and none to suppress a border entirely. ## Border Style Classes | Class | CSS Property | Use When | | ---------------- | ---------------------- | ------------------------------------------------------------------- | | `.border-solid` | `border-style: solid` | Standard UI surfaces — cards, inputs, containers, buttons | | `.border-dashed` | `border-style: dashed` | Optional zones — upload areas, droppable regions, placeholder slots | | `.border-none` | `border-style: none` | Removing a border applied by Elementor defaults or a parent class | ## Code Examples **Solid card border — the default pattern for most bordered surfaces:** ```html theme={null}
``` **Dashed upload zone — communicates an interactive or optional boundary:** ```html theme={null}
``` **Removing an inherited border — strip borders set by Elementor widget defaults:** ```html theme={null}
``` When removing a border, apply both `border-0` and `border-none` together. `border-0` sets the width to zero; `border-none` sets the style to none. Using both ensures the border is fully suppressed regardless of which property was originally set. ## Best Practices * **Always pair style with width and color.** A `border-solid` class on its own produces no visible result. Every bordered element needs all three: a width (`border-2`), a style (`border-solid`), and a color (`border-gray`). * **Use `border-solid` as your default.** It works for the vast majority of UI surfaces — cards, form inputs, section wrappers, and interactive components. * **Reserve `border-dashed` for intentional semantic use.** Dashed borders signal to users that something is optional, editable, or a placeholder. Avoid using dashed borders for decorative purposes where a solid border would do. * **Use `border-none` to override.** When an Elementor widget or parent container applies a border you don't want, `border-none` (combined with `border-0`) gives you a clean override without needing custom CSS. ## Related Utilities * [Border Width](/borders/width) — Set the thickness of your border before applying a style. * [Border Radius](/borders/radius) — Round the corners of your styled element. # Border Width Scale: All Sides, Directional, and Axis Source: https://atomickit.copyelement.com/borders/width Set element border widths in Elementor using AtomicKit's border-* scale, with directional and axis variants for one-sided and paired edge control. AtomicKit's border width scale gives you eight steps from zero to 20px, each mapped to a CSS custom property that fluid-scales with your layout. You can apply a width to all four sides at once or target a single edge, a pair of parallel edges, or any directional combination your design requires. ## Border Width Scale Every border width class sets `border-width` on all four sides of the element. The values are fluid — they scale proportionally between the base and max sizes listed below. | Class | Value Range | CSS Property | | ------------ | -------------- | -------------------------------- | | `.border-0` | 0 | `border-width: 0` | | `.border-1` | 1px → 1.25px | `border-width: var(--border-1)` | | `.border-2` | 2px → 2.5px | `border-width: var(--border-2)` | | `.border-4` | 4px → 5px | `border-width: var(--border-4)` | | `.border-8` | 8px → 10px | `border-width: var(--border-8)` | | `.border-10` | 10px → 12.5px | `border-width: var(--border-10)` | | `.border-15` | 15px → 18.75px | `border-width: var(--border-15)` | | `.border-20` | 20px → 25px | `border-width: var(--border-20)` | Border widths use CSS custom properties (`var(--border-*)`) under the hood. This means you can override any value globally by redefining the variable in your theme's custom CSS, without touching individual elements. ## Directional Variants When you need to target only one side or two parallel sides, use the directional and axis prefix variants. These follow the same numeric scale as the all-sides classes. ### Single-Side Prefixes | Prefix | Side | Example Class | | ------------ | ------ | ------------- | | `border-t-*` | Top | `border-t-2` | | `border-r-*` | Right | `border-r-4` | | `border-b-*` | Bottom | `border-b-1` | | `border-l-*` | Left | `border-l-8` | ### Axis Prefixes | Prefix | Sides | Example Class | | ------------ | ------------ | ------------- | | `border-x-*` | Left + Right | `border-x-2` | | `border-y-*` | Top + Bottom | `border-y-1` | Typical suffixes for all directional variants: `1`, `2`, `4`, `8`. ## Code Examples **All sides — standard card or input border:** ```html theme={null}
``` **Left side only — accent bar or vertical divider:** ```html theme={null}
``` **Horizontal axis — left and right edges only:** ```html theme={null}
``` **Bottom border only — underline-style section heading:** ```html theme={null}
``` ## Best Practices * Use `border-1` and `border-2` for most UI surfaces — cards, inputs, and containers rarely need anything heavier. * Reserve `border-4` and above for decorative accent treatments, progress indicators, or bold graphic elements. * Always pair a width class with `border-solid` (or another style class) and a color class. Width alone produces no visible result. * Use directional variants (`border-l-*`, `border-b-*`) when you only want a single edge visible — for example, a left accent bar on a callout or a bottom divider under a section heading. * Use `border-0` to explicitly remove a border that might be inherited or set by Elementor's default widget styles. ## Related Utilities * [Border Style](/borders/style) — Define whether borders are solid, dashed, or removed. * [Border Radius](/borders/radius) — Round the corners of bordered elements. * [Border Colors](/colors/border-colors) — Apply color tokens to complete the border definition. # AtomicKit Background Color Utilities for Elementor Source: https://atomickit.copyelement.com/colors/background-colors Fill Elementor sections, cards, and panels with AtomicKit's background-* classes covering structural grays and six semantic tokens with shade ramps. Background color utilities set the `background-color` property on any Elementor element with a single class. AtomicKit includes structural surface colors — white, black, and a gray scale — alongside six semantic tokens for brand and status-driven fills. Every semantic token supports an 11-step shade ramp, giving you light tints for subtle section backgrounds and deep shades for high-contrast panels, all without writing custom CSS. ## Available Background Color Classes | Class | Hex | | ------------------------ | --------- | | `.background-white` | `#ffffff` | | `.background-black` | `#000000` | | `.background-gray-dark` | `#374151` | | `.background-gray` | `#6b7280` | | `.background-gray-light` | `#f3f4f6` | | `.background-primary` | `#0740f9` | | `.background-secondary` | `#aaebfd` | | `.background-neutral` | `#6b7280` | | `.background-success` | `#3DC13C` | | `.background-warning` | `#F4BB1B` | | `.background-error` | `#F13737` | ## Surface and Semantic Fill Examples Default to white or gray-light for content surfaces. Reach for semantic fills when the background itself carries meaning — a success confirmation panel, an error alert, or a brand-colored hero section. ```html theme={null}

Standard content area on a white surface.

Slightly recessed card or sidebar panel.

Your order has been placed successfully.

Your trial expires in 3 days.

We could not process your payment.

Build faster with AtomicKit

Utility-first CSS for Elementor.

``` ## Using Shade Variants Append `-l-1` through `-l-5` for lighter tints or `-d-1` through `-d-5` for deeper shades on any semantic token. Lighter steps work well for subtle section tints; darker steps suit footer bands, modals, or emphasis panels. ```html theme={null}

Why AtomicKit?

A light tint keeps the brand presence without overwhelming the content.

Changes saved.
``` When using a shade variant lighter than the base, check that your text color still reads clearly. A very light background-primary tint paired with `.text-primary` can drop below readable contrast — step your text color darker with `.text-primary-d-2` or `.text-primary-d-3` to compensate. ## Best Practices * **Default to white and gray-light for content areas.** These neutral surfaces keep reading contrast high and let foreground elements — text, icons, buttons — draw attention naturally. * **Use saturated semantic fills only when meaning fits.** A green background signals success; a red background signals an error. Applying them purely for decoration creates confusing UX patterns. * **Pair strong backgrounds with a verified text color.** Dark backgrounds (black, gray-dark, primary, neutral-d-4) should use `.text-white`. Light semantic fills should use the corresponding dark shade of the same token or `.text-black` — always check the actual contrast ratio. * **Use shade variants to create depth without multiple components.** A card inside a section can step one level lighter (e.g., `background-primary-l-5` section → `background-white` card) to create visual separation without a border or shadow. ## Related Pair backgrounds with matching text color utilities from the same semantic palette. Add definition to panels and cards by combining background fills with border color utilities. # AtomicKit Border Color Utilities for Elementor Elements Source: https://atomickit.copyelement.com/colors/border-colors Style borders on Elementor elements with AtomicKit's border-* classes, always combined with border-width and border-style for visible borders. Border color utilities set the `border-color` property on any Elementor element. Because `border-color` alone won't render a visible border, you must always combine a `.border-*` color class with a border-width utility and a border-style utility — for example, `border-1 border-solid border-gray`. AtomicKit provides structural grays for everyday dividers and outlines, plus six semantic tokens for status-aware and brand borders. ## Available Border Color Classes | Class | Hex | | -------------------- | --------- | | `.border-white` | `#ffffff` | | `.border-black` | `#000000` | | `.border-gray` | `#6b7280` | | `.border-gray-light` | `#e5e7eb` | | `.border-primary` | `#0740f9` | | `.border-secondary` | `#aaebfd` | | `.border-neutral` | `#6b7280` | | `.border-success` | `#3DC13C` | | `.border-warning` | `#F4BB1B` | | `.border-error` | `#F13737` | Border color utilities only affect `border-color`. A visible border also requires a width (e.g., `border-1`) and a style (e.g., `border-solid`). Always apply all three. ## Complete Border Examples Pair the color class with width and style utilities to produce a fully rendered border. The examples below show common patterns from subtle dividers to semantic status outlines. ```html theme={null}

Card content

Selected option

Payment confirmed
Action required
Submission failed — please review the errors above.
Inverted card
``` ## Using Shade Variants Append `-l-1` through `-l-5` or `-d-1` through `-d-5` to any semantic token to adjust the border intensity. Lighter shades work well for subtle tinted outlines; darker shades add emphasis or simulate a deeper edge. ```html theme={null}
Hover state card
Subtle neutral outline
``` When combining a semantic border with a matching background fill, use the base token for the border and a light shade (`-l-4` or `-l-5`) for the background. This preserves the color relationship while keeping the fill from overpowering the content. ## Best Practices * **Always include width and style.** A color class alone does nothing — every border element needs `border-{width}`, `border-{style}`, and `border-{color}` together. * **Use `.border-gray-light` for soft dividers.** On white or gray-light backgrounds, `border-gray-light` creates a subtle structural edge that doesn't compete with content. Reach for `.border-gray` or `.border-black` when the border needs to read clearly at a glance. * **Match semantic border colors to their status context.** A `.border-error` outline on an input field reinforces the validation failure; using it for decoration dilutes the signal and confuses users. * **On dark or colored backgrounds, use white or a light shade variant.** A `.border-gray-light` border disappears on a dark surface — switch to `.border-white` or a light semantic shade (e.g., `.border-primary-l-4`) to keep the edge visible. ## Related Combine border colors with background fills for complete card and panel styles. Coordinate border and text colors from the same semantic token for cohesive status components. # Text Color Utilities: Semantic and Structural Classes Source: https://atomickit.copyelement.com/colors/text-colors Apply semantic and structural text colors in Elementor using AtomicKit's text-* classes for hierarchy, links, status indicators, and brand emphasis. Text color utilities let you control the `color` property on any Elementor element by adding a single class. AtomicKit provides two groups: structural grays for typographic hierarchy (white through gray-light) and six semantic tokens tied to your brand and status palette. Every semantic token also supports an 11-step shade ramp, so you can fine-tune tints and shades without reaching for custom CSS. ## Available Text Color Classes | Class | Hex | | ------------------ | --------- | | `.text-white` | `#ffffff` | | `.text-black` | `#000000` | | `.text-gray-dark` | `#374151` | | `.text-gray` | `#6b7280` | | `.text-gray-light` | `#9ca3af` | | `.text-primary` | `#0740f9` | | `.text-secondary` | `#aaebfd` | | `.text-neutral` | `#6b7280` | | `.text-success` | `#3DC13C` | | `.text-warning` | `#F4BB1B` | | `.text-error` | `#F13737` | `.text-gray` and `.text-neutral` both resolve to `#6b7280` at their base value, but they serve different purposes. Use the `text-gray-*` classes for fixed typographic tiers. Use `text-neutral` (and its shade variants) when you need to step through the neutral ramp programmatically. ## Heading Hierarchy and Status Text Use the structural grays to establish visual hierarchy across headings and body copy, and reach for semantic tokens on elements that carry specific meaning. ```html theme={null}

Page Title

Section Heading

Primary body copy sits at gray-dark for comfortable reading contrast.

Secondary or supporting copy uses the mid gray.

Metadata, timestamps, and fine print. Payment confirmed Review required Submission failed Learn more → ``` ## Using Shade Variants Append `-l-1` through `-l-5` for lighter steps or `-d-1` through `-d-5` for darker steps on any semantic token. This is useful for hover states, pressed states, or ensuring readable contrast against a colored background. ```html theme={null} Documentation

Your account is active.

This field is required. ``` The full ramp runs from `-l-5` (lightest) through the base to `-d-5` (darkest). Only semantic tokens — primary, secondary, neutral, success, warning, error — support shade variants. The structural gray classes (white, black, gray-dark, gray, gray-light) are fixed values. ## Best Practices * **Use `.text-primary` for links and brand emphasis.** It provides a clear visual affordance for interactive elements and keeps your brand color consistent across a page. * **Reserve semantic tokens for their intended meaning.** Apply `.text-success`, `.text-warning`, and `.text-error` to status messages, validation feedback, and alert labels — not for decorative color variety. * **Always verify contrast on colored backgrounds.** When placing text on a non-white surface, check that your text/background pairing meets WCAG AA (4.5:1 for normal text). Use a shade variant to increase contrast if needed. * **Establish hierarchy before reaching for color.** Size and weight differences communicate structure effectively on their own. Add text color as a secondary signal, not the primary one. ## Related Fill sections and cards with `.background-*` classes that share the same semantic palette. Combine text colors with font size, weight, and leading utilities to build complete type styles. # Border Utilities for Width, Style, Radius, and Color Source: https://atomickit.copyelement.com/concepts/borders AtomicKit's border system covers width, style, radius, and color in one unified set of utilities including directional and corner-specific controls. AtomicKit's border utilities give you precise control over every edge of an element — from hairline dividers to thick accent bars, sharp corners to fully rounded pills. All four dimensions of the border system (width, style, radius, and color) are designed to be combined into a single, readable class string that maps directly to CSS. Set border thickness on all sides or target individual edges and axes with directional variants like `border-t-*`, `border-x-*`, and more. Choose how border lines are drawn — `border-solid` for crisp outlines, `border-dashed` for optional framing, or `border-none` to remove a border entirely. Round corners uniformly or target specific sides and individual corners using `rounded-*` utilities, from `rounded-sm` to `rounded-full`. Pair any border with a color utility. Use semantic tokens like `border-primary` for brand accents, or neutral tones like `border-gray` and `border-gray-light`. ## Common Patterns When combining border utilities, you'll reach for a small set of recurring combinations depending on the surface you're styling. **Soft dividers** — use a light neutral color to separate content without visual weight: ```html theme={null}
``` **Contrasted outlines** — use a mid-weight gray for cards, inputs, and containers that need clear visual boundaries: ```html theme={null}
``` **Accent borders** — use your primary brand color to draw attention to a selected item, active state, or featured element: ```html theme={null}
``` ## Complete Border Shorthand A fully-formed border always combines width, style, radius, and color. This is the recommended pattern for any bordered surface in Elementor: ```html theme={null}
``` Breaking down what each class contributes: | Class | Role | Result | | -------------- | ------ | ------------------------------------------ | | `border-2` | Width | Sets a 2px border (fluid, scales to 2.5px) | | `border-solid` | Style | Draws a solid, unbroken line | | `border-gray` | Color | Applies a neutral mid-gray stroke | | `rounded-lg` | Radius | Rounds all four corners to 8px | Always apply a border style class alongside a border width class. Without `border-solid` (or another style), the browser renders no visible line even when a width and color are set. ## Related Utilities * [Spacing](/concepts/spacing) — Use padding utilities to control the distance between a border and inner content. * [Colors](/colors) — Explore the full color token set available for border coloring. # AtomicKit Color Palette: Grays and Semantic Tokens Source: https://atomickit.copyelement.com/concepts/colors AtomicKit's color system includes structural grays, six semantic tokens with 11-step shade ramps, and text, background, and border utility classes. AtomicKit ships a unified color palette covering text, background, and border utilities. The system uses six semantic tokens — primary, secondary, neutral, success, warning, and error — each with an 11-step shade ramp that lets you reach for a lighter tint or deeper shade without leaving your utility classes. On top of those tokens, a set of structural grays handles everyday typography hierarchy and surface fills. ## Semantic Base Colors Each semantic token has a base hex value. All six tokens support the full shade ramp described below. | Token | Class Prefix | Base Hex | | --------- | ------------------- | --------- | | Primary | `.{type}-primary` | `#0740f9` | | Secondary | `.{type}-secondary` | `#aaebfd` | | Neutral | `.{type}-neutral` | `#6b7280` | | Success | `.{type}-success` | `#3DC13C` | | Warning | `.{type}-warning` | `#F4BB1B` | | Error | `.{type}-error` | `#F13737` | Replace `{type}` with `text`, `background`, or `border` depending on which property you need to set. ## The 11-Step Shade Ramp Every semantic token supports eleven steps: five lighter shades, the base, and five darker shades. The ramp suffix follows this pattern: | Suffix | Direction | | -------- | --------------- | | `-l-5` | Lightest | | `-l-4` | Lighter | | `-l-3` | Light | | `-l-2` | Slightly light | | `-l-1` | Just above base | | *(none)* | Base | | `-d-1` | Just below base | | `-d-2` | Slightly dark | | `-d-3` | Dark | | `-d-4` | Darker | | `-d-5` | Darkest | Append the suffix directly to any semantic token class. For example, `.background-primary` is the base blue, while `.background-primary-l-3` gives you a lighter mid-tint and `.background-primary-d-2` steps into a deeper shade. ## Using Shade Variants Apply a shade suffix whenever the base token is too saturated or too light for your context. A common pattern is using a light tint for a section background and the base token for a prominent call-to-action inside it. ```html theme={null}
``` ```html theme={null} Verified ``` Start with the base token and only reach for a shade variant when you need contrast adjustment or a subtle tint. Limiting your palette to two or three steps per token keeps designs coherent. ## Structural Grays Alongside the semantic tokens, AtomicKit includes fixed gray values for typography hierarchy and neutral surfaces. These are available across text, background, and border utilities: * **white / black** — absolute extremes for high-contrast needs * **gray-dark** (`#374151`) — primary body text * **gray** (`#6b7280`) — secondary text, captions * **gray-light** — muted text (`#9ca3af` for text; `#f3f4f6` for backgrounds; `#e5e7eb` for borders) The `text-gray-*` classes are intended for typographic hierarchy tiers and are fixed values. The `text-neutral` class and its shade variants follow the full 11-step semantic ramp and are better suited when you need programmatic shade stepping. ## Accessibility Color alone should never be the only signal conveying meaning. Always supplement color-coded status (success, warning, error) with an icon, label, or text description. Check that your foreground and background color pairings meet WCAG AA contrast ratios — a minimum of 4.5:1 for normal text and 3:1 for large text. The AtomicKit palette is designed with sensible defaults, but your specific combination of shade variants and surface colors still needs verification. ## Color Utility Categories Set `color` on headings, body copy, links, and status labels using `.text-*` classes. Fill sections, cards, and panels with `.background-*` classes across the full palette. Apply `.border-*` color classes alongside width and style utilities for complete borders. # Button Presets and Component Classes for AtomicKit Source: https://atomickit.copyelement.com/concepts/components AtomicKit ships semantic button presets for Elementor — combine a color class like button-primary with a size modifier like button-lg for styled buttons. AtomicKit ships a set of ready-to-use button preset classes that give Elementor buttons consistent, semantically meaningful styles out of the box. Each preset encodes intent — primary actions, warnings, destructive operations — so your button styles stay coherent across the site without manually specifying colors on every element. Pair any color preset with an optional size modifier to control scale, and combine both with AtomicKit's utility classes for layout and spacing when you need finer control. ## Button Color Presets Color presets apply a background fill and matching foreground color to a button element. Choose the class that matches the intent of the action. | Class | Color | Usage | | ------------------- | ------------------------ | ------------------------ | | `.button-primary` | Primary blue (`#0740f9`) | Main actions | | `.button-secondary` | Light blue (`#aaebfd`) | Secondary actions | | `.button-neutral` | Gray (`#6b7280`) | Cancel, tertiary actions | | `.button-success` | Green (`#3DC13C`) | Confirm, publish | | `.button-warning` | Yellow (`#F4BB1B`) | Review, caution | | `.button-error` | Red (`#F13737`) | Delete, destructive | ## Button Size Modifiers Size modifiers adjust the padding and font scale of a button. They are designed to be combined with a color preset — applying a size class alone has no effect. | Class | Usage | | ------------ | ------------ | | `.button-xs` | Very compact | | `.button-sm` | Compact | | `.button-md` | Default | | `.button-lg` | Prominent | | `.button-xl` | Hero-scale | ## Code Examples ### Basic usage Apply a color preset on its own for default sizing: ```html theme={null} ``` ### Combining with utility classes Button presets work alongside AtomicKit's layout and spacing utilities. Wrap buttons in a flex container to control alignment and gap: ```html theme={null}
``` You can also add margin, padding, or typography utilities directly to the button element when you need fine-grained adjustments beyond what the preset provides. ## Notes * **Every button starts with a semantic color preset.** The color class is always required — it provides the base styles that size modifiers extend. * **Size classes only work when paired with a color preset.** Applying `.button-lg` without a color class has no visible effect. * **`.button-secondary` uses a light fill (`#aaebfd`).** Add a dark text utility such as `text-black` or `text-gray-dark` alongside it to ensure legible contrast. * **You can still add spacing, layout, or typography utilities alongside presets.** Button preset classes do not conflict with AtomicKit utility classes — combine them freely. ## Related * [Colors](/concepts/colors) — understand the color scale and CSS variables that underpin button preset values * [Spacing](/concepts/spacing) — margin and padding utilities for positioning button groups # Opacity and Box Shadow Effect Utilities in AtomicKit Source: https://atomickit.copyelement.com/concepts/effects AtomicKit effects utilities cover a full opacity scale and standalone outer and inset box-shadow presets for depth and visual hierarchy in Elementor. AtomicKit's effects system gives you two powerful tools for shaping visual hierarchy: an opacity scale for controlling element transparency, and a set of standalone box-shadow presets for adding elevation and depth. Together they let you layer surfaces, signal interactive states, and guide user attention — without writing a single line of custom CSS. A full scale from `opacity-0` to `opacity-100` in 5% increments. Use for overlays, disabled states, loading indicators, and layered media compositions. Outer and inset shadow presets in multiple sizes, plus semantic color variants. Each class is a complete standalone preset — choose one per element. ## What Ships in Effects AtomicKit's effects utilities include the following: * **Opacity** — every 5% step from `opacity-0` (fully transparent) through `opacity-100` (fully opaque) * **Outer shadow sizes** — `shadow-sm`, `shadow-md`, `shadow-lg`, `shadow-xl`, `shadow-panel` * **Outer shadow colors** — `shadow-primary`, `shadow-secondary`, `shadow-neutral`, `shadow-success`, `shadow-warning`, `shadow-error` * **Inset shadow sizes** — `inset-shadow-sm`, `inset-shadow-md`, `inset-shadow-lg`, `inset-shadow-xl` * **Inset shadow colors** — `inset-shadow-primary`, `inset-shadow-secondary`, `inset-shadow-neutral`, `inset-shadow-success`, `inset-shadow-warning`, `inset-shadow-error` Effects utilities are limited to opacity and shadow. For blur, brightness, contrast, saturation, hue rotation, and color effects like grayscale — see the [Filters](/concepts/filters) section. ## Common Use Cases **Surface layering** — stack a semi-transparent element over a background image using `opacity-50` paired with a position utility to create overlays and color washes. **Disabled and loading states** — reduce an interactive element to `opacity-60` or `opacity-75` to visually communicate that it's inactive, without removing it from the layout. **Elevation and depth cues** — use outer shadow presets (`shadow-sm` through `shadow-xl`) to lift cards, modals, and dropdowns off the canvas and indicate their position in the layer hierarchy. **Recessed controls** — use inset shadow presets (`inset-shadow-sm` through `inset-shadow-xl`) to make input fields, search wells, and pressed buttons appear sunken into the surface. ## Accessibility Reducing opacity also reduces the effective contrast of text and interactive controls. Avoid setting `opacity` below `opacity-75` on any element that contains readable text or actionable UI. If you need to dim a background or media element independently, apply the opacity to a wrapper or pseudo-layer rather than to the entire component including its text. ## Related Utilities * [Filters](/concepts/filters) — Blur, brightness, contrast, and color effects for images and decorative layers. * [Colors](/colors) — Pair shadow color variants with your design's semantic color tokens. # CSS Filter Utilities for Images and Media in AtomicKit Source: https://atomickit.copyelement.com/concepts/filters AtomicKit's filter utilities apply blur, brightness, contrast, saturation, hue rotation, and color effects to images and decorative layers in Elementor. AtomicKit's filter utilities let you apply CSS visual effects directly to images, background layers, and decorative elements in Elementor — without writing a single line of custom CSS. From softening a blurred hero background to desaturating an inactive element, all filter adjustments are handled by a class that maps to a single `filter` property value. Soften images and decorative layers with five blur steps from `blur-sm` to `blur-xl`, plus `filter-none` to reset. Lighten or darken a layer using five steps from `brightness-75` to `brightness-125`. Increase or reduce color contrast on media with steps from `contrast-75` to `contrast-125`. Control color intensity from `saturate-0` (fully desaturated) to `saturate-200` (doubly vivid). Shift the hue of all colors on an element across the color wheel in increments from 15° to 180°. Apply grayscale, invert, sepia, and partial variants for editorial and state-driven treatments. ## Shipped Filter Families AtomicKit includes the following filter classes: * **Blur** — `filter-none`, `blur-sm`, `blur`, `blur-md`, `blur-lg`, `blur-xl` * **Brightness** — `brightness-75`, `brightness-90`, `brightness-100`, `brightness-110`, `brightness-125` * **Contrast** — `contrast-75`, `contrast-90`, `contrast-100`, `contrast-110`, `contrast-125` * **Saturate** — `saturate-0`, `saturate-50`, `saturate-100`, `saturate-150`, `saturate-200` * **Hue Rotate** — `hue-rotate-15`, `hue-rotate-30`, `hue-rotate-60`, `hue-rotate-90`, `hue-rotate-180` * **Color Effects** — `grayscale`, `grayscale-50`, `invert`, `invert-50`, `sepia`, `sepia-50`, `filter-none` ## Common Use Cases **Decorative media backgrounds** — apply `blur-lg` or `blur-xl` to a full-bleed background image to keep it visually rich without competing with foreground text. **Hero backgrounds behind text** — combine `brightness-75` or `brightness-90` to darken a photo just enough to make white text legible without a separate overlay layer. **Inactive and muted states** — use `grayscale` on an image, icon, or card to signal that it's unavailable, completed, or de-prioritized. **Editorial tone and mood** — `sepia` warms a photo for vintage or lifestyle aesthetics; `contrast-110` or `contrast-125` punches up an image for a graphic, bold look. ## Filter Combinations AtomicKit applies one `filter` property per element. For multi-effect combinations — for example blurring and dimming the same layer — the recommended approach is to use a wrapper element: ```html theme={null}
``` Pair `blur` with `opacity` utilities for soft, layered overlays. Apply `blur-md` to a decorative background layer, then use `opacity-80` on the layer above to blend the two surfaces together smoothly. *** ## Blur Soften images and decorative elements to move them visually into the background. | Class | CSS Property | | -------------- | -------------------- | | `.filter-none` | `filter: none` | | `.blur-sm` | `filter: blur(4px)` | | `.blur` | `filter: blur(8px)` | | `.blur-md` | `filter: blur(12px)` | | `.blur-lg` | `filter: blur(16px)` | | `.blur-xl` | `filter: blur(24px)` | ```html theme={null}
``` *** ## Brightness Lighten or darken a layer. Values below 100 darken; values above 100 lighten. | Class | CSS Property | | ----------------- | -------------------------- | | `.brightness-75` | `filter: brightness(0.75)` | | `.brightness-90` | `filter: brightness(0.9)` | | `.brightness-100` | `filter: brightness(1)` | | `.brightness-110` | `filter: brightness(1.1)` | | `.brightness-125` | `filter: brightness(1.25)` | *** ## Contrast Increase sharpness between light and dark areas, or flatten an image for a softer effect. | Class | CSS Property | | --------------- | ------------------------ | | `.contrast-75` | `filter: contrast(0.75)` | | `.contrast-90` | `filter: contrast(0.9)` | | `.contrast-100` | `filter: contrast(1)` | | `.contrast-110` | `filter: contrast(1.1)` | | `.contrast-125` | `filter: contrast(1.25)` | *** ## Saturate Control the vibrancy of colors on an element. Use `saturate-0` to strip all color and produce a grayscale effect with full CSS filter flexibility. | Class | CSS Property | | --------------- | ----------------------- | | `.saturate-0` | `filter: saturate(0)` | | `.saturate-50` | `filter: saturate(0.5)` | | `.saturate-100` | `filter: saturate(1)` | | `.saturate-150` | `filter: saturate(1.5)` | | `.saturate-200` | `filter: saturate(2)` | *** ## Hue Rotate Shift all colors on an element around the color wheel. Useful for generating color variants from a single image, or for animated states. | Class | CSS Property | | ----------------- | ---------------------------- | | `.hue-rotate-15` | `filter: hue-rotate(15deg)` | | `.hue-rotate-30` | `filter: hue-rotate(30deg)` | | `.hue-rotate-60` | `filter: hue-rotate(60deg)` | | `.hue-rotate-90` | `filter: hue-rotate(90deg)` | | `.hue-rotate-180` | `filter: hue-rotate(180deg)` | *** ## Color Effects Apply full or partial tonal treatments to images and media layers. | Class | CSS Property | Effect | | --------------- | ------------------------ | -------------------------------------------------- | | `.grayscale` | `filter: grayscale(1)` | Fully desaturated — removes all color | | `.grayscale-50` | `filter: grayscale(0.5)` | Partial desaturation — muted, faded look | | `.invert` | `filter: invert(1)` | Full color inversion — negative image effect | | `.invert-50` | `filter: invert(0.5)` | Partial inversion — washed-out or ghosted look | | `.sepia` | `filter: sepia(1)` | Full sepia tone — warm vintage brown tint | | `.sepia-50` | `filter: sepia(0.5)` | Partial sepia — subtle warmth without full tinting | | `.filter-none` | `filter: none` | Removes all active filter effects | ```html theme={null}
``` *** ## Best Practices * **Apply blur to decorative media, not body text.** Blurred text is unreadable. Reserve blur for background images, decorative shapes, and layers that sit behind foreground content. * **Use brightness to prepare background media for text.** `brightness-75` or `brightness-90` on a photo is often more elegant than a separate overlay `div` — it reduces the image to a readable contrast level with fewer DOM elements. * **Use `filter-none` to reset inherited filter chains.** When a child element inside a filtered parent needs to appear unaffected, apply `filter-none` directly to that child to cancel out the inherited value. * **Use `grayscale` for muted and inactive states.** Desaturating an image, icon, or card thumbnail is a clear, accessible way to signal that something is unavailable or disabled — paired with reduced opacity, it reads unmistakably as inactive. * **Keep filter use intentional.** Stacking many filter values or applying filters to large portions of a page layout can be visually noisy and computationally expensive on lower-end devices. ## Related Utilities * [Opacity](/effects/opacity) — Combine with filters to control transparency alongside visual effects. * [Box Shadow](/effects/box-shadow) — Add elevation and depth to the same elements you're filtering. # Fluid Scaling: CSS clamp() for Typography and Spacing Source: https://atomickit.copyelement.com/concepts/fluid-scaling Discover how AtomicKit uses CSS clamp() to scale font sizes, spacing, and gaps smoothly across viewport widths without relying solely on breakpoints. Not every responsive adjustment should happen at a hard breakpoint. Font sizes that snap from 16 px to 24 px at exactly 768 px can feel abrupt, and spacing that stays identical from a 1400 px desktop down to a 375 px phone often looks too cramped or too generous at the extremes. AtomicKit addresses this with fluid scaling: selected utility families output CSS `clamp()` values so that sizes and spacing shift continuously and proportionally as the viewport width changes — no breakpoint overrides required. ## Why fluid scaling helps With a traditional breakpoint approach, you define a value at several fixed widths and accept that it stays constant between those points. The result is a series of visual steps: * A heading is 24 px from 0–767 px, then jumps to 32 px at 768 px, then to 48 px at 1200 px. * The jump is immediate and can look mechanical, especially on mid-range or foldable devices that sit between your defined breakpoints. Fluid scaling removes the steps. The value starts at a minimum size on small viewports, increases proportionally as the viewport grows, and reaches a maximum size on large viewports — all in a single continuous curve. The practical result is: * **Better readability** at every viewport width, not just the ones you explicitly designed for. * **Fewer utility classes** per element — one class covers the full range rather than needing a base class plus several `--on-*` overrides. * **More natural proportions** between typographic scale and layout at intermediate sizes like tablets, landscape phones, and ultrawide monitors. *** ## How it works Fluid scaling relies on the CSS `clamp()` function, which accepts three arguments: a minimum value, a preferred (viewport-relative) value, and a maximum value. ```css theme={null} clamp(minimum, preferred, maximum) ``` The browser uses the preferred value when it fits between the minimum and maximum. If the viewport is too narrow, the minimum is applied instead; if it's too wide, the maximum takes over. The preferred value typically combines a `rem` base with a `vw` component so it grows as the viewport widens. Here is an example from a large heading utility: ```css theme={null} .hero-title { font-size: clamp(2rem, calc(1.5rem + 2vw), 4rem); } ``` * At narrow viewports, `font-size` clamps to **2 rem** (the minimum). * As the viewport widens, `font-size` follows `calc(1.5rem + 2vw)`, growing proportionally. * At wide viewports, `font-size` clamps to **4 rem** (the maximum) and stops growing. AtomicKit pre-calculates the `clamp()` expressions for each step in a fluid utility family, so you apply a class like `text-xl` or `m-8` and the browser handles the interpolation automatically. The `clamp()` function has broad browser support across all modern browsers. No polyfill or fallback is needed for Elementor sites targeting current browser versions. *** ## Fluid vs. fixed utility families Not every utility benefit from fluid scaling. Layout helpers, color utilities, and declarative states have values that are categorical rather than continuous — there is no meaningful "interpolation" between `display: flex` and `display: block`. AtomicKit applies fluid scaling only where smooth transitions add value. | Family | Scaling | Reason | | ------------------------- | --------- | ----------------------------------------------------------------------------- | | `text-*` (font sizes) | **Fluid** | Typography reads better when it scales proportionally with the viewport | | `m-*` (margin) | **Fluid** | Spacing that breathes at large viewports and compresses gracefully on mobile | | `p-*` (padding) | **Fluid** | Same rationale as margin — proportional containment feels natural | | `gap-*` (flex/grid gap) | **Fluid** | Grid and flex gaps should stay proportional to the items they separate | | Colors | **Fixed** | Colors are categorical — there is no "halfway" between two brand colors | | Font weights | **Fixed** | Weight steps are discrete; intermediate values look inconsistent across fonts | | `display` / positioning | **Fixed** | These are on/off states, not continuous scales | | `maximum-width-*` | **Fixed** | Container max-widths are layout constraints tied to specific design decisions | | Border widths | **Fixed** | Hairline, thin, and medium borders are intentional categorical choices | | Component presets | **Fixed** | Preset styles encode specific design intent and should not drift | | `leading-*` (line-height) | **Fixed** | Line-height ratios are unitless multipliers, not viewport-relative values | If you need a spacing or font size value that doesn't change at all — for example, a fixed icon size or a label at an exact pixel size — use an Elementor Size Variable or a custom CSS override rather than a fluid utility. Fluid classes are optimized for values that should respond to the viewport. *** ## Best practices Because `text-*`, `m-*`, `p-*`, and `gap-*` classes already scale across the full viewport range, you usually don't need to add `--on-*` suffix variants for those families. Reach for a responsive suffix only when you also need a structural change (like switching flex direction), not just to adjust a size. Fluid scaling works best when the sizing relationships stay consistent. If your headings scale fluidly but your padding is fixed, the proportion between text and its container will shift noticeably at extreme screen sizes. Apply fluid `p-*` or `m-*` classes to the same containers where you use fluid `text-*` classes. Think of fluid scaling as designing two states — the smallest acceptable size and the largest acceptable size — and letting the browser interpolate between them. Define your design intent at mobile and desktop sizes first, then verify the intermediate sizes look proportional rather than designing for every breakpoint individually. If you apply a fluid `text-lg` class and also write a custom CSS rule that sets `font-size: 18px` on the same element, the specificity battle will produce unpredictable results depending on selector weight. Keep fluid properties under AtomicKit classes and reserve custom CSS for properties AtomicKit doesn't cover. *** ## Related references Browse the full `text-*` scale and see the `clamp()` values output by each step, from `text-xs` to `text-9xl`. Explore the fluid `m-*`, `p-*`, and `gap-*` scales — including the `clamp()` ranges applied at each spacing step. # Layout Utilities: Display, Overflow, and Positioning Source: https://atomickit.copyelement.com/concepts/layout Control display, overflow, and positioning for Elementor elements with AtomicKit's layout utilities — from block and flex to z-index and object-fit. AtomicKit's layout utilities give you direct control over how any Elementor element renders and occupies space on the page — without touching the element's style panel or writing custom CSS for common patterns. You apply these classes in the **CSS Classes** field of any widget or container, and they take effect immediately across your design. Switch between block, inline, and flex rendering modes Clip, scroll, or expose content that exceeds its container Control stacking flow with static, relative, absolute, and more Scale and crop images and videos within fixed frames Lock containers to square, video, or auto proportions Layer overlapping elements with a predictable stacking order ## Display The display utilities set an element's outer rendering role. Use them to override Elementor's default display values or to turn any widget into a flex container on the spot. | Class | CSS | When to use | | --------------- | ----------------------- | --------------------------------------------- | | `.block` | `display: block` | Full-width stacking element | | `.inline-block` | `display: inline-block` | Inline element that respects width and height | | `.flex` | `display: flex` | Block-level flex container | | `.inline-flex` | `display: inline-flex` | Inline flex container (useful inside text) | | `.hidden` | `display: none` | Remove from layout entirely | The most common pattern is turning a container into a flex row to align children side by side: ```html theme={null}
Logo Brand Name
``` Use `.hidden` together with responsive suffixes — for example `.hidden--on-s` — to show or hide elements at specific breakpoints without duplicating widgets. ## Overflow Overflow utilities control what happens when content is larger than its container. They are especially useful for card components, image wrappers, and sticky headers. | Class | CSS | When to use | | ------------------- | ------------------- | -------------------------------------------- | | `.overflow-hidden` | `overflow: hidden` | Clip content; also masks child border-radius | | `.overflow-auto` | `overflow: auto` | Add scrollbars only when content overflows | | `.overflow-visible` | `overflow: visible` | Let content extend beyond the container box | A common card pattern pairs `.overflow-hidden` with a border-radius utility so that a child image respects the card's rounded corners: ```html theme={null}
Card image

Card Title

Card description text.

``` ## Positioning Positioning utilities map directly to the CSS `position` property. Use them to step elements in or out of the normal document flow. | Class | CSS | | ----------- | -------------------- | | `.static` | `position: static` | | `.relative` | `position: relative` | | `.absolute` | `position: absolute` | | `.fixed` | `position: fixed` | | `.sticky` | `position: sticky` | AtomicKit does not ship `top-*`, `left-*`, `right-*`, `bottom-*`, or `inset-*` offset utilities. After you apply a positioning class, add exact offsets with a small custom CSS rule when needed. ### Relative + Absolute pattern The most frequent use case is anchoring a badge or overlay to a parent. Give the parent `.relative` and the child `.absolute`, then add offsets with custom CSS: ```html theme={null}
Product
Sale
``` The `.absolute` child is positioned relative to its nearest `.relative` ancestor, not the page. ### Sticky positioning Use `.sticky` to keep a navigation bar or section header attached to the viewport as the user scrolls, while it still participates in normal flow when it first appears: ```html theme={null} ``` For `.sticky` to work, the element's scrollable ancestor must not have `overflow: hidden` applied. If the header disappears instead of sticking, check parent overflow values. ## Z-Index AtomicKit ships z-index utilities from `z-0` to `z-100` in steps of 10. | Class | Value | | -------- | -------------- | | `.z-0` | `z-index: 0` | | `.z-10` | `z-index: 10` | | `.z-20` | `z-index: 20` | | `.z-30` | `z-index: 30` | | `.z-40` | `z-index: 40` | | `.z-50` | `z-index: 50` | | `.z-60` | `z-index: 60` | | `.z-70` | `z-index: 70` | | `.z-80` | `z-index: 80` | | `.z-90` | `z-index: 90` | | `.z-100` | `z-index: 100` | `z-index` only works when the element also has a non-static position. Always pair a `z-*` class with `.relative`, `.absolute`, `.fixed`, or `.sticky`. A `z-*` class on a `.static` element has no effect. ```html theme={null}
New
``` ## Object Fit Object-fit utilities control how a replaced element (image or video) scales inside its container. They are most useful when you fix the container's dimensions and want consistent cropping or letterboxing across different source aspect ratios. | Class | CSS | When to use | | -------------------- | ------------------------ | ------------------------------------------- | | `.object-contain` | `object-fit: contain` | Show the whole image; letterbox if needed | | `.object-cover` | `object-fit: cover` | Fill the frame; crop edges to fit | | `.object-fill` | `object-fit: fill` | Stretch to fill — distorts if ratios differ | | `.object-none` | `object-fit: none` | Render at intrinsic size; no scaling | | `.object-scale-down` | `object-fit: scale-down` | Shrink to fit but never enlarge | A typical product image grid uses `.object-cover` so every thumbnail fills its fixed frame without distortion regardless of the original upload dimensions: ```html theme={null}
Product
``` ## Aspect Ratio Aspect ratio utilities lock a container's proportions so its height scales automatically with its width. This keeps media frames consistent across different screen sizes without fixed pixel heights. | Class | Ratio | Common use | | ---------------- | ----- | --------------------------------------- | | `.aspect-square` | 1:1 | Avatar frames, product thumbnails | | `.aspect-video` | 16:9 | Video embeds, hero banners | | `.aspect-auto` | — | Remove a previously applied fixed ratio | ```html theme={null}
``` ## Responsive Variants Every structural layout utility in this page supports AtomicKit's `--on-*` responsive suffix. Append the suffix to target a specific breakpoint: ```html theme={null} ``` Responsive suffixes follow the mobile-first convention: `--on-s`, `--on-m`, `--on-l`, and `--on-xl`. A class without a suffix applies at all viewport sizes. # Responsive Breakpoints with the --on-* Suffix System Source: https://atomickit.copyelement.com/concepts/responsive-utilities Apply AtomicKit utility classes at specific viewport sizes using the --on-xs through --on-xxl breakpoint suffix system for responsive Elementor layouts. AtomicKit offers two complementary approaches to responsiveness. For values like font sizes and spacing that should shift gradually as the viewport grows or shrinks, AtomicKit uses fluid scaling with CSS `clamp()`. For structural decisions — changing a flex direction, hiding an element, or reordering items — you need discrete control at specific breakpoints. The `--on-*` suffix system is how you express those layout shifts: append a breakpoint suffix to any supported class name and that override takes effect only at the viewport size you specify. ## Breakpoint map AtomicKit ships six breakpoints, covering everything from widescreen displays down to small mobile viewports. Each suffix maps to a CSS media query: | Suffix | Media Query | Viewport | | ---------- | ------------------- | -------------------------- | | `--on-xxl` | `min-width: 2400px` | Widescreen and above | | `--on-xl` | `max-width: 1366px` | Laptop and below | | `--on-l` | `max-width: 1200px` | Tablet landscape and below | | `--on-m` | `max-width: 1024px` | Tablet and below | | `--on-s` | `max-width: 880px` | Mobile landscape and below | | `--on-xs` | `max-width: 767px` | Mobile only | Notice that `--on-xxl` uses `min-width` (a "wide and above" query), while all other suffixes use `max-width` ("this size and below"). Design mobile-first by setting your default class for small screens and overriding upward with `--on-xxl`, or design desktop-first and override downward with the `max-width` suffixes. *** ## How to use responsive suffixes Append the suffix directly to the end of the class name with no space. The base class always applies first; the suffixed variant overrides it when the media query is active. **Syntax:** ``` {base-class}--on-{breakpoint} ``` **Example — flex column that becomes a row on tablet and below:** ```html theme={null} flex flex-col flex-row--on-m ``` Here, `flex` enables flex display, `flex-col` sets the default direction to column, and `flex-row--on-m` overrides the direction to row at viewports 1024 px wide and below. You apply all three classes in the **Advanced → CSS Classes** field, space-separated, just like any other utility combination. Always write the base class first for readability. Seeing `flex-col flex-row--on-m` makes it immediately clear what the default behavior is and where it changes. *** ## Responsive layout example The following class combination creates a three-column card grid that collapses to a single column on mobile: ```html theme={null} flex flex-row flex-col--on-xs gap-6 flex-basis-auto flex-basis-full--on-xs ``` And a navigation bar that hides on mobile and reappears on larger screens: ```html theme={null} flex hidden--on-xs ``` When you hide an element with a responsive suffix, the element is still in the DOM — only its display value changes. This is intentional for accessibility and SEO. If you need to remove content entirely on certain devices, use Elementor's built-in responsive visibility controls instead. *** ## Supported utility families Responsive suffixes are available on structural utilities that affect layout and composition. They are intentionally **not** available on every utility family — fluid scaling handles continuous value shifts, so breakpoint overrides are reserved for genuinely discrete structural changes. The following families support `--on-*` suffixes: `flex`, `block`, `inline`, `hidden`, and related display values. `overflow-hidden`, `overflow-auto`, `overflow-scroll`, and axis variants. `object-cover`, `object-contain`, `object-fill`, and related values. `aspect-square`, `aspect-video`, `aspect-auto`, and numeric ratios. `relative`, `absolute`, `fixed`, `sticky`, and `static`. `z-0` through `z-50` and `z-auto`. `flex-row`, `flex-col`, `flex-row-reverse`, `flex-col-reverse`. `flex-wrap`, `flex-nowrap`, `flex-wrap-reverse`. `justify-*`, `items-*`, `self-*`, and `content-*` alignment utilities. `flex-basis-*` size steps and `order-*` values. *** ## Best practices Responsive suffixes exist to change how elements are arranged at different screen sizes — not to tweak every visual property at every breakpoint. Apply a suffix when the layout genuinely needs to reorganize (a row becomes a column, an element is hidden), not for minor stylistic adjustments. Fluid scaling handles gradual changes to font sizes and spacing automatically. Write your default (unsuffixed) classes before any responsive overrides. Reading `flex-col flex-row--on-m` is immediately clear; reading `flex-row--on-m flex-col` forces the reader to figure out which is the default. Consistent ordering makes the CSS Classes field easier to scan. Each additional breakpoint suffix adds cognitive overhead and increases the risk of conflicting overrides. Aim for one or two structural breakpoints per component. If you find yourself adding three or more suffixes to a single element, consider whether a simpler layout approach would serve the design better. The breakpoint values in AtomicKit are chosen to align with common device categories, but real devices don't always match. Use browser DevTools device emulation — and test on actual hardware when possible — to confirm your responsive overrides behave as expected. *** ## Related concepts For values that should scale gradually rather than jump at breakpoints, see the [Fluid Scaling](/concepts/fluid-scaling) page. Font sizes, spacing, and gap values use CSS `clamp()` so a single class stays proportional across the full viewport range — no suffix needed. # Width, Height, and Min/Max Sizing Utilities in AtomicKit Source: https://atomickit.copyelement.com/concepts/sizing Control element dimensions in Elementor with AtomicKit's width, height, and min/max sizing utilities using a t-shirt scale, fractions, and keyword helpers. AtomicKit's sizing utilities give you direct control over how wide and tall your Elementor elements are — without touching a style panel. You can constrain a content rail to a readable line length, make an image stretch its container, set a hero section to fill the viewport, or define minimum and maximum bounds that adapt cleanly to any screen width. All sizing utilities compose with each other and with spacing utilities, so centering a bounded content column takes just two or three classes. `width-*` — Set an element's width using the t-shirt scale, fractions, or keyword helpers `height-*` — Set an element's height using the same scale, fractions, and keywords `maximum-width-*` — Cap an element's maximum width so it never grows beyond a set size `minimum-width-*` — Ensure an element never collapses below a minimum width `maximum-height-*` — Prevent an element from growing taller than a set value `minimum-height-*` — Guarantee a minimum height even when content is sparse ## T-Shirt Size Scale All six sizing families (`width-*`, `height-*`, `maximum-width-*`, `minimum-width-*`, `maximum-height-*`, `minimum-height-*`) share the same named size ladder, from `3xs` up to `7xl`. | Token | rem | px | Typical use | | ----- | ----- | ------ | --------------------------------------- | | `3xs` | 16rem | 256px | Narrow sidebar widget, avatar area | | `2xs` | 20rem | 320px | Mobile card width, compact panel | | `xs` | 24rem | 384px | Small modal, narrow content block | | `sm` | 28rem | 448px | Standard card, sidebar column | | `md` | 32rem | 512px | Default medium container | | `lg` | 36rem | 576px | Medium content rail, form column | | `xl` | 40rem | 640px | Wide card, standard prose column | | `2xl` | 48rem | 768px | Comfortable reading width | | `3xl` | 56rem | 896px | Tablet-width content area | | `4xl` | 64rem | 1024px | Wide content rail | | `5xl` | 72rem | 1152px | Desktop container, full-width card | | `6xl` | 80rem | 1280px | Wide layout column | | `7xl` | 90rem | 1440px | Maximum content width for large screens | Use `maximum-width-*` with a t-shirt size rather than `width-*` for most content containers. A max-width lets the element shrink on smaller screens while capping growth on large ones — the right default for almost every layout component. ## Fractional Widths Fractional width utilities express dimensions as percentages of the parent container. The class name uses a hyphenated fraction: `1-2` means one-half, `1-3` means one-third, and so on. | Token | Value | Example use | | ----------- | ------- | ------------------------- | | `width-1-2` | 50% | Two-column split | | `width-1-3` | 33.333% | Three-column left panel | | `width-2-3` | 66.666% | Three-column main content | | `width-1-4` | 25% | Quarter-width sidebar | | `width-3-4` | 75% | Three-quarter main area | The same fractional tokens apply to `height-*`, `maximum-width-*`, `minimum-width-*`, `maximum-height-*`, and `minimum-height-*`. ## Keyword Helpers Four keyword values round out the sizing system, each with a specific behavioral meaning. | Keyword | Value | Behavior | | -------- | ------------- | ------------------------------------------------------ | | `px` | 1px | Sets a fixed 1px dimension — useful for hairline rules | | `full` | 100% | Fills 100% of the parent's dimension | | `screen` | 100vw / 100vh | Fills 100% of the viewport width or height | | `auto` | auto | Defers to the browser's natural sizing algorithm | **`px`** — Use `width-px` or `height-px` to set a dimension to exactly 1px. This is primarily useful for hairline dividers or precisely sized decorative rules where a sub-pixel value would be invisible. ``` width-px ``` **`full`** — Use `width-full` to stretch an element across its entire parent container. Use `height-full` to match a sibling's height when they share a flex row. This is the most common sizing keyword. ``` width-full ``` **`screen`** — Use `width-screen` for elements that must span the full viewport regardless of any parent constraints (for example, a full-bleed background section). Use `height-screen` for a hero that occupies exactly the viewport height. ``` width-screen height-screen ``` `width-screen` overflows any padded parent container. Use it on outermost sections or pair it with negative margins to break out of a container. For most full-width backgrounds, Elementor's section-level stretch setting is a simpler choice. **`auto`** — Use `width-auto` or `height-auto` to restore browser-default sizing and remove a fixed dimension. The most practical application is `maximum-height-auto`, which removes a previously applied maximum height constraint. ``` maximum-height-auto ``` ## Min and Max Patterns Minimum and maximum sizing utilities follow the exact same token vocabulary as `width-*` and `height-*`. Combine them with base sizing utilities to create flexible, bounded layouts. | Pattern | What it does | | ----------------------- | ----------------------------------------------------------- | | `maximum-width-` | Element grows up to the named size, then stops | | `minimum-width-` | Element never shrinks below the named size | | `maximum-height-` | Element grows up to the named height, then clips or scrolls | | `minimum-height-` | Element maintains at least the named height even when empty | | `maximum-width-full` | Constrains element to its parent's width | | `maximum-height-auto` | Removes a max-height constraint | ## Common Patterns The following compositions cover the most frequent real-world sizing needs in Elementor layouts. ### Responsive image A fluid image that stretches to fill its container but never exceeds a comfortable display width: ``` width-full maximum-width-2xl ``` The image fills narrow containers naturally and caps at 48rem on wider screens. ### Full-viewport hero section A hero that always occupies the full browser window: ``` width-full height-screen ``` Pair with `padding-vertical-*` to ensure the hero's content has breathing room at any window height. ### Centered content rail The canonical layout for a readable content column, horizontally centered on the page: ``` width-full maximum-width-3xl margin-horizontal-auto ``` `width-full` lets the column be fluid on mobile, `maximum-width-3xl` caps it at 56rem on larger screens, and `margin-horizontal-auto` centers it within the parent. ### Constrained sidebar A sidebar that is always at least `xs` wide but never exceeds `sm`, keeping it usable at all viewport sizes: ``` minimum-width-xs maximum-width-sm ``` ## Best Practices Fixed widths break responsive layouts. `maximum-width-3xl` lets your container be narrower on small screens while preventing it from becoming unreadably wide on large ones. A max-width alone left-aligns the element. Add `margin-horizontal-auto` to distribute the remaining horizontal space equally and center the block. Full-viewport-height layouts are powerful for heroes but problematic for content-heavy sections. Short content leaves awkward blank space; long content overflows. Reserve `height-screen` for intentional, visually designed hero sections. Testimonial carousels, dynamic post grids, and other conditionally populated elements can collapse to zero height when empty. Add `minimum-height-xs` or similar to preserve layout space and avoid jarring reflows. Apply `width-1-2` or `width-1-3` to child widgets inside a flex container to create consistent column splits. Pair with a `gap-*` utility on the parent for clean gutters between columns. # Spacing Utilities: Margin, Padding & Gap in AtomicKit Source: https://atomickit.copyelement.com/concepts/spacing AtomicKit's spacing system uses a consistent 4px scale for margin, padding, and gap utilities to create predictable rhythm in your Elementor layouts. AtomicKit bundles a single spacing scale shared by the margin, padding, and gap utility families. Every step maps to a multiple of 4px — so `1` is 4px, `2` is 8px, `4` is 16px, and so on up to `12` at 48px. That consistent base means every element you space with AtomicKit naturally aligns with every other element, giving your Elementor layouts a coherent visual rhythm without manual arithmetic. ## Spacing Scale The table below shows every named step in the scale. The `px` token is a special case that maps to exactly 1px — useful for hairline borders and pixel-perfect nudges. | Token | rem | px | | ----- | ------- | ---- | | `px` | — | 1px | | `1` | 0.25rem | 4px | | `2` | 0.5rem | 8px | | `3` | 0.75rem | 12px | | `4` | 1rem | 16px | | `6` | 1.5rem | 24px | | `8` | 2rem | 32px | | `12` | 3rem | 48px | There is no `5`, `7`, `9`, `10`, or `11` step in the spacing scale. If you find yourself reaching for an in-between value, consider whether one of the defined steps — or a combination of utilities — can achieve the same goal while keeping your layout consistent. ## The Three Spacing Families AtomicKit organizes spacing utilities into three families, each targeting a different relationship between elements. **Margin** controls the space *outside* an element's border — pushing it away from neighboring elements or the edges of its container. Use margin utilities to space elements apart and to center fixed-width blocks horizontally. **Padding** controls the space *inside* an element's border — between the border and the content within. Use padding utilities to add breathing room inside containers, cards, buttons, and widgets. **Gap** controls the space *between* flex or grid children inside a container. Rather than adding margin to each child, a single gap utility applies consistent spacing across all items. Gap supports an extended scale that includes additional larger steps (10, 16, 18, 20, 22, 24) beyond the core spacing scale, as well as `14` which is available across all gap families. Push elements apart and center blocks with margin, margin-horizontal, margin-vertical, and directional variants Add inner breathing room with padding, padding-horizontal, padding-vertical, and top/bottom variants Space flex and grid children from the container level with gap, gap-x, and gap-y utilities ## Spacing Hierarchy Guide Choosing the right spacing step becomes second nature once you think in tiers. Here is a practical guide to how each part of the scale is typically used: | Tier | Tokens | Typical use | | ------ | --------- | ------------------------------------------------------- | | Micro | `1`, `2` | Icon gaps, badge padding, tight inline spacing | | Small | `3`, `4` | Button padding, list item spacing, form field gaps | | Medium | `6` | Section sub-element spacing, card padding | | Large | `8`, `12` | Section padding, major layout gaps, hero breathing room | ## Best Practices Decide which spacing tier belongs to which type of relationship — for example, always use `gap-4` between form fields and `gap-8` between sections. Consistency is more important than any specific value. Adding `padding-6` to a card keeps its content inset cleanly. Adding `margin-bottom-6` to the card itself controls the gap below it. Mixing the two on the same dimension makes spacing harder to reason about. When you control the container, apply `gap-4` (or another gap utility) rather than `margin-bottom-*` on each child. Gap is removed automatically when there are no siblings, so orphaned spacing never breaks your layout. Combine a fixed or maximum width with `margin-horizontal-auto` to center a block within its parent. This is the standard centering pattern in AtomicKit — no flexbox tricks required. The `px` token (1px) is a precision tool. If you reach for it alongside rem-based steps, make sure the context genuinely calls for a hairline rather than a scaled step. # Typography Utilities: Type Scale and Styles in AtomicKit Source: https://atomickit.copyelement.com/concepts/typography AtomicKit's typography system covers fluid font sizes, font weights, line heights, letter spacing, text alignment, and text style utilities for Elementor. AtomicKit ships a complete set of typography utilities that let you control every dimension of type directly from your Elementor class field. The system includes a fluid font size scale (using CSS `clamp()` so sizes adapt between viewport breakpoints), nine font weight steps, five line height values, ten letter spacing steps, three alignment options, and a handful of text style treatments. Combine these utilities to build expressive, consistent type styles without writing a single line of custom CSS. ## Typography Utilities at a Glance 14 fluid steps from `.text-2xs` (10–11px) to `.text-9xl` (128–186px) using CSS `clamp()`. 9 weight steps from `.font-thin` (100) to `.font-black` (900). 5 fixed values from `.leading-tight` (1.25) to `.leading-loose` (2). 10 steps from `.tracking-tightest` (−0.1em) to `.tracking-ultra-wide` (0.2em). Logical alignment utilities: `.text-start`, `.text-center`, and `.text-end`. Transform and decoration utilities: uppercase, lowercase, underline, italic, and more. Structural grays and six semantic tokens for text color — covered in the Colors section. ## Font Size All size utilities are fluid — each class uses a `clamp()` expression that interpolates between a minimum and maximum size as the viewport width changes. This means your type scales smoothly across devices without breakpoint overrides. | Class | Size Range | | ------------ | ------------- | | `.text-2xs` | 10px → 11px | | `.text-xs` | 12px → 13px | | `.text-sm` | 14px → 16px | | `.text-base` | 16px → 20px | | `.text-lg` | 18px → 25px | | `.text-xl` | 20px → 31px | | `.text-2xl` | 24px → 39px | | `.text-3xl` | 30px → 49px | | `.text-4xl` | 36px → 61px | | `.text-5xl` | 48px → 76px | | `.text-6xl` | 60px → 95px | | `.text-7xl` | 72px → 119px | | `.text-8xl` | 96px → 149px | | `.text-9xl` | 128px → 186px | Use `.text-base` for body copy as a reliable starting point — it spans 16px to 20px, covering comfortable reading sizes across mobile and desktop. Step up to `.text-lg` or `.text-xl` for lead paragraphs and introductory text. ## Font Weight | Class | Weight | | ------------------ | ------ | | `.font-thin` | 100 | | `.font-extralight` | 200 | | `.font-light` | 300 | | `.font-normal` | 400 | | `.font-medium` | 500 | | `.font-semibold` | 600 | | `.font-bold` | 700 | | `.font-extrabold` | 800 | | `.font-black` | 900 | Font weight rendering depends on your loaded typeface. If a weight step isn't available in the font you've set in Elementor's Global Fonts, the browser will synthesize or substitute the nearest available weight. Load the specific weights you intend to use to avoid unexpected results. ## Line Height Line height utilities set a fixed value in pixels along with a unitless ratio. Apply them to block-level text elements to control vertical rhythm. | Class | Value | | ------------------ | ------------ | | `.leading-tight` | 20px / 1.25 | | `.leading-snug` | 22px / 1.375 | | `.leading-normal` | 24px / 1.5 | | `.leading-relaxed` | 26px / 1.625 | | `.leading-loose` | 32px / 2 | ## Quick Reference: Combining Typography Utilities Typography utilities are designed to be composed. Apply multiple classes together to build complete, production-ready type styles directly in Elementor's Advanced CSS Classes field. ```html theme={null}

Build beautiful WordPress sites faster

AtomicKit gives you a complete set of utility classes so you can style any Elementor element without writing custom CSS.

``` ## Letter Spacing | Class | CSS Value | | ----------------------- | -------------------------- | | `.tracking-tightest` | `letter-spacing: -0.1em` | | `.tracking-extra-tight` | `letter-spacing: -0.075em` | | `.tracking-tighter` | `letter-spacing: -0.05em` | | `.tracking-tight` | `letter-spacing: -0.025em` | | `.tracking-normal` | `letter-spacing: 0em` | | `.tracking-wide` | `letter-spacing: 0.025em` | | `.tracking-wider` | `letter-spacing: 0.05em` | | `.tracking-widest` | `letter-spacing: 0.1em` | | `.tracking-extra-wide` | `letter-spacing: 0.15em` | | `.tracking-ultra-wide` | `letter-spacing: 0.2em` | Tight tracking (negative values) reads best on large display headings where default spacing can feel too open. Wide tracking pairs naturally with uppercase labels and small caps at smaller sizes where tight spacing becomes illegible. ## Text Alignment Use logical alignment utilities instead of directional ones so your layouts adapt correctly in both left-to-right and right-to-left contexts. | Class | Alignment | | -------------- | ---------------------------------------- | | `.text-start` | Aligns to the inline start (left in LTR) | | `.text-center` | Centers text | | `.text-end` | Aligns to the inline end (right in LTR) | ```html theme={null}

Centered Section Title

Left-aligned body copy.

Right-aligned metadata or attribution.

``` ## Text Style Apply text transform, decoration, and style utilities to add visual treatment without overriding your font or size settings. | Class | Effect | | --------------- | -------------------------------- | | `.uppercase` | Transforms text to ALL CAPS | | `.lowercase` | Transforms text to all lowercase | | `.underline` | Adds an underline decoration | | `.no-underline` | Removes underline decoration | | `.italic` | Sets font style to italic | ```html theme={null} Featured
"AtomicKit changed how I build with Elementor."
Read the full case study ``` Use `.uppercase` with care on body copy — all-caps text at reading sizes significantly reduces legibility. Reserve it for short labels, badges, navigation items, and headings where the visual weight adds structure rather than obscuring content. # Elementor Variables: Shared Design Tokens in AtomicKit Source: https://atomickit.copyelement.com/concepts/variables Learn how Elementor Variables act as shared design tokens and how they work alongside AtomicKit utility classes to keep your site consistent. Elementor Variables are shared design values you define once and reuse anywhere across your site. When you pair them with AtomicKit utility classes, you get a system where every styling decision — from a brand color to a base spacing unit — flows from a single, authoritative source. This page explains what variables are, how to create and manage them in Elementor, and how to decide when to use a variable versus when to reach for a utility class. ## What variables are and why they help A variable in Elementor works like a design token: it gives a name to a raw value (a hex color, a font family, a pixel size) so that name can be referenced everywhere instead of the raw value itself. This approach brings several practical benefits to your workflow: * **Consistency across pages and components.** Every element that references the same variable stays visually in sync automatically. * **Easier global updates.** Change the variable's value once in the Variables Manager and every element using it updates instantly — no hunting through individual widgets. * **Cleaner custom CSS.** When shared values come from named tokens, your CSS selectors reference meaningful names rather than scattered magic numbers. * **Alignment between Elementor controls and AtomicKit utilities.** Variables bridge Elementor's visual controls and the utility classes AtomicKit provides, keeping both sources of styling in agreement. Elementor currently supports three categories of variables: **Color**, **Font**, and **Size**. Each maps to CSS custom properties that Elementor and AtomicKit can both consume. *** ## How to use variables in Elementor Select any widget or container in the Elementor editor. In a supported control — such as a color swatch, font selector, or size field — look for the **variable icon** (a small token or link icon) at the edge of the control. Click it to open the variables popup window. The popup gives you several options: * **Search** the list of available variables by name to find an existing one quickly. * **Select a variable** from the list to apply it to the current control. The control will now reference the variable rather than a fixed value. * **Create a new variable** by clicking the **+** button, entering a name and value, and confirming. The new variable is immediately available to all controls. Use descriptive names that reflect the role of the value, not the value itself. Prefer `color-brand-primary` over `blue-500` so the name stays meaningful if you later change the brand color. For a full overview of all variables on your site, click the **settings cog** icon in the variables popup to open the **Variables Manager**. From this central panel you can: * **Search** all existing variables * **Create** new Color, Font, or Size variables * **Edit** the value of any existing variable * **Delete** variables that are no longer needed * **Save** all changes to apply them site-wide Deleting a variable that is actively referenced by widgets will leave those controls without a value. Review usage before deleting, or replace the variable reference first. *** ## Variables vs. utility classes Variables and utility classes solve related but distinct problems. Knowing when to reach for each one keeps your workflow clean and your site easy to maintain. | Scenario | Use a Variable | Use a Utility Class | | ------------------------------------------------- | ----------------------------------- | -------------------------------------------------- | | A brand color used in dozens of widgets | ✅ Define once, reference everywhere | — | | A specific shade of blue used in one button | — | ✅ Apply a color utility class directly | | A base font size token for the design system | ✅ Store as a Size variable | — | | Adding padding, flex layout, or rounded corners | — | ✅ Compose utility classes in the CSS Classes field | | A spacing value shared across many containers | ✅ Use a Size variable | — | | A one-off text size adjustment on a single widget | — | ✅ A `text-*` utility class is simpler | The rule of thumb is straightforward: **use a variable when the value itself should be reusable across many places; use a utility class when you want to apply a styling pattern or behavior to an element.** Variables and classes complement each other — a utility class can reference a CSS variable internally, so you get both the convenience of a single class name and the flexibility of a globally managed value behind it. Some AtomicKit utility families — such as border widths and component colors — reference CSS custom properties (e.g. `var(--border-sm)`, `var(--color-surface)`) that you can override with Elementor Variables. This means you can adjust the underlying token in the Variables Manager and have all widgets using the relevant utility class update automatically. *** ## Related references The AtomicKit Variables Manager is the central panel for creating, editing, and deleting Color, Font, and Size variables across your site. Border width and color utilities reference `var(--border-*)` tokens. Pair them with Size variables to control border thickness site-wide. Background and text color utilities map to your Elementor Color variables, keeping your palette centralized in the Variables Manager. # Box Shadow Presets for Elevation and Depth in AtomicKit Source: https://atomickit.copyelement.com/effects/box-shadow Add elevation and depth to Elementor elements using AtomicKit outer and inset shadow presets, with semantic color variants for status-driven UI. AtomicKit ships standalone box shadow presets — each class is a complete shadow definition that includes spread, blur, offset, and color in one utility. Outer shadow presets lift surfaces off the canvas to communicate elevation; inset shadow presets push surfaces inward to create recessed wells, trays, and pressed states. Because every preset is self-contained, you get consistent, production-ready shadows without configuring any values by hand. **Use one shadow class per element.** Shadow size classes (e.g., `shadow-md`) and shadow color classes (e.g., `shadow-primary`) are not designed to be combined. Each is a complete, standalone preset. Stacking them on the same element will produce unexpected results. Choose the one class that best fits your use case. ## Outer Shadow Sizes Outer shadows lift an element visually off the background. Use lighter shadows for dense UI components and heavier shadows for focal points and overlapping surfaces. | Class | Best For | | --------------- | --------------------------------------------------------------------------- | | `.shadow-sm` | Subtle lift — dense lists, form inputs, tight grid items | | `.shadow-md` | Balanced elevation — everyday cards, product tiles, content blocks | | `.shadow-lg` | Stronger depth — highlighted or featured content within a layout | | `.shadow-xl` | Large standalone depth — featured promos, hero cards, call-to-action panels | | `.shadow-panel` | Full panel depth — overlapping modals, pricing modules, flyout panels | ```html theme={null}
``` ## Colored Outer Shadows Color shadow presets use the same geometry as `shadow-md` but tint the shadow with a semantic color. Use them to reinforce meaning alongside status indicators, alerts, or branded elements. | Class | Use Case | | ------------------- | -------------------------------------------------------------------- | | `.shadow-primary` | Brand-colored elevation for featured or active elements | | `.shadow-secondary` | Secondary brand accent for supporting highlights | | `.shadow-neutral` | Neutral toned glow for subtle decorative depth | | `.shadow-success` | Confirmation states — success messages, completed steps | | `.shadow-warning` | Caution states — warnings, review-required indicators | | `.shadow-error` | Error states — validation failures, destructive action confirmations | ```html theme={null}
``` ## Inset Shadow Sizes Inset shadows reverse the depth direction, making an element look recessed into the page rather than lifted off it. They're ideal for input fields, search bars, and any control that should appear sunken or pressed. | Class | Best For | | ------------------ | -------------------------------------------------------------- | | `.inset-shadow-sm` | Light well — subtle depth on text inputs or segmented controls | | `.inset-shadow-md` | Balanced inset — search fields, select dropdowns, text areas | | `.inset-shadow-lg` | Deeper well — trays, slots, and inactive tab backgrounds | | `.inset-shadow-xl` | Strong inset — pressed button states, deep tray containers | ```html theme={null}
``` ## Colored Inset Shadows Colored inset shadows apply semantic tinting to the `inset-shadow-md` geometry. Use them to highlight the current state of interactive controls. | Class | Use Case | | ------------------------- | ----------------------------------------------------- | | `.inset-shadow-primary` | Active input or focused field in brand color | | `.inset-shadow-secondary` | Secondary-themed well or tray | | `.inset-shadow-neutral` | Neutral recessed depth for general-purpose containers | | `.inset-shadow-success` | Valid input or confirmed selection | | `.inset-shadow-warning` | Input requiring attention | | `.inset-shadow-error` | Invalid input or error field state | ```html theme={null}
``` ## Best Practices * **Start lighter than you think you need.** `shadow-sm` and `shadow-md` handle the majority of card and container use cases. Reserve `shadow-xl` and `shadow-panel` for elements that genuinely need to float above the rest of the layout. * **Match shadow weight to element size.** Small, dense components like inputs and tags look best with `shadow-sm`. Large, standalone panels suit `shadow-xl` or `shadow-panel`. * **Use inset shadows for interactive depth.** If a component accepts input or has a pressed state, an inset shadow reinforces that affordance more clearly than a flat background alone. * **Use colored shadows sparingly.** A `shadow-error` on a validation field is effective because it's rare. If every card has `shadow-primary`, the semantic meaning is lost. * **Never stack size and color shadow classes.** Each class is a complete preset. Applying both `shadow-md` and `shadow-primary` to the same element will not produce a mid-sized primary-colored shadow — one will override the other. ## Related Utilities * [Opacity](/effects/opacity) — Layer transparent elements to complement shadow depth effects. * [Border Width](/borders/width) — Combine borders with shadows to define surface edges clearly. # AtomicKit Opacity Scale: opacity-0 Through opacity-100 Source: https://atomickit.copyelement.com/effects/opacity Control element transparency in Elementor using AtomicKit opacity classes from opacity-0 to opacity-100 for overlays, disabled states, and layering. AtomicKit ships a complete opacity scale that lets you dial the transparency of any Elementor element from fully invisible to fully opaque. Whether you're building a dark overlay behind a modal, dimming a disabled button, or creating a layered media composition, you have a precise value for every use case without reaching for custom CSS. ## Full Opacity Scale AtomicKit ships every 5% step from `opacity-0` through `opacity-100` — 21 values in total. All classes map directly to the CSS `opacity` property. | Class | Opacity Value | CSS Property | | -------------- | ------------- | --------------- | | `.opacity-0` | 0% | `opacity: 0` | | `.opacity-5` | 5% | `opacity: 0.05` | | `.opacity-10` | 10% | `opacity: 0.1` | | `.opacity-15` | 15% | `opacity: 0.15` | | `.opacity-20` | 20% | `opacity: 0.2` | | `.opacity-25` | 25% | `opacity: 0.25` | | `.opacity-30` | 30% | `opacity: 0.3` | | `.opacity-35` | 35% | `opacity: 0.35` | | `.opacity-40` | 40% | `opacity: 0.4` | | `.opacity-45` | 45% | `opacity: 0.45` | | `.opacity-50` | 50% | `opacity: 0.5` | | `.opacity-55` | 55% | `opacity: 0.55` | | `.opacity-60` | 60% | `opacity: 0.6` | | `.opacity-65` | 65% | `opacity: 0.65` | | `.opacity-70` | 70% | `opacity: 0.7` | | `.opacity-75` | 75% | `opacity: 0.75` | | `.opacity-80` | 80% | `opacity: 0.8` | | `.opacity-85` | 85% | `opacity: 0.85` | | `.opacity-90` | 90% | `opacity: 0.9` | | `.opacity-95` | 95% | `opacity: 0.95` | | `.opacity-100` | 100% | `opacity: 1` | ## Code Examples **Overlay on an image — darken a background behind text or UI:** ```html theme={null}
``` **Disabled button state — visually mute an inactive control:** ```html theme={null}
``` **Subtle hover tint — light background wash over a card:** ```html theme={null}
``` ## Best Practices Values in the `opacity-10` to `opacity-50` range work well for color washes, image overlays, and decorative background layers. They let the content underneath show through while shifting the visual tone. Values in the `opacity-60` to `opacity-75` range clearly communicate that a component is temporarily inactive. The element remains visible and understandable, just visually de-emphasized. Apply opacity to a wrapper or background layer rather than the entire component when you only want to dim the background. This keeps text and interactive elements at full contrast while the decorative layer fades. Too many transparent layers stacked on top of one another can produce muddy, hard-to-read interfaces. If you find yourself using opacity to compensate for a color that's too strong, adjust the color token instead. ## Accessibility Do not apply `opacity` values below `opacity-75` to elements that contain body text, labels, or interactive controls. Reduced opacity lowers the effective contrast ratio between text and its background, which can fail WCAG contrast requirements and make content unreadable for users with low vision. Use opacity on decorative, background, or media layers only. ## Related Utilities * [Box Shadow](/effects/box-shadow) — Add elevation and depth without affecting transparency. * [Colors](/colors) — Use color tokens instead of opacity to achieve lighter fills and tints. # Flex Alignment Utilities: Justify, Items, and Self Source: https://atomickit.copyelement.com/flexbox/alignment Align flex items on both axes in Elementor using AtomicKit's justify-*, items-*, self-*, and content-* utilities with responsive breakpoint support. AtomicKit provides a complete set of alignment utilities for both the main axis (`justify-*`) and the cross axis (`items-*`, `self-*`, `content-*`) of flex containers. Together they replace nearly every manual positioning adjustment you would otherwise make in Elementor's style panel, and all of them support responsive `--on-*` variants so alignment can shift at any breakpoint. ## Justify Content `justify-*` utilities align children along the **main axis** — horizontally in a row, vertically in a column. | Class | CSS | Effect | | ------------------ | -------------------------------- | -------------------------------------------------------- | | `.justify-start` | `justify-content: flex-start` | Pack items at the start of the axis | | `.justify-center` | `justify-content: center` | Center items along the axis | | `.justify-end` | `justify-content: flex-end` | Pack items at the end of the axis | | `.justify-between` | `justify-content: space-between` | First item at start, last at end, space between the rest | | `.justify-around` | `justify-content: space-around` | Equal space on both sides of each item | | `.justify-evenly` | `justify-content: space-evenly` | Equal space between all items and edges | ### Header with logo and navigation — `justify-between` `justify-between` is the go-to utility for header layouts where the logo sits on the left and the navigation on the right: ```html theme={null}
Brand Brand
``` ### Centered hero content — `justify-center` Center a heading and call-to-action along the main axis with `justify-center`. Pair with `flex-col` so items stack before being centered: ```html theme={null}

Welcome to the site

A short, punchy tagline goes here.

Get started
``` ### Right-aligned actions — `justify-end` Use `justify-end` to push a group of buttons or actions to the far right of a row: ```html theme={null}
``` ## Align Items `items-*` utilities align children along the **cross axis** — vertically in a row, horizontally in a column. They apply to all children at once. | Class | CSS | Effect | | ---------------- | ------------------------- | --------------------------------------------- | | `.items-start` | `align-items: flex-start` | Align children to the start of the cross axis | | `.items-center` | `align-items: center` | Center children on the cross axis | | `.items-end` | `align-items: flex-end` | Align children to the end of the cross axis | | `.items-stretch` | `align-items: stretch` | Stretch children to fill the container height | ### Vertically centered navigation bar — `items-center` The single most-used alignment class in any UI: vertically centering mixed-height content in a horizontal bar. ```html theme={null} ``` ### Equal-height card row — `items-stretch` `items-stretch` forces all cards in a row to match the height of the tallest card, giving the row a consistent baseline: ```html theme={null}
Short card content
This card has much more text and will be taller than the others by default.
Medium length card content here
``` ## Align Self `self-*` utilities override the parent's `align-items` for **one specific child**. Apply them directly to the child element you want to break from the group. | Class | CSS | Effect | | -------------- | ------------------------ | ---------------------------------------------- | | `.self-start` | `align-self: flex-start` | Align this item to the start of the cross axis | | `.self-center` | `align-self: center` | Center this item on the cross axis | | `.self-end` | `align-self: flex-end` | Align this item to the end of the cross axis | A classic use case is a card row where all cards stretch to equal height, but a single featured badge should pin to the top of its cell: ```html theme={null}
Regular item — stretches to full height
Featured badge — stays at the top
Regular item — stretches to full height
``` ## Align Content `content-*` utilities control how **multiple lines** are distributed across the cross axis. They only have a visible effect when the flex container is using `.flex-wrap` and children have wrapped onto more than one line. | Class | CSS | Effect | | ------------------ | ------------------------------ | ------------------------------------------ | | `.content-start` | `align-content: flex-start` | Pack all lines toward the cross-axis start | | `.content-center` | `align-content: center` | Center all lines in the cross-axis space | | `.content-end` | `align-content: flex-end` | Pack all lines toward the cross-axis end | | `.content-between` | `align-content: space-between` | Spread lines with equal space between them | | `.content-around` | `align-content: space-around` | Equal space around each line | | `.content-evenly` | `align-content: space-evenly` | Equal space between all lines and edges | `content-*` classes have no effect on single-line flex containers. You must combine them with `.flex-wrap` and a fixed container height for the spacing to be visible. ```html theme={null}
Design Development Strategy Branding Motion Copywriting
``` ## Layout recipes These are the three most frequently reached-for alignment combinations. Copy and adapt them as a starting point for your own components. ```html theme={null}

Page heading

Supporting copy

Primary action
Card A
Card B
Card C
``` ## Responsive variants All alignment utilities support the `--on-*` suffix. This is useful when center-aligned content on mobile should switch to a space-between layout on wider screens: ```html theme={null}
Brand
``` Responsive suffixes are mobile-first: `--on-s`, `--on-m`, `--on-l`, `--on-xl`. A class without a suffix applies at all viewport sizes and is overridden by any breakpoint-specific class. ## Best practices `justify-*` always targets the main axis (the direction children flow). `items-*` and `self-*` target the cross axis. Keeping this mental model clear prevents trial-and-error alignment. Rather than wrapping an outlier child in its own container, reach for `.self-start`, `.self-center`, or `.self-end` to nudge it independently while the rest of the group stays consistent. `content-*` has no effect unless the container both wraps (`flex-wrap`) and has enough height for the lines to actually spread. Set `min-height` or `height` on the container to give the lines room. Centering an element on both axes requires both `justify-center` and `items-center`. One class alone centers on only one axis, which is a common source of "almost centered" bugs. # Flex Direction, Wrap, and Order Utilities in AtomicKit Source: https://atomickit.copyelement.com/flexbox/direction Set flex direction and wrap behavior in Elementor using AtomicKit's flex-row, flex-col, flex-wrap, basis, grow, shrink, and order utilities. Once you have a flex container, the direction utilities determine which way its children flow — left to right, top to bottom, or in reverse. Wrap utilities decide what happens when children run out of space. Together these two sets give you full control over how a layout adapts to different content amounts and screen sizes without extra container nesting. ## Flex direction The direction utilities set the main axis of a flex container. All four values are available: | Class | CSS | Effect | | ------------------- | -------------------------------- | ------------------------------------- | | `.flex-row` | `flex-direction: row` | Children flow left to right (default) | | `.flex-col` | `flex-direction: column` | Children stack top to bottom | | `.flex-row-reverse` | `flex-direction: row-reverse` | Children flow right to left | | `.flex-col-reverse` | `flex-direction: column-reverse` | Children stack bottom to top | ### Horizontal row — navigation bar The default flex direction is already `row`, but declaring it explicitly makes your intent clear and makes responsive overrides more predictable: ```html theme={null} ``` ### Vertical column — form stack Switch to `.flex-col` to stack form fields, card sections, or sidebar items cleanly: ```html theme={null}
``` ### Responsive direction change A very common pattern is stacking items vertically on mobile and switching to a row on medium screens and up. Use the `--on-*` suffix to override direction at a breakpoint: ```html theme={null}
Sidebar
Main content
``` Reverse variants (`.flex-row-reverse`, `.flex-col-reverse`) are useful when you want the visual order to differ from the DOM order — for example, placing a call-to-action before its supporting copy in the visual layout while keeping the semantic HTML order intact for accessibility. ## Flex wrap Wrap utilities control whether children are forced onto a single line or allowed to wrap onto additional lines when there is not enough space. | Class | CSS | Effect | | -------------------- | ------------------------- | ---------------------------------------- | | `.flex-nowrap` | `flex-wrap: nowrap` | All children stay on one line (default) | | `.flex-wrap` | `flex-wrap: wrap` | Children wrap to new lines as needed | | `.flex-wrap-reverse` | `flex-wrap: wrap-reverse` | Children wrap upward instead of downward | ### Responsive card grid with flex-wrap Adding `.flex-wrap` turns a flex row into a responsive multi-line layout. Combine it with `basis-*` utilities to set each card's target width: ```html theme={null}
Card one
Card two
Card three
Card four
``` On small screens every card takes full width. On medium screens they pair up in two columns. On large screens they sit three across. ### Responsive wrap toggle Sometimes you want wrapping on mobile (where space is tight) but a single enforced row on larger screens: ```html theme={null}
Tab one
Tab two
Tab three
Tab four
``` ## Flex grow, shrink, and basis These utilities control how individual flex children size themselves relative to available space. | Class | CSS | Effect | Responsive | | -------------- | ------------------ | ------------------------------------------------ | ---------- | | `.flex-grow` | `flex-grow: 1` | Child expands to fill leftover space | — | | `.flex-shrink` | `flex-shrink: 1` | Child shrinks when space is tight | — | | `.basis-auto` | `flex-basis: auto` | Size based on content width | `--on-*` | | `.basis-full` | `flex-basis: 100%` | Take the full container width | `--on-*` | | `.basis-0` | `flex-basis: 0` | Start from zero — let flex-grow distribute space | `--on-*` | | `.basis-px` | `flex-basis: 1px` | Minimal basis for grow-only columns | `--on-*` | ### Fractional basis values Use fractional basis classes to split a row into proportional columns. All fractional basis classes support the `--on-*` responsive suffix, making them ideal for column layouts that reflow at different breakpoints. | Class | Value | Use case | | ------------ | ------- | ------------------------------- | | `.basis-1-2` | 50% | Two equal columns | | `.basis-1-3` | 33.333% | Three equal columns | | `.basis-2-3` | 66.666% | Wide main + narrow sidebar | | `.basis-1-4` | 25% | Four equal columns | | `.basis-3-4` | 75% | Wide main + very narrow sidebar | ```html theme={null}
Main content
Sidebar
``` Fractional basis utilities work best alongside `.flex-wrap` and without `flex-grow` applied, so children don't expand beyond their intended proportion. If you want fluid columns that fill all remaining space, combine `.basis-0` with `.flex-grow` instead. ## Order Order utilities let you rearrange flex children visually without changing the DOM structure — helpful for accessibility and for responsive layouts where priority order differs across screen sizes. Both classes support the `--on-*` responsive suffix so you can change visual order at specific breakpoints. | Class | CSS | Effect | | -------------- | --------------- | ----------------------------- | | `.order-first` | `order: -99999` | Move item to the visual start | | `.order-last` | `order: 99999` | Move item to the visual end | ```html theme={null}
Supporting detail
Secondary detail
Call to action
``` ## Best practices Even though `flex-row` is the browser default, adding it explicitly makes responsive overrides clearer and avoids confusion when reading the class list later. `.flex-wrap` alone won't create even columns. Set a `basis-*` class on each child so they wrap at the right widths rather than collapsing to their content size. Order changes only the visual sequence — screen readers and keyboard navigation still follow the DOM order. Use it for cosmetic reordering, not for meaningful content sequences. Reverse direction variants can substitute for RTL layout adjustments in simple cases, but for full RTL support consider using logical CSS properties in your custom styles. # Flex Containers: .flex and .inline-flex in AtomicKit Source: https://atomickit.copyelement.com/flexbox/flex Activate flexbox on any Elementor element with AtomicKit's .flex and .inline-flex utilities, and switch display modes responsively with --on-* suffixes. Flexbox is the foundation of most modern UI layouts, and AtomicKit makes it available in Elementor without writing a single line of CSS. Add `.flex` or `.inline-flex` to any container or widget in the **CSS Classes** field, then layer in direction, alignment, and gap utilities to compose exactly the layout you need. ## `.flex` vs `.inline-flex` Both classes activate flexbox on the element, but they differ in how the container itself behaves inside its parent's layout flow. | Class | CSS | Container behavior | | -------------- | ---------------------- | ----------------------------------------------- | | `.flex` | `display: flex` | Takes up the full available width (block-level) | | `.inline-flex` | `display: inline-flex` | Shrinks to fit its content (inline-level) | Use `.flex` for rows, columns, and any container that should span the full width of its parent. Use `.inline-flex` when the container needs to sit alongside other inline content — such as a badge inside a sentence or a small button group within a text block. ## Horizontal layout The default flex direction is row, so adding `.flex` alone lines children up side by side. Combine it with a gap utility to add consistent spacing between items: ```html theme={null}
Item one
Item two
Item three
``` This is the go-to pattern for navigation bars, icon rows, button groups, and any horizontal list of components. ## Vertical layout Add `.flex-col` to stack children top to bottom. This is ideal for form fields, stacked cards, and sidebar widget lists: ```html theme={null}
``` The `.flex-col` direction utility is documented in detail on the [Direction & Wrap](/flexbox/direction) page, along with reverse variants and wrap behavior. ## Inline flex `.inline-flex` keeps the container in the text flow while still giving you flex alignment controls. A common use case is a label badge that sits within a heading or paragraph: ```html theme={null}

This feature is ✦ New in version 2.

``` The badge aligns its icon and text with `.items-center`, and both stay inline with the surrounding prose. ## Responsive variants Every flex utility accepts the `--on-*` responsive suffix. This lets you switch an element's display mode at specific breakpoints — a common pattern is stacking content vertically on mobile and switching to a row on wider screens: ```html theme={null}
Left column
Right column
``` You can also remove flex behavior at a breakpoint: ```html theme={null} ``` Responsive suffixes are mobile-first and stack: `--on-s`, `--on-m`, `--on-l`, `--on-xl`. A class without a suffix applies at every viewport size. ## Best practices Add `.flex` to the parent container, not to the children. The flex children are controlled by their parent's direction, alignment, and gap settings. Prefer `gap-*` utilities over adding margins to individual children. Gap lives on the container and keeps children reusable across different layouts. Decide on `.flex-row` or `.flex-col` when you add `.flex`. The default is row, but being explicit makes the layout easier to read and override at breakpoints. Use `.inline-flex` only when the container needs to flow with surrounding text or inline elements. For standalone layout regions, `.flex` is almost always the right choice. ## Related pages Control flex direction and wrapping behavior Justify and align items on both axes Space flex children with uniform or axis-specific gaps # Gap Utilities for Flex Container Spacing in Elementor Source: https://atomickit.copyelement.com/flexbox/gap Space flex children in Elementor using AtomicKit's gap, gap-x, and gap-y utilities — uniform or axis-specific spacing without adding margins to children. Gap is the preferred way to space flex children in AtomicKit — it applies spacing at the container level so children stay reusable and don't carry layout-specific margins wherever they go. Use `gap-*` for uniform spacing in both directions, and reach for `gap-x-*` or `gap-y-*` when horizontal and vertical spacing should differ — a common need in wrapping tag lists and card grids. ## Gap value scale AtomicKit's gap utilities follow a consistent spacing scale shared across the framework. Every value maps to a `rem` unit with a pixel equivalent for reference: | Class | Value | Pixels | | ------------------------------------- | --------- | ------ | | `.gap-0` / `.gap-x-0` / `.gap-y-0` | `0` | 0px | | `.gap-px` / `.gap-x-px` / `.gap-y-px` | `1px` | 1px | | `.gap-1` / `.gap-x-1` / `.gap-y-1` | `0.25rem` | 4px | | `.gap-2` / `.gap-x-2` / `.gap-y-2` | `0.5rem` | 8px | | `.gap-3` / `.gap-x-3` / `.gap-y-3` | `0.75rem` | 12px | | `.gap-4` / `.gap-x-4` / `.gap-y-4` | `1rem` | 16px | | `.gap-6` / `.gap-x-6` / `.gap-y-6` | `1.5rem` | 24px | | `.gap-8` / `.gap-x-8` / `.gap-y-8` | `2rem` | 32px | | `.gap-12` / `.gap-x-12` / `.gap-y-12` | `3rem` | 48px | | `.gap-14` / `.gap-x-14` / `.gap-y-14` | `3.5rem` | 56px | The three gap families share the same value steps: `gap-*` sets both axes at once, `gap-x-*` sets only the column (horizontal) gap, and `gap-y-*` sets only the row (vertical) gap. You can combine all three on the same element — `gap-x-*` and `gap-y-*` will override the corresponding axis set by `gap-*`. ## Uniform gap — button group When spacing should be identical in all directions, `gap-*` is the simplest choice. A typical button group uses `gap-3` or `gap-4` to keep actions close together without crowding: ```html theme={null}
``` For a vertically stacked group, the same class works with `.flex-col`: ```html theme={null}
``` ## Axis-specific gap — tag list When a flex container wraps onto multiple lines, you often want more vertical breathing room between rows than horizontal space between items. Combine `gap-x-*` and `gap-y-*` to dial in each axis independently: ```html theme={null}
Design Development Strategy Branding Motion Copywriting Research
``` The same pattern works for card grids where column gutters and row gutters follow different spacing rules from your design system: ```html theme={null}
Card one
Card two
Card three
Card four
Card five
Card six
``` ## Gap vs margin Both gap and margin can create visual space between elements, but they serve different purposes. Choosing the right one keeps your markup clean and your components portable. * Spacing children inside a flex container you control * All children in the row or column need the same spacing * Children are reusable components that shouldn't carry layout-specific styles * You want spacing to disappear automatically at the container's edges * Adding space between a component and unrelated siblings outside a flex parent * Pushing one specific child away from others in a non-flex context * Applying asymmetric offset to a single item (e.g. `margin-top` on a section heading) * Working with elements in a block or inline flow rather than a flex container Avoid adding `margin` to flex children as a substitute for `gap` — it makes components harder to reuse because they carry spacing assumptions about their parent layout. Define spacing at the container level with `gap-*` instead. ## Responsive variants Gap utilities support the `--on-*` responsive suffix. Increase or decrease spacing at specific breakpoints to match the visual density appropriate for each screen size: ```html theme={null}
Card one
Card two
Card three
``` You can also apply responsive axis-specific overrides. A layout that starts with uniform gap on mobile could switch to separate horizontal and vertical values on larger screens: ```html theme={null}
``` Responsive suffixes are mobile-first: `--on-s`, `--on-m`, `--on-l`, `--on-xl`. A class without a suffix applies at all viewport sizes. ## Best practices `gap-4` (1rem / 16px) is a comfortable default for most UI components. Step up to `gap-6` or `gap-8` for section-level spacing and down to `gap-2` or `gap-3` for compact controls. If you set `gap-x-6` on a container and also add `margin-right` to every child, the spacing will compound unpredictably. Pick one approach per axis and stay consistent. If a parent's gap is leaking into a nested flex container, add `gap-0` to the child container to reset it before applying the spacing you actually want. AtomicKit's gap scale is shared with padding and margin utilities. Using the same values across all spacing properties keeps your vertical rhythm consistent without extra thought. ## Related pages Set up block and inline flex containers Control which direction gap spacing is applied along # Introduction to AtomicKit: Elementor v4 CSS Utilities Source: https://atomickit.copyelement.com/introduction AtomicKit gives Elementor v4 designers a complete atomic CSS utility framework and design system manager to build consistent, responsive websites faster. AtomicKit is a WordPress plugin that supercharges Elementor v4 with a complete set of CSS utility classes and a visual design system manager. Instead of writing custom CSS for every spacing tweak, color choice, or layout adjustment, you apply descriptive class names directly to your Elementor elements — and AtomicKit handles the rest. Install AtomicKit and apply your first utility classes in minutes Manage reusable design tokens across your entire site Apply utilities at specific viewport sizes with the --on-\* suffix system Explore the visual dashboard, class creator, and import/export tools ## What AtomicKit Provides AtomicKit ships two tightly integrated surfaces that work together: **CSS Utility Framework** — A comprehensive library of atomic classes covering spacing, typography, colors, flexbox layout, sizing, borders, effects, and filters. Every class is tokenized with CSS variables so your design stays consistent and easy to update. **Design System Manager** — A visual WordPress admin panel where you create and manage global CSS variables (design tokens), build custom utility classes with a visual editor, import CSS from external sources, export your design system, and roll back to previous states with snapshot history. ## Why Atomic Classes in Elementor? Elementor's visual editor is powerful, but repeating the same styling decisions across dozens of widgets gets tedious and leads to drift. AtomicKit solves this by letting you: * **Reuse patterns** — Apply `padding-6 rounded-lg shadow-md` to any element from the Elementor Advanced CSS classes panel * **Enforce consistency** — Every spacing, color, and size value comes from the same shared token scale * **Respond to viewports** — Add `--on-m` to any structural class and it only applies at that breakpoint * **Ship faster** — Stop writing one-off CSS and start composing from a predictable, documented system ## Key Utility Families | Category | Example Classes | | ---------- | ----------------------------------------------------------- | | Spacing | `padding-4`, `margin-horizontal-8`, `gap-6` | | Typography | `text-2xl`, `font-bold`, `leading-relaxed`, `tracking-wide` | | Colors | `text-primary`, `background-gray-light`, `border-error` | | Layout | `flex`, `flex-col`, `justify-between`, `items-center` | | Sizing | `width-full`, `height-screen`, `maximum-width-3xl` | | Borders | `border-2`, `border-solid`, `rounded-xl` | | Effects | `shadow-md`, `opacity-75`, `blur-sm` | | Filters | `brightness-90`, `saturate-150`, `grayscale` | AtomicKit requires Elementor v4 with the **Atomic Elements** and **Global CSS Variables** experiments enabled. See the [Quick Start](/quickstart) for setup instructions. # Class Creator: Build and Manage CSS Utility Classes Source: https://atomickit.copyelement.com/plugin/class-creator Use AtomicKit's Class Creator to build Elementor global classes with property selectors, breakpoint scopes, design token references, and live CSS preview. The Class Creator gives you a visual interface for building custom global CSS classes that work alongside AtomicKit's built-in utilities. You select CSS properties from dropdowns, scope them to Desktop, Tablet, or Mobile breakpoints, reference your design tokens from the sidebar, and preview the compiled CSS before saving. Everything saves directly to Elementor's global class registry — no manual file editing required. ## Creating a Class In your WordPress admin, go to **Elementor → AtomicKit** and select the **Class Creator** tab. Type a name for your new class in the **Class Name** field. Use lowercase letters and hyphens — for example, `card-shadow` or `flex-center`. Avoid spaces, underscores, and uppercase characters for best compatibility with Elementor. Use the category dropdown to choose the type of CSS you want to add. Available categories are: | Category | Examples | | ----------- | ----------------------------------------------------------- | | Layout | `display`, `position`, `overflow` | | Spacing | `margin`, `padding` | | Sizing | `width`, `height`, `max-width` | | Flexbox | `flex-direction`, `justify-content`, `align-items`, `gap` | | Grid | `grid-template-columns`, `grid-gap`, `grid-area` | | Typography | `font-size`, `font-weight`, `line-height`, `letter-spacing` | | Backgrounds | `background-color`, `background-image`, `background-size` | | Borders | `border`, `border-radius`, `outline` | | Custom CSS | Write any arbitrary CSS property-value pair | Enter a value for each property. To reference a design token instead of a hard-coded value, drag a variable from the **Design Tokens** sidebar into the value field — or click the token to insert the `var(--token-name)` reference automatically. Switch between the **Desktop**, **Tablet**, and **Mobile** breakpoint tabs at the top of the form. Properties set on a breakpoint tab apply only at that screen size. You can add, change, or omit any property per breakpoint independently. The **Live CSS Preview** panel compiles your selections in real time, showing the exact CSS that will be saved. Review it to confirm property names, values, and `@media` blocks look correct before proceeding. Click **Save Class**. The class is registered in Elementor's global class registry and immediately available to apply to any element in the Elementor editor. Use hyphenated class names such as `text-muted` or `container-wide` rather than camelCase or underscore-separated names. Elementor processes class names as standard HTML class attributes, and hyphens are the conventional separator in CSS utility naming. ## Design Tokens Sidebar The Design Tokens sidebar lists every CSS variable you have created in the [Variables Manager](/plugin/variables-manager). You can use these tokens as values inside any property field in the Class Creator. * **Drag and drop** a token from the sidebar into a value input to insert the `var(--token-name)` reference. * **Click** a token while a value input is focused to insert the reference at the cursor position. Referencing tokens instead of hard-coded values means that updating a variable in the Variables Manager automatically updates every class that uses it — no need to edit classes individually. ## Breakpoint Scopes AtomicKit maps breakpoint tabs to Elementor's built-in responsive breakpoints. | Tab | Scope | | ------- | ------------------------------------------------------------------ | | Desktop | Styles applied at all screen sizes (the base layer) | | Tablet | Styles applied inside Elementor's tablet breakpoint `@media` block | | Mobile | Styles applied inside Elementor's mobile breakpoint `@media` block | Set your base styles under **Desktop** first, then switch to **Tablet** and **Mobile** to add or override only the properties that need to change at smaller sizes. Properties left empty on a breakpoint tab inherit from the larger breakpoint. ## Managing Existing Classes Open the **Class Manager** view within the Class Creator section to see all registered global classes and take management actions. ### Reordering Classes Drag the handle icon (☰) on any class row up or down to change its position in the list. The order saves instantly — no confirmation required. Class order affects the CSS cascade when multiple classes are applied to the same element. ### Renaming a Class Click **Rename** on any class row and enter a new display label. AtomicKit preserves the underlying CSS class selector when you rename, so existing Elementor elements that use the class continue to work without any changes. The display label in Elementor's editor updates to reflect the new name, but the CSS class selector used in your HTML remains unchanged. Your published pages are unaffected by renames. ### Duplicating a Class Click **Duplicate** to clone a class. The duplicate copies all property rules including responsive breakpoint styles. Duplicating is useful when you need a variation of an existing class (for example, `btn-primary` → `btn-secondary`) and want to start from the same property set. ### Deleting Classes * **Single delete:** Click the **Delete** icon on a class row to remove that class from Elementor. * **Bulk delete:** Select multiple classes using their checkboxes and click **Delete Selected**. Deleting a class removes it from Elementor's registry. Any elements on your site that had that class applied will lose it silently — Elementor does not warn you about active usage before deletion. Create a [Snapshot](/plugin/snapshot-history) before bulk deletions. ## Related * [Variables Manager](/plugin/variables-manager) — create the design tokens you reference in class values * [Snapshot History](/plugin/snapshot-history) — save a checkpoint before making large changes to your class set # AtomicKit Dashboard: Live Metrics and Health Checks Source: https://atomickit.copyelement.com/plugin/dashboard The AtomicKit dashboard shows live counts of global classes, CSS variables, and tracked imports, plus health diagnostics for Elementor v4 experiments. The AtomicKit dashboard is your design system control center. It shows live metrics for your Elementor global classes and CSS variables, and automatically checks that the required Elementor v4 experiments are enabled. Open it any time you want a quick read on the state of your design system or to jump straight into a specific workflow. ## Live Metrics The top of the dashboard displays three live counters that update whenever you make changes through AtomicKit. The current number of Elementor global classes registered on your site. Elementor enforces a hard limit of **1,000 classes** — the counter turns amber as you approach that threshold. The number of global CSS variables currently managed through the Variables Manager, covering colors, fonts, sizes, and custom tokens. The number of CSS imports AtomicKit has processed through the Import Center and is actively tracking for diff comparisons on future re-imports. Elementor's global class limit is **1,000 classes**. AtomicKit surfaces this counter prominently so you can plan ahead. If you are nearing the limit, use the Export Center to archive unused classes and delete them to free up capacity. ## Health Diagnostics AtomicKit runs an automated environment check every time you open the dashboard. It verifies that the two Elementor v4 experiments required for the plugin to function are both active. | Check | What it confirms | | -------------------- | ------------------------------------------------- | | Atomic Elements | Elementor's native atomic class engine is enabled | | Global CSS Variables | Elementor's native CSS variable system is enabled | Each check displays a green **Active** badge when passing or a red **Inactive** badge when failing. ### Fixing a Failed Check If either experiment shows **Inactive**, follow these steps: In your WordPress admin, go to **Elementor → Settings → Experiments**. Search for **Atomic Elements** or **Global CSS Variables** in the experiments list. Set the toggle to **Active** and click **Save Changes**. Navigate back to **Elementor → AtomicKit**. The health check should now show green. Both the **Atomic Elements** and **Global CSS Variables** experiments must be enabled for AtomicKit to read and write to Elementor. If either is off, class and variable operations will not persist. ## Workflow Actions The dashboard provides quick-entry buttons so you can jump directly into any workflow without navigating through the sidebar. Browse, reorder, rename, duplicate, or delete your existing global classes. Open the Variables Manager to add or edit design tokens. Jump straight to the Import Center to load a CSS framework or preset. Go directly to the Class Creator tab to define a new utility class. ## Best Practices Elementor's 1,000-class limit is a hard ceiling. Plan your utility class architecture to stay well below it. Use AtomicKit's Export Center to archive snapshots of class sets you no longer need actively, then delete those classes to reclaim capacity. Major Elementor updates occasionally reset experiment states. After any update to Elementor or AtomicKit, open the dashboard and confirm both health checks are still green before continuing design work. Glancing at the live metrics before a design session takes seconds and can save you from hitting limits or working with stale variable counts mid-workflow. # Export Your Elementor Design System as CSS or JSON Source: https://atomickit.copyelement.com/plugin/export Export Elementor global classes from AtomicKit as a .css stylesheet or .json schema, with options to export all classes or a filtered selection. AtomicKit's Export Center lets you package your Elementor design system for backup, team sharing, or migration. Export as a `.css` file for direct stylesheet use, or as a `.json` schema for programmatic workflows and external tooling. You choose both the format and the scope of what gets exported each time you download. ## Export Formats A standard CSS file containing all selected global class rules, including responsive `@media` blocks. Use this file to import classes into another AtomicKit installation, commit it to version control, or load it as a reference stylesheet. A structured JSON representation of your classes, properties, breakpoints, and design token references. Use this format for programmatic processing, design token pipelines, custom tooling, or documentation generators. A `.css` export looks like this: ```css theme={null} .flex-center { display: flex; justify-content: center; align-items: center; } @media (max-width: 767px) { .flex-center { flex-direction: column; } } ``` A `.json` export follows a schema like this: ```json theme={null} { "classes": [ { "id": "flex-center", "label": "flex-center", "properties": { "desktop": { "display": "flex", "justify-content": "center", "align-items": "center" }, "mobile": { "flex-direction": "column" } } } ] } ``` ## Export Scope Options You control exactly which classes are included in your export using the scope selector. | Scope | What is exported | | -------------------------- | ------------------------------------------------------------------------------------------------------- | | **All Classes** | Every global class currently registered in Elementor | | **AtomicKit-Tracked Only** | Only classes that AtomicKit created or imported — excludes any classes added directly through Elementor | | **Selected Classes** | Classes you choose manually using the search-and-filter table | The **Selected Classes** option opens a searchable table listing all available classes. Filter by name, check the classes you want, and only those are included in the download. ## How to Export In your WordPress admin, go to **Elementor → AtomicKit** and select the **Export** tab. Select **.css** for a stylesheet output or **.json** for a design system schema. Select **All Classes**, **AtomicKit-Tracked Only**, or **Selected Classes**. If you choose **Selected Classes**, use the search table to find and check the classes you want to include. Click the **Download** button. Your browser downloads the file immediately. No data is sent to any external server — the file is generated locally. ## Common Use Cases Export your design system as `.css` and share it with your team. A colleague can import it into their own AtomicKit installation using the Import Center, giving them an identical class set to work with. Build and refine your design system on a staging site, export it as `.css`, then import it on the production site. The diff preview in the Import Center makes it easy to see exactly what will change before you commit. Export your design system regularly and commit the `.css` file to your project's Git repository. This gives you a human-readable history of design system changes alongside your theme code. Use the `.json` export to feed your design system into style dictionary pipelines, documentation sites, Figma token importers, or any custom tooling that can consume structured JSON. ## Related * [Import](/plugin/import) — bring an exported `.css` file into another AtomicKit installation * [Snapshot History](/plugin/snapshot-history) — save a restore point before making changes you plan to export # Import CSS into AtomicKit from Paste, URL, or File Source: https://atomickit.copyelement.com/plugin/import Import CSS utility classes into AtomicKit by pasting raw CSS, fetching from a URL, or uploading a .css file, with a diff preview before committing changes. The AtomicKit Import Center lets you bring CSS utility classes into Elementor from three sources: paste raw CSS directly, provide a public URL, or upload a `.css` file. Before any changes are applied, you review a diff that shows which classes are brand new and which existing classes would be overwritten. Nothing is committed to Elementor until you confirm. ## Import Methods Paste CSS text directly into the input area. Use this when you have CSS on your clipboard from a design tool export, a code editor, or another plugin. Enter the public URL of a hosted `.css` file. AtomicKit fetches the file and parses it for you. The URL must be publicly accessible — authenticated or locally hosted files cannot be fetched. Drag and drop a `.css` file onto the upload zone, or click **Browse** to select one from your computer. Only `.css` files are accepted. ## Understanding the Diff Preview After you provide CSS through any of the three methods, AtomicKit parses the input and displays a diff preview before making any changes. The diff has two sections: | Section | What it shows | | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | | **New** | Classes found in the imported CSS that do not yet exist in your Elementor registry — these will be added | | **Overwrite (Existing)** | Classes in the imported CSS whose names match classes already in Elementor — importing will replace their current property values | Review both sections carefully. If you see an overwrite you did not intend, you can cancel, rename the conflicting class in your source CSS, and re-import. Classes listed under **New** are safe additions. Classes listed under **Overwrite** will replace existing property values on those classes — the original values will be lost unless you have a snapshot to restore from. ## Completing an Import In your WordPress admin, go to **Elementor → AtomicKit** and select the **Import** tab. Select **Paste**, **URL**, or **File Upload** and provide your CSS source. For URL fetches, click **Fetch** to retrieve the file. For file uploads, drag the file onto the upload zone or click **Browse**. Read through the **New** and **Overwrite** sections. Confirm that the classes being added or replaced are exactly what you intend. If anything looks wrong, click **Cancel** to start over without making any changes. Click **Confirm Import**. AtomicKit writes the new and updated classes to Elementor's global class registry. The import is tracked so future re-imports of the same source show an accurate diff. Create a [Snapshot](/plugin/snapshot-history) before importing a large set of classes. If the result is not what you expected, you can restore the snapshot and try again with adjusted source CSS. Classes in the **Overwrite** section will have their current property values replaced permanently. Without a snapshot, there is no way to recover the previous values after confirming an import. ## After Import Once confirmed, all imported classes appear in the [Class Manager](/plugin/class-creator) immediately. You can edit any imported class, assign it to elements in the Elementor editor, or export the updated set using the [Export Center](/plugin/export). ## Related * [Export](/plugin/export) — package your design system for backup or team sharing * [Snapshot History](/plugin/snapshot-history) — save a restore point before importing # AtomicKit Plugin: Features and Admin Panel Overview Source: https://atomickit.copyelement.com/plugin/overview AtomicKit adds a dedicated WordPress admin panel with a class creator, variables manager, import/export tools, and snapshot history for Elementor. AtomicKit extends the WordPress admin with a dedicated panel for managing your Elementor design system. From the AtomicKit admin section you can create and manage global CSS variables, build and organize utility classes, import design systems from external CSS, export your setup, and roll back to any saved snapshot. Every feature works directly with Elementor's native global class and variable systems — no custom post types, no extra databases. ## Accessing AtomicKit Navigate to **Elementor → AtomicKit** in your WordPress admin sidebar to open the plugin panel. From there, the top navigation gives you instant access to every feature area. AtomicKit requires Elementor v4 with the **Atomic Elements** and **Global CSS Variables** experiments enabled. If either experiment is off, the [Dashboard](/plugin/dashboard) health check will flag it with a direct link to fix it. ## Feature Pages Monitor active class counts, variable counts, and tracked imports. Run automated health diagnostics to confirm your Elementor v4 experiments are active. Create, edit, and delete global CSS design tokens for colors, fonts, sizes, and custom values. Changes propagate instantly across every element using those tokens. Visually build custom Elementor global classes with property selectors, breakpoint scopes, design token references, and a live CSS preview before saving. Bring CSS utility classes into Elementor by pasting raw CSS, fetching from a public URL, or uploading a .css file — with a full diff preview before committing. Download your Elementor design system as a .css stylesheet or .json schema. Choose to export all classes, AtomicKit-tracked classes only, or a filtered selection. Save named checkpoints of your Elementor class state and restore any previous snapshot. AtomicKit auto-saves before every rollback for an extra layer of safety. ## Feature Quick Reference The table below summarises what each section of the plugin does at a glance. | Feature | What it does | | ----------------- | ------------------------------------------------------------------- | | Dashboard | Monitors class counts, variable counts, and runs health diagnostics | | Variables Manager | Create, edit, and delete CSS design tokens | | Class Creator | Visually build custom utility classes with breakpoint scopes | | Import Center | Bring in CSS from paste, URL, or file upload | | Export Center | Download your design system as `.css` or `.json` | | Snapshot History | Save and restore Elementor class states | # Snapshot History: Save and Restore Design Checkpoints Source: https://atomickit.copyelement.com/plugin/snapshot-history Use AtomicKit's Snapshot History to save named checkpoints of your design system and roll back to any previous state if a change goes wrong. Snapshot History gives you a safety net for your Elementor design system. AtomicKit automatically saves a snapshot before any rollback operation, and you can manually capture named snapshots at any point so you always have a known-good state to return to. Think of snapshots as save points you can jump back to if a bulk import, class deletion, or redesign does not go as planned. ## How Snapshots Work There are two ways a snapshot gets created: Whenever you restore a previous snapshot, AtomicKit automatically captures a snapshot of the **current** Elementor state first. This means rolling back never causes you to lose the state you rolled back from — you can always roll forward again. You can create a named snapshot at any time with a custom label and optional notes. Use manual snapshots as design checkpoints — for example, before a client review, before a major refactor, or after completing a milestone. A snapshot captures the full state of Elementor's global class registry at the moment it is taken, including all class properties and responsive breakpoint rules. ## Creating a Manual Snapshot In your WordPress admin, go to **Elementor → AtomicKit** and select the **Snapshot History** tab. Click the **Create Snapshot** button at the top of the page. Give the snapshot a meaningful label so you can identify it later — for example, `Before client review — v1.4` or `Post homepage redesign 2024-07`. Add notes if you want to record what changed or why the checkpoint was created. Click **Save Snapshot**. The snapshot appears at the top of the history list with its label, notes, and a timestamp. Include a date and short context in every snapshot label — for example, `2024-07-15 — before brand refresh`. Generic labels like "backup" become hard to distinguish when you have many snapshots in the list. ## Restoring from a Snapshot Open **Snapshot History** and scroll through the list. Each entry shows its label, optional notes, and the timestamp of when it was taken. Find the snapshot you want to restore and click its **Restore** button. AtomicKit displays a confirmation prompt noting that the **current state will be saved as a new snapshot** before the restore takes place. This is your safety net — you will not lose your current work. Click **Confirm Restore**. AtomicKit replaces the current Elementor class state with the state captured in the selected snapshot. The auto-save snapshot of your previous state appears at the top of the history list. Restoring a snapshot **overwrites the current Elementor class state**. AtomicKit creates an automatic snapshot of your current state before proceeding, but confirm you see the auto-save notice before clicking Confirm. If you dismiss the prompt without reading it, the auto-save still occurs — but it is good practice to verify. ## Best Practices The Import Center's diff preview shows you what will change, but mistakes still happen. Create a manual snapshot before importing any large CSS library or third-party preset so you have a clean restore point if the results are unexpected. Before making sweeping changes to your utility class set — renaming conventions, bulk deletes, or restructuring breakpoint rules — capture a snapshot labeled with the date and context. If the redesign stalls or the client wants to revert, you have a precise restore point. A snapshot list full of entries labeled "Backup" is not useful under pressure. Use labels that include a date and a brief description of the project state at that moment. Notes are optional but worth filling in for any snapshot you expect to reference later. Snapshots live in your WordPress database. For off-site backup or version control, combine snapshots with regular [exports](/plugin/export) — keep the `.css` or `.json` in your repository alongside the live snapshot history in AtomicKit. ## Related * [Import](/plugin/import) — always snapshot before a large import * [Export](/plugin/export) — complement snapshots with downloadable file backups # Variables Manager: Create and Manage Design Tokens Source: https://atomickit.copyelement.com/plugin/variables-manager Use AtomicKit's Variables Manager to create, edit, and delete Elementor global CSS variables for colors, fonts, sizes, and custom tokens across your site. The Variables Manager lets you create and maintain the CSS design tokens that power your Elementor site. Changes apply globally — update a color variable once and every element using that variable updates automatically across all pages. This makes the Variables Manager the best place to start when setting up a new design system or rebranding an existing one. ## Variable Types AtomicKit organises variables into four tabs. Each tab is tailored to a specific kind of token with an input designed for that value type. Enter a hex color string directly or use the live color picker that syncs alongside the text field. Any valid hex value is accepted, including shorthand (`#fff`). Choose from a curated Google Fonts dropdown: **Inter**, **Roboto**, **Outfit**, **Playfair Display**, **Fira Code**, and **System Default**. The selected family is saved as a CSS variable you can reference in Typography settings. Enter numeric values with any CSS unit (`px`, `rem`, `em`, `%`). Use this tab for consistent spacing, line heights, border radii, or any scalar measurement in your system. Write freeform values including viewport units (`vw`, `vh`), `clamp()` expressions, or any complex CSS value. Use this tab for fluid typography scales, responsive spacing, and other non-trivial tokens. ## Creating a Variable In your WordPress admin, go to **Elementor → AtomicKit** and select the **Variables Manager** tab. Choose **Colors**, **Fonts**, **Sizes**, or **Custom** depending on the type of token you want to create. Click the **Add Variable** button. Enter a descriptive name using lowercase letters and hyphens — for example, `primary-color` or `spacing-lg`. This name becomes the CSS custom property name (e.g. `--primary-color`). Enter the value in the provided input. For Colors, the live color picker updates as you type. For Fonts, select from the dropdown. For Sizes and Custom, type the value directly. Click **Save**. The variable is now registered in Elementor and available in every design control that supports CSS variables. Use a naming convention that reflects role, not appearance. Prefer `--color-primary` over `--blue-500` so the token stays meaningful if you rebrand. Hyphens are required — spaces and underscores are not valid in CSS custom property names. ## Editing a Variable To change the value of an existing variable, click its row in the Variables Manager list. The input field becomes editable inline. Make your change and press **Save**. The updated value propagates immediately to every Elementor element that references the variable. Renaming a variable (changing its name, not just its value) generates a new CSS custom property. If you rename, update any hardcoded references in your classes or custom CSS to use the new name. ## Deleting Variables ### Delete a Single Variable Click the **Delete** icon (trash can) next to any variable row. The variable is removed from Elementor immediately. Any classes or elements that were referencing it will fall back to the browser default for that property. ### Wipe All Variables The **Wipe All** button removes every variable in the currently active tab in a single action. **Wipe All is destructive and cannot be undone** from within the Variables Manager. Create a [Snapshot](/plugin/snapshot-history) before using this action so you can restore your variables if needed. ## Using Variables in Elementor Once a variable is saved, you can reference it anywhere Elementor exposes a design control: 1. Open any element's style settings in the Elementor editor. 2. Look for the **CSS Variable** picker icon in a supported control (color swatches, typography fields, spacing inputs). 3. Select the variable from the picker — Elementor inserts the `var(--your-variable-name)` reference automatically. Variables are also available in the AtomicKit [Class Creator](/plugin/class-creator), where you can drag them from the Design Tokens sidebar directly into property value fields. Combine variables with utility classes for a two-layer design system: variables define your raw tokens (colors, sizes, fonts), and classes apply those tokens as patterns (e.g. a `btn-primary` class that references `--color-primary` and `--spacing-md`). This keeps both layers easy to update independently. # Quickstart: Install AtomicKit and Apply Utility Classes Source: https://atomickit.copyelement.com/quickstart Install AtomicKit, enable required Elementor experiments, and apply your first utility classes to an Elementor element in under five minutes. AtomicKit is a CSS utility framework and WordPress plugin built specifically for Elementor v4. This quickstart walks you through installing the plugin, enabling the Elementor experiments it depends on, and applying your first utility classes — so you can start building more consistent, maintainable layouts right away. ## Prerequisites Before you begin, make sure your environment meets the following requirements: * **WordPress** 6.0 or later installed and running * **Elementor** v4 installed and activated * Administrator access to your WordPress dashboard * A theme compatible with Elementor v4 (Hello Elementor or any block-based theme works well) *** ## Installation & Setup Download the latest AtomicKit plugin ZIP using the button below (or the **Download Plugin** button in the top-right of this site). Get the latest AtomicKit `.zip` file. In your WordPress admin sidebar, navigate to **Plugins → Add New**. You can install AtomicKit in two ways: * **Upload the ZIP file:** Click **Upload Plugin**, choose the AtomicKit `.zip` file you [downloaded](https://get.copyelement.com/zYxsKS), then click **Install Now**. * **Search the directory:** Type `AtomicKit` in the search field, locate the plugin in the results, and click **Install Now**. Once installation completes, click **Activate Plugin** to enable it on your site. If you received AtomicKit as a downloadable ZIP (for example, through a license portal), use the upload method. The search method only finds plugins listed in the WordPress.org directory. AtomicKit relies on two Elementor v4 experimental features. Go to **Elementor → Settings → Experiments** in your WordPress admin and enable both: * **Atomic Elements** — unlocks the component architecture AtomicKit hooks into * **Global CSS Variables** — allows Elementor to expose and consume CSS custom properties that AtomicKit utilities reference After toggling each experiment on, click **Save Changes** at the bottom of the page. Elementor may prompt you to regenerate your CSS — go ahead and accept. These experiments are required for AtomicKit to function correctly. Skipping this step means utility classes may not render as expected on the front end. With the plugin activated and experiments enabled, a new item appears in your WordPress admin sidebar: **Elementor → AtomicKit**. Click it to open the AtomicKit dashboard. From this dashboard you can: * Browse the available utility families (spacing, typography, layout, and more) * Configure plugin settings and output preferences * Check which utility classes are loaded on your site Bookmark the AtomicKit dashboard — it's your reference for available class names as you build in Elementor. Open the Elementor editor for any page or template. Select a widget — a Heading, Container, or Section works well for a first test. In the left panel, go to the **Advanced** tab and locate the **CSS Classes** field. Type one or more AtomicKit utility classes directly into that field, separated by spaces: ```html theme={null} padding-6 rounded-lg shadow-md background-white ``` Click **Update** (or preview in the editor) to see the classes applied. The widget will pick up the corresponding styles immediately — no custom CSS required. The **Advanced → CSS Classes** field is the standard Elementor mechanism for adding classes to any widget or container. AtomicKit is designed around this field, so every utility class you apply lives here, keeping your CSS clean and your styling decisions visible at a glance. *** ## How the class system works Every AtomicKit utility is a single-purpose CSS class that maps to one or a small group of related CSS declarations. You combine classes in the **Advanced → CSS Classes** field to compose the look you want — similar to working with utility-first CSS in a code-based project, but entirely within the Elementor editor. ```html theme={null} padding-6 rounded-lg shadow-md text-xl font-semibold text-primary flex flex-col flex-row--on-m ``` Classes are applied directly to the element's root node in the rendered HTML. They don't interfere with Elementor's own inline styles — AtomicKit utilities and Elementor controls can coexist on the same widget. *** ## Next steps Now that AtomicKit is installed and you've applied your first classes, explore the core concepts that make the framework powerful: Learn how Elementor Variables act as shared design tokens and how they pair with AtomicKit utilities to keep values consistent across your site. Use the `--on-*` breakpoint suffix system to apply structural utility overrides at specific viewport widths. Get a full picture of everything AtomicKit includes — utility families, configuration options, and how the plugin integrates with Elementor v4. # Margin Utilities: Control External Spacing in AtomicKit Source: https://atomickit.copyelement.com/spacing/margin Control external spacing around Elementor elements with AtomicKit's margin, margin-horizontal, margin-vertical, and directional margin utilities. Margin utilities add space *outside* an element's border, pushing it away from surrounding content and container edges. AtomicKit gives you a full set of directional variants — all sides, horizontal axis, vertical axis, and each individual side — plus an `auto` value for centering and negative steps for overlapping effects. You apply these classes directly in the Elementor Advanced panel's CSS classes field, just like any other AtomicKit utility. ## Available Patterns The following table shows every margin pattern AtomicKit supports, along with the values available for each. | Class pattern | Supported values | | ---------------------------- | ----------------------------------------------------- | | `margin-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-horizontal-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-vertical-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-top-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-right-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-bottom-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `margin-left-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12`, `auto` | | `-margin-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-horizontal-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-vertical-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-top-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-right-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-bottom-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `-margin-left-` | `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | ## All-Sides Margin Use `margin-` to apply the same margin on every side of an element at once. This is the most concise way to add uniform spacing around a standalone widget or card. ``` margin-8 ``` This sets `margin: 2rem` (32px) on all four sides of the element. ## Single-Side Margin Use directional utilities when you need to control only one edge. This is common for spacing elements within a vertical flow or giving a heading extra breathing room below it. ``` margin-top-6 ``` Adds `margin-top: 1.5rem` (24px) — useful for pulling a section heading away from content above it. ``` margin-bottom-4 ``` Adds `margin-bottom: 1rem` (16px) — a reliable default for paragraph-level separation. Combine directional classes freely to handle asymmetric spacing needs: ``` margin-top-8 margin-bottom-4 ``` ## Horizontal and Vertical Shorthand The `margin-horizontal-*` and `margin-vertical-*` utilities set both sides of an axis in a single class, replacing the need for separate left/right or top/bottom declarations. ### Centering a block with `margin-horizontal-auto` This is the standard AtomicKit pattern for horizontally centering a fixed-width or maximum-width element inside its container. Pair it with a sizing utility: ``` maximum-width-3xl margin-horizontal-auto ``` The `auto` value tells the browser to distribute remaining horizontal space equally on both sides, centering the block. This only works when the element has a defined width narrower than its container. ### Vertical rhythm shorthand ``` margin-vertical-8 ``` Sets `margin-top: 2rem` and `margin-bottom: 2rem` simultaneously — a clean way to add consistent vertical breathing room around a section or divider element. ## Negative Margins Prefix any margin utility with `-` to apply a negative value. Negative margins pull an element *toward* or past neighboring elements and container edges, which is useful for visual overlapping effects, bleed layouts, or compensating for padding on a parent container. ``` -margin-top-4 ``` Pulls the element 1rem (16px) upward, overlapping content above it. ``` -margin-horizontal-6 ``` Extends the element 1.5rem (24px) beyond both horizontal edges of its container — a common technique for making a full-bleed image row inside a padded wrapper. Negative margin classes do not support `auto`. The available values for negative variants are `px`, `1`, `2`, `3`, `4`, `6`, `8`, and `12`. Use negative margins sparingly. They can interfere with Elementor's layout calculations and make spacing harder to debug. Prefer gap utilities on a flex container whenever the goal is simply to remove default spacing between children. ## Best Practices `margin-horizontal-auto` is explicit about its intent and works reliably across container widths. Hardcoded left/right margin values break as the viewport changes. When you own the parent container, apply `gap-*` utilities there instead of `margin-*` on each child. Gap spacing is symmetric, doesn't collapse, and disappears cleanly when items wrap or are removed. Negative margins serve a real purpose for bleed layouts and decorative overlaps. For everyday spacing, stick to positive values so layouts remain predictable at every breakpoint. You don't have to commit to `margin-*` all-sides. Stack `margin-top-8 margin-bottom-4` on a heading to reflect the visual weight difference between the space above and below it. ## Related Utilities * **[Padding](/spacing/padding)** — Add space *inside* an element's border * **[Gap](/flexbox/gap)** — Space flex and grid children from the container level * **[Sizing](/concepts/sizing)** — Control element dimensions that interact with margin centering # Padding Utilities: Control Internal Spacing in AtomicKit Source: https://atomickit.copyelement.com/spacing/padding Add internal spacing inside Elementor elements with AtomicKit's padding, padding-horizontal, padding-vertical, padding-top, and padding-bottom utilities. Padding utilities add space *inside* an element's border — between the border edge and whatever content lives within. Unlike margin, padding is part of the element's own box, so it affects background area and click targets, not the space between siblings. AtomicKit provides all-sides, horizontal, vertical, top, and bottom variants, giving you precise control over the inset of any Elementor widget, container, or section. ## Available Patterns The following table shows every padding class pattern AtomicKit currently ships. | Class pattern | Supported values | | ---------------------------- | --------------------------------------------- | | `padding-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `padding-horizontal-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `padding-vertical-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `padding-top-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | | `padding-bottom-` | `0`, `px`, `1`, `2`, `3`, `4`, `6`, `8`, `12` | The current AtomicKit bundle does not include `padding-left-*` or `padding-right-*` as standalone utilities. Use `padding-horizontal-*` to apply the same value to both sides, or `padding-*` to set all four sides at once. ## All-Sides Padding Use `padding-` to apply uniform inset spacing on all four sides of an element. This is the most concise option when you want equal breathing room all around — common for cards, buttons, callout boxes, and icon widgets. ``` padding-6 ``` Sets `padding: 1.5rem` (24px) on every side. This is a solid default for card components and content containers. ## Horizontal and Vertical Shorthand Use `padding-horizontal-*` and `padding-vertical-*` when the inset needs to differ between axes — for example, more breathing room on the sides than top and bottom, or vice versa. ### Horizontal padding ``` padding-horizontal-8 ``` Sets `padding-left: 2rem` and `padding-right: 2rem` simultaneously. Use this for wide containers where you want the content to sit away from the side edges. ### Vertical padding ``` padding-vertical-4 ``` Sets `padding-top: 1rem` and `padding-bottom: 1rem` simultaneously. Combine it with `padding-horizontal-*` for two-axis control: ``` padding-vertical-4 padding-horizontal-8 ``` This creates a "pill" inset — tighter top and bottom, wider left and right — common for buttons and inline badges. ## Top and Bottom Padding Use `padding-top-*` and `padding-bottom-*` when you need independent control over each vertical edge. A common case is a hero section that needs more space at the top (to clear a sticky header) than at the bottom. ``` padding-top-12 ``` Adds `padding-top: 3rem` (48px) — a strong inset for hero sections or prominent feature areas. ``` padding-bottom-8 ``` Adds `padding-bottom: 2rem` (32px) — useful for footer areas or sections with content directly following. Combine directional utilities freely for asymmetric vertical insets: ``` padding-top-12 padding-bottom-6 ``` ## About Missing `padding-left` and `padding-right` AtomicKit's current bundle intentionally omits standalone `padding-left-*` and `padding-right-*` utilities. In practice, you rarely need to set horizontal padding sides independently: * For **equal horizontal inset**, use `padding-horizontal-*`. * For **all-sides padding with a different vertical value**, combine `padding-horizontal-*` with `padding-vertical-*`. * For **full control of all sides**, start with `padding-*` all-sides and override the vertical edges with `padding-top-*` or `padding-bottom-*`. If you genuinely need asymmetric left/right padding (for example, a list with a decorative left border), the AtomicKit Class Creator lets you define a custom utility with exactly the properties you need, keeping your custom CSS inside the design system rather than scattered across widget style panels. ## Best Practices Cards, buttons, badges, and alert boxes almost always benefit from `padding-*` all-sides. It's a single class, it's readable, and it responds cleanly to font size changes. `padding-horizontal-8 padding-vertical-4` is cleaner than four separate directional classes and communicates the design intent immediately — wide sides, compact top and bottom. When you have a section with multiple child widgets, add `padding-*` to the container rather than `margin-*` to each child. The result is the same but the container owns the responsibility for its own inset. Sticky or fixed headers overlap content. Add `padding-top-12` or `padding-top-8` to a hero section so the headline clears the header at all viewport widths. If an Elementor widget applies default padding you want to remove, use `padding-0` instead of setting a custom value in the style panel. The utility class will take precedence and keep the reset visible in your class list. ## Related Utilities * **[Margin](/spacing/margin)** — Add space *outside* an element's border * **[Gap](/flexbox/gap)** — Space flex and grid children from the container level * **[Sizing](/concepts/sizing)** — Control element dimensions that interact with padding and layout