ع

№ 047 · Animated · Demo for Florist

Swirl

Lilac, violet and amber, colour blobs turning behind the headline like petals, the bouquets on a sliding strip and reviews drifting by.

In a new tab

Design DNA

Colours

Fonts

  • أبجد هوز حطيArabic headingsMarhey
  • كلمن سعفص قرشتArabic textMada
  • Aa Bb Cc 123Latin headingsYoung Serif
  • The quick brown foxLatin textOutfit

Sections

  1. Headerpill
  2. Herocentered
  3. Bouquetsstrip
  4. About Yasminaoverlap
  5. Flowers every weekpricing
  6. From the nurserystrip
  7. Kind wordsmarquee
  8. Ordercenter
  9. Footerbig

Motion: RichCorners: 16pxLight

The prompt

Describe your project and the prompt updates as you type. What you write stays in your browser.

Your project

Languages
Pages
# Build a website in the "Swirl" style

You are building a production-ready website. Follow the design system below exactly and adapt the content to the project. The design comes from the Qalib library (design No. 047).

## 1. The project

- Name: [fill in]
- Type of site: [fill in]
- What it does: [fill in]
- Languages: Arabic and English: Arabic first (RTL) and a full English version (LTR) with a language switch
- Pages: One page with sections and anchor links
- Contact details: [fill in]
- Assets: No photos yet: use suitable placeholders and mark each one TODO for replacement.

## 2. Visual reference

- Live demo (Arabic): https://qalib.omardeek.tech/demos/swirl/ar.html
- Live demo (English): https://qalib.omardeek.tech/demos/swirl/en.html

Each demo is one HTML file with all its CSS in a <style> tag. Download the raw file (for example `curl -s <url>`), not a summary of it, and treat its CSS as the source of truth for spacing, sizes and effects. The demo's business and text are fictional: never copy them.

## 3. Design DNA: Animated

Pages that move with the scroll: headings that rise word by word, running text bands, layered images, numbers that count up. Motion is part of the identity, not decoration.

- **Typography:** A huge display face for the main heading (up to 10vw), split into words that appear in sequence, and a sans for text.
- **Colour:** Strong contrast: very dark or very light background with one fiery accent, and animated gradients where useful.
- **Layout:** Full-width sections, moving text bands between sections, horizontal image strips, giant numbers.
- **Shapes:** Medium radii, magnetic buttons that follow the pointer, rotating circular text.
- **Imagery:** Large photos with parallax depth and slow zoom, or morphing gradient blobs.
- **Motion:** Rich but deliberate: 60–90ms staggers, strong ease-out curves, and everything stops under prefers-reduced-motion.
- **Details:** Counters, a scroll progress bar, a custom cursor, text that fills with colour on hover.
- **Avoid:** Motion without purpose, constant movement that hurts reading, ignoring reduced-motion preferences.

**This design in particular:** Lilac, violet and amber, colour blobs turning behind the headline like petals, the bouquets on a sliding strip and reviews drifting by.

## 4. Design tokens

```css
:root {
  --bg: #F5F0FF; /* page background */
  --surface: #FFFFFF; /* cards, panels, alternate sections */
  --ink: #241B35; /* main text */
  --muted: #6B5E80; /* secondary text */
  --accent: #7C3AED; /* buttons, links, highlights */
  --accent2: #F59E0B; /* second highlight */
  --line: #E7DEF7; /* rules and borders */
  --on-accent: #FFFFFF; /* text on the accent colour */
  --radius: 16px;
}
```

- Colour scheme: light
- Fonts (available on Google Fonts and fontsource; self-host them):
  - Arabic headings: Marhey (500, 700)
  - Arabic text: Mada (300, 400, 600)
  - Latin headings: Young Serif (400)
  - Latin text: Outfit (300, 400, 600, 800)
- Type scale: h1: clamp(2.7rem, 6.2vw, 5.4rem) · h2: clamp(2rem, 4.2vw, 3.3rem) · h3: 1.25rem · text: 17px with 1.7 line height (Arabic 18px and 1.9) · max width 1200px · section spacing clamp(72px, 10vw, 136px)

## 5. Page structure

The demo shows a Florist. Build the sections with these visual treatments, in this order:

1. **Header**: A floating rounded "pill" menu with a frosted background, detached from the top edge.
2. **Hero**: A centred headline and lead with the buttons, followed by a wide panoramic photo.
3. **Main offering** «Bouquets»: a horizontal strip of tall photos that scrolls sideways
4. **About** «About Yasmina»: A wide photo with a text card overlapping its lower edge.
5. **Pricing** «Flowers every week»: pricing cards with the featured option highlighted, a feature list and a button
6. **Gallery** «From the nursery»: a horizontal strip of tall photos that scrolls sideways
7. **Testimonials** «Kind words»: a row of testimonial cards drifting sideways, pausing on hover
8. **Contact** «Order»: A centred heading and text, a large WhatsApp button, contact details in a row and the hours below.
9. **Footer**: the business name set huge across the footer, above the columns

## 6. Motion

Rich: the headline rises word by word, 90ms staggered reveals, magnetic buttons, parallax photos and counters; all of it off under prefers-reduced-motion.

**Decorations in this design:**
- large blurred colour blobs drifting slowly behind the hero
- photos that move slightly slower than the page (parallax)

## 7. Technical requirements

- **Stack:** Choose the stack that fits the project; prefer static HTML, CSS and JavaScript unless it needs more.
- Semantic HTML, mobile first, adapting at 360, 768, 1024 and 1440px, with no horizontal scrolling.
- Arabic: <html lang="ar" dir="rtl">, CSS logical properties (margin-inline-start, inset-inline-end…), mirrored directional icons, never letter-space or uppercase Arabic, and Arabic text at 18px or more.
- Accessibility: WCAG AA contrast, visible focus states, alt text on images, and all motion off under prefers-reduced-motion.
- Performance: self-hosted fonts with font-display: swap and only the weights and subsets in use, WebP or AVIF images with set dimensions, lazy loading below the first screen, and no heavy libraries for simple effects.
- SEO: a title and description for every page, Open Graph, a favicon, and LocalBusiness structured data where relevant.
- Buttons: WhatsApp links as https://wa.me/<number>, phone as tel:, email as mailto:.

## 8. Delivery

1. Start with the tokens and base styles, then build the sections from top to bottom.
2. Compare the result with the live demo at phone and desktop widths before you finish.
3. Finish with how to run the site and how to deploy it.
5,760 characters

Paste it into Claude Code inside a new project folder.

More Animated designs