# Cube Fold

> A rotating 3D cube whose gradient faces fold inward and out — a pure-CSS scientific loader with a light default theme.

- Category: Loader
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Atlas
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: 3d, gradient
- Page: https://builder.atheros.ai/components/cube-fold
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_cube_fold/preview-09e731e8979f.webp

## Features

- A true 3D cube built with `transform-style: preserve-3d`
- Six gradient faces fold toward the center and back out
- Continuous rotation combined with the folding keyframes
- Design-system agnostic — face colors resolve from gradient tokens
- Light theme by default with a full dark palette applied via `body.dark`
- Responsive layout that adapts spacing down to 480px
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Loading role** — `role="status"` with `aria-label="Loading"` on the loader stage
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations
- **Decorative SVG** — Background scanline layer marked `aria-hidden="true"`

## Common questions

**Which frameworks is Cube Fold available in?**

Cube Fold ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is the Cube Fold loader component free?**

Cube Fold is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Cube Fold support dark mode?**

Yes. Cube Fold ships light and dark themes, both drawn from the Atlas design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Cube Fold live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/cube-fold

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
