All answers · Motion and code · 55 questions
Animated websites, answered.
Plain answers about animated websites: what they are, when motion earns its place, and how to build one that stays fast and accessible. For founders, designers and developers who build with AI tools or by hand.
What is an animated website?
An animated website is a site where motion is part of the design: elements move, fade, scale or change as the page loads, as you scroll, or as you hover and click. The motion can come from CSS transitions, JavaScript libraries such as GSAP or Motion, WebGL scenes drawn with three.js, or video. Good animated sites use motion to guide attention and explain the product, not as decoration. AnimatedWebs is a library of 1,777 animated templates built around this idea.
When should a website use animation?
Use animation when it helps a visitor understand something faster: showing how a product works, drawing the eye to the main call to action, giving feedback after a click, or connecting one step of a story to the next. Launch pages, product reveals, portfolios and brand sites benefit most. A short test helps: if removing the animation makes the page harder to understand, keep it. If nothing is lost, the animation is decoration and should be lighter or gone.
When should you avoid animation on a website?
Avoid heavy animation on pages where people come to get a task done quickly: checkout flows, account settings, documentation, government forms and dense dashboards. Motion there slows people down and adds risk for visitors with vestibular disorders. Also skip animation that delays content, such as text that stays hidden until a long intro finishes. A useful rule: animate the first impression and feedback, keep task screens still and fast.
Do animated websites hurt SEO?
No, animation itself does not hurt SEO as long as the text is real HTML that loads with the page and the site stays fast. Problems come from side effects: a hero that hides its headline until a script runs can delay Largest Contentful Paint, heavy scripts can raise Interaction to Next Paint, and elements that jump into place cause layout shift. Keep content in the markup, animate only transform and opacity, and measure Core Web Vitals on a real phone.
Do animations slow down a website?
Animations slow a site only when they are built the expensive way. Animating transform and opacity is cheap because the browser can composite those layers without recalculating layout. Animating width, height, top, left or large blurs forces layout or paint work on every frame and causes dropped frames, especially on phones. Large video files and big JavaScript bundles also slow loading. A well built animated page can load and respond as fast as a static one.
How much does an animated website cost to build?
The cost depends mostly on who writes the code and how custom the motion is. Hand-built custom animation from an agency is the most expensive route because choreography, testing and performance tuning take skilled hours. Building from a template with an AI coding tool is far cheaper. On AnimatedWebs, 365 templates are free with a free account, a Prompt Pack is $29 once for 10 Pro templates, and Pro is $19 a month or $149 a year.
How long does it take to build an animated website?
A one-page animated landing page built from a detailed template prompt with an AI coding tool can be running in an afternoon, then needs time for your own copy, images and testing on phones. A custom multi-page site with bespoke scroll stories or 3D scenes usually takes weeks, because each sequence needs design, tuning and cross-device checks. Starting from a template with a live demo removes most of the design and choreography time.
Should I use CSS or JavaScript for web animation?
Use CSS for simple, state-based motion such as hover effects, transitions between two states, looping keyframes and basic scroll reveals. Use JavaScript when motion depends on logic or needs precise sequencing: timelines with many steps, pinned scroll scenes, physics, cursor following or WebGL. CSS runs with no library cost. JavaScript libraries like GSAP and Motion add control, cross-browser consistency and easier cleanup. Many good sites use both, with each element owned by one system.
Which CSS properties are safe to animate for smooth motion?
Transform and opacity are the safest properties to animate because browsers can usually run them on the compositor without layout or paint work. Transform covers translate, scale and rotate, so most movement can be expressed with it. Filter and clip-path can be acceptable on small elements but cost more on large areas. Avoid animating width, height, margin, top, left and box-shadow on big elements, since each frame then triggers layout or repaint.
What are micro-interactions on a website?
Micro-interactions are small, single-purpose animations that respond to what a person does: a button that presses in on click, a heart that fills when liked, a field that shakes on an invalid entry, a toggle that slides. They confirm an action, show state and make an interface feel responsive. Keep them short, usually around 100 to 300 milliseconds, and never block the next action. The AnimatedWebs UI Library has animated components with live previews.
What are good hero animation ideas for a landing page?
Strong hero ideas show the product or the brand doing something: a 3D product that turns as you scroll, a short film that scrubs with the scroll, particles that form the logo, a shader gradient that reacts to the cursor, or a headline that reveals word by word. Pick one idea and make it fast. The headline and call to action should be readable within the first second, with motion supporting them rather than covering them.
Does animation increase landing page conversions?
Not automatically. Animation can raise conversions when it explains the product faster or points attention at the call to action, and it can lower them when it delays content, distracts from the offer or slows the page on phones. The only reliable answer for your page is a test: run an A/B comparison of an animated and a calmer version and measure sign-ups, not time on page. AnimatedWebs publishes no conversion statistics for its templates.
How do I make an animated portfolio website?
Start with the work, then add motion around it. A good animated portfolio uses smooth page or project transitions, image reveals on scroll, a hover preview for each project and one distinctive hero moment. Keep project images optimized and lazy loaded, since portfolios are image heavy. The quickest route is a portfolio template with a live demo: AnimatedWebs has a portfolio collection, and each template includes a build prompt for your AI coding tool.
How do AI website builders create animations?
AI website builders write animation code from your prompt, usually CSS transitions, Tailwind classes, Motion components in React, or GSAP for timelines and scroll effects. The result depends heavily on the prompt: a vague request like "add animations" gets generic fades, while a prompt that names the effect, timing, easing, scroll ranges and reduced-motion behavior gets specific motion. AnimatedWebs templates are long, detailed build prompts written for exactly this step.
Can ChatGPT or Claude build an animated website?
Yes. ChatGPT, Claude and coding tools such as Claude Code, Cursor and Codex can write complete animated pages with CSS, GSAP, Motion or three.js. They work best when given a precise spec: the layout, every animation with its trigger and timing, the stack and how to handle reduced motion. AnimatedWebs templates provide that spec as a build prompt plus a design system, and coding agents can fetch them directly through the AnimatedWebs MCP server.
Where can I find animated website templates?
AnimatedWebs is a library built specifically for animated templates: 1,777 items, including 1,042 full websites, 404 page sections, 171 animated backgrounds and 160 UI components. 629 of them open as a live demo in the browser, and 365 are free with a free account. Templates are grouped into 20 collections such as scroll animation, WebGL, three.js and GSAP, and each one ships as a build prompt for your AI tool.
Are there free animated website templates?
Yes. AnimatedWebs has 365 free templates, and a free account lets you copy their full build prompts and use them for personal and commercial sites. Free items include WebGL heroes, animated backgrounds, scroll effects and components. No card is needed for the free plan. Free accounts can also use the MCP server for 3 full free prompts a day, so a coding agent can pull a free template straight into your project.
What is the difference between free and paid animated templates?
On AnimatedWebs, free and Pro templates are delivered the same way, as a build prompt and design system, and both carry a commercial license once you have an account. The difference is access: 365 templates are free, while the other 1,412 need Pro, Lifetime or a Prompt Pack unlock. Pro also adds every live demo's full build prompt, an extended DESIGN.md, UI Library source code and higher daily AI limits.
What does an AnimatedWebs template include?
An AnimatedWebs template includes a live demo where the template has one, the full build prompt in Markdown for your AI tool, a design system with DESIGN.md, Tailwind tokens and CSS variables, the template's details such as stack and tested AI builders, and a commercial license. You paste the prompt into Claude Code, Cursor, Lovable, v0, Bolt or ChatGPT, or fetch it through the MCP server, and your tool writes the code.
Do AnimatedWebs templates come with source code files?
No. AnimatedWebs templates do not include a source-code ZIP or repository of the demo site. Each template delivers a build prompt and design system, and your AI tool writes the code in your own project. The live demos are licensed previews for viewing only. The exception is the UI Library, where Pro includes source code for every component, and AnimatedWebs Studio can export the code of a project you build there.
Can I see a live demo of an animated template before buying?
Yes. On AnimatedWebs, 629 templates have a live demo you can open and play in the browser before paying, including 376 that run WebGL and 114 built around video. There is no free trial of Pro, so the live demos and the 365 free templates are the way to try before buying. Sections, components and backgrounds often show previews instead of full demo sites.
Can I use an animated template for a client website?
Yes, on AnimatedWebs. The commercial license in Terms section 4.2 lets you build any number of sites for yourself or for clients from templates your plan includes or that you unlocked, change them freely and keep those sites online after your plan ends. What you may not do, under section 4.3, is resell or redistribute the templates, prompts, DESIGN.md files or demos themselves, or use them to train AI models.
Can I keep the photos and videos from a template demo?
No. The photos and videos in AnimatedWebs demos are licensed for display only, under Terms section 4.4. Replace them with your own media before you publish a site built from a template. The build prompt describes what each image or clip should show, so you can shoot, license or generate your own versions that fit the same layout and motion.
How do I make an animated website accessible?
Make an animated site accessible by honoring the prefers-reduced-motion setting, giving any motion that plays for more than five seconds a pause control, never flashing more than three times per second, and keeping all content readable without the animation. Make sure text is real HTML, interactive elements work with a keyboard, and focus stays visible during transitions. Test with reduced motion turned on in your operating system and with a screen reader.
What is prefers-reduced-motion?
prefers-reduced-motion is a CSS media feature that reports whether a visitor has asked their operating system to minimize motion. You check it with @media (prefers-reduced-motion: reduce) in CSS or window.matchMedia in JavaScript. When it matches, replace large movement, parallax and scroll-scrubbed sequences with simple fades or a still final state. The setting exists for people with vestibular disorders, migraines or attention difficulties, so treat it as a requirement.
Can website animation cause motion sickness?
Yes. Large-scale movement such as parallax, zooming, spinning and scroll-hijacked transitions can trigger dizziness, nausea or headaches in people with vestibular disorders. The risk grows when motion covers most of the screen or moves differently from the user's scroll input. Honor prefers-reduced-motion, keep movement distances modest, avoid making the whole background move against the content, and offer a way to pause continuous motion.
What is the best animation library for websites?
There is no single best library: pick by the job. GSAP is the strongest choice for complex timelines and scroll-driven scenes, and it works with any framework. Motion fits React projects that want declarative component animation, layout transitions and exit animations. three.js or React Three Fiber handle 3D and WebGL. Plain CSS covers hovers, transitions and many scroll reveals with no library at all. Lenis smooths scrolling and pairs well with GSAP.
What is a WebGL website?
A WebGL website draws part of its visuals on the GPU through the WebGL API inside a canvas element, which allows real-time 3D models, shaders, particle systems and image distortion effects that CSS cannot do. Most WebGL sites use three.js or React Three Fiber rather than raw WebGL. On AnimatedWebs, 376 live demos run WebGL, and the WebGL and three.js collections group them.
Are three.js websites slow on phones?
They can be, but they do not have to be. A three.js site stays fast on phones when it caps the device pixel ratio at around 2, keeps polygon counts and texture sizes modest, compresses models, pauses rendering when the canvas is off screen, and loads the 3D scene after the main content. A static poster image while the scene loads keeps Largest Contentful Paint low.
What is an animated website background?
An animated background is a moving layer behind page content: a shader gradient, particle field, flowing mesh, looping video or slow noise texture. It adds depth without competing with the content when it is subtle, low contrast and slow. Code-drawn backgrounds stay sharp at any size and can react to the cursor. AnimatedWebs has 171 animated backgrounds, plus a gradient tool and a video background page.
Should I use video or code for an animated hero section?
Use video when the hero needs real footage or cinematic content that code cannot draw, such as people, places or a filmed product. Use code, meaning CSS, canvas or WebGL, when the visual is abstract, should react to the cursor or scroll, or must stay sharp on every screen. Video costs bandwidth, so compress it and supply a poster image. Code costs CPU or GPU, so cap its work on phones.
How do I add animation to an existing website?
Start small and targeted. Add CSS transitions to buttons and links, reveal key sections on scroll with IntersectionObserver or CSS scroll-driven animations, then consider one signature moment such as an animated hero. Load any animation library only on the pages that use it, wrap motion in a reduced-motion check, and confirm Core Web Vitals do not regress. AnimatedWebs page sections can be added one at a time through your AI coding tool.
What is easing in web animation?
Easing is the curve that controls how an animation's speed changes over its duration. Linear motion moves at a constant speed and looks mechanical. Ease-out starts fast and slows down, which feels natural for elements entering the screen. Ease-in starts slow and speeds up, which suits elements leaving. In CSS you set it with transition-timing-function or cubic-bezier(), and in GSAP with the ease property, such as "power2.out".
How long should a website animation last?
Most interface animations work best between about 150 and 400 milliseconds. Small feedback like a button press can be near 100 to 200 milliseconds, while larger movements such as a panel sliding in or a page transition can run closer to 300 to 500 milliseconds. Hero entrance sequences can be longer but should never hold back the headline. Scroll-scrubbed animation has no fixed duration because the visitor's scroll speed sets the pace.
How do I add page transitions to a website?
The modern native option is the View Transitions API. In a single-page app you wrap a DOM update in document.startViewTransition(), and the browser animates between the old and new states, which you style with the ::view-transition pseudo-elements. Multi-page sites can opt in with the @view-transition CSS rule where supported. Browser support has grown fast but is not universal, so check current support and let unsupported browsers navigate normally.
How do I animate text on a website?
Split the text into lines, words or characters, then animate each piece with a stagger, usually sliding up from behind a mask while fading in. GSAP SplitText handles splitting, including re-splitting on resize, and adds accessibility attributes so screen readers still read the full sentence. Keep text animations short, play them once, and make sure the final text is visible without JavaScript and under reduced motion.
What is a Lottie animation and when should I use one?
Lottie is a JSON-based animation format, usually exported from Adobe After Effects with the Bodymovin plugin and played in the browser by a Lottie player library. It suits vector illustrations, animated icons and onboarding graphics that a designer made in a motion tool. Lottie files can be small for simple vector work, but complex files with many layers get heavy and can stutter on phones. For interactive or 3D motion, code-based animation is usually a better fit.
Can I animate SVG with CSS?
Yes. Inline SVG elements accept CSS transforms, opacity, fill and stroke transitions, and keyframe animations. A popular effect is line drawing: set stroke-dasharray and stroke-dashoffset to the path length, then animate the offset to zero. Use transform-box: fill-box with transform-origin so rotations and scales happen around the shape's own center. SVG must be inline in the HTML, not loaded through an img tag, for CSS to reach its parts.
Why do AI-generated animated websites look generic?
AI-generated sites look generic when the prompt is vague, so the model falls back on common defaults: purple gradients, centered hero text, fade-up on every section and identical card grids. Fix it with specifics: a defined palette and type scale, one distinctive motion idea, exact timing and easing, real content and a reference style. AnimatedWebs templates supply a design system with DESIGN.md and tokens so the AI starts from a defined look.
Can I use an animated template in Lovable, v0 or Bolt?
Yes. AnimatedWebs templates are build prompts, so you paste the prompt into Lovable, v0 or Bolt and the builder generates the animated site in its own project. Each builder has a setup page on AnimatedWebs explaining the best way to paste or adapt the prompt. Template pages also list which AI builders a template was tested with. Very heavy WebGL scenes may need a coding agent for fine tuning.
Can I edit an animated website template without coding?
Yes, with AnimatedWebs Studio. Every template page has an Edit button that opens the design in Studio, for free and Pro templates alike. You change the words, colors and images visually with a live preview, and the motion comes with the design. Publishing takes one click to a shipaw.site link or your own domain, and every version is kept so you can roll back.
Where can I host an animated website?
An animated website is usually static HTML, CSS, JavaScript and media, so any host that serves static files works. Use a CDN, compress video and images, and set long cache headers for hashed assets. AnimatedWebs Hosting serves static sites and built web apps with a CLI, a REST API, custom domains and rollback. Pro and Lifetime include 50 projects, 200 deploys a day and 20 custom domains per project.
How do I test the performance of website animations?
Record a trace in the Chrome DevTools Performance panel while the animation runs and look for long tasks, layout and paint work, and dropped frames. Turn on paint flashing and layer borders in the Rendering panel to spot unexpected repaints. Test on a real mid-range phone with CPU throttling, not just a fast laptop. Then check field data for Core Web Vitals, since lab tests miss what real visitors experience.
Which Core Web Vitals matter most for animated sites?
All three matter. Largest Contentful Paint should be 2.5 seconds or less, and heavy heroes or hidden headlines push it up. Interaction to Next Paint should be 200 milliseconds or less, and busy main threads from animation scripts hurt it. Cumulative Layout Shift should be 0.1 or less, and elements that animate in by changing layout increase it. Google measures these at the 75th percentile of real visits.
Does AnimatedWebs publish performance data for its demos?
Yes. The AnimatedWebs performance page publishes real-visitor Core Web Vitals for its demos: 75th percentile LCP, INP and CLS, split by phone and desktop, over the last 28 days, with sample sizes shown and a note where data is too thin. The page also detects reduced-motion handling and pause controls in demo code, and says plainly that found in code does not prove it works well.
What kinds of animation do modern websites use?
Modern sites mix a few kinds of motion: entrance animations as content loads, scroll-triggered reveals, scroll-linked effects such as parallax and pinned stories, hover and click micro-interactions, page transitions, text splitting effects, animated backgrounds, and real-time 3D or shader scenes in WebGL. Video heroes and scroll-scrubbed films are common on brand and product pages. Most sites need only two or three of these.
Are animated websites good for small businesses?
They can be, when the motion stays light and supports the message. A cafe, studio or local service benefits from a warm animated hero and smooth reveals, but needs fast loading on phones, clear contact details and readable menus or prices above all. Avoid heavy 3D or long intros that hide the address or booking button. AnimatedWebs has industry pages that group templates by business type.
What tech stack do animated website templates use?
Animated templates commonly use HTML, CSS and JavaScript or React with Next.js or Vite, Tailwind CSS for styling, GSAP or Motion for animation, Lenis for smooth scrolling and three.js or React Three Fiber for 3D. Each AnimatedWebs template page lists its stack and tags, and collections group templates by stack, including Tailwind CSS, Next.js and plain HTML and CSS. Your AI tool can adapt a prompt to a different stack.
Can an animated website work without JavaScript?
Partly. CSS alone handles transitions, keyframe loops, hover effects, and in supporting browsers even scroll-driven animations. Complex timelines, pinned scroll scenes and WebGL need JavaScript. The important rule is that content must stay visible if scripts fail or are blocked: hide elements for a reveal only after JavaScript has added a class, so a visitor without scripts sees the finished page instead of blank sections.
How do I stop animations from causing layout shift?
Animate with transform and opacity instead of properties that change layout, such as height, margin, top or width. Reserve space for elements before they animate in, give images and videos explicit width and height or an aspect ratio, and keep fonts from swapping with large size changes. Browsers exclude transform animations from Cumulative Layout Shift, so a slide-in using translate does not count against the score.
What is an animated UI component library?
An animated UI component library is a set of ready-made interface pieces with motion built in: buttons, cards, text effects, marquees, backgrounds and navigation. You copy or install them into your project instead of animating each element by hand. The AnimatedWebs UI Library has animated components with live previews, a shadcn install command, an AI UI generator, and source code for every component on Pro. The template catalog separately lists 160 UI components as build prompts.
Are AnimatedWebs templates made with AI?
Yes. AnimatedWebs states publicly that template images, video, code, build prompts and sample copy are made with AI tools and then reviewed. Every template spec passes an automatic validator, and brands shown in demos are fictional. Some product features, such as the UI generator, Design Studio and Brand Studio, run on AI models with daily limits. The full details are on the AI disclosure page.
What is a style reference for an animated website?
A style reference is a defined visual direction, covering palette, typography, spacing and motion character, that an AI tool can follow so a site looks consistent. AnimatedWebs has 43 style references, each with a DESIGN.md, a Tailwind theme and CSS variables. A free website style extractor can also pull a design system from an existing site, which you then hand to your AI coding tool with a template prompt.
How do I get an AI coding agent to use an animated template directly?
Connect the agent to the AnimatedWebs MCP server at https://mcp.animatedwebs.com. The server has 15 tools for searching templates and fetching build prompts, and setup guides exist for 19 clients, including Claude Code, Cursor, Codex and VS Code. Sign-in happens in the browser on first use and free accounts work. Headless or CI setups send an API key instead, and the rate limit is 240 requests per minute per IP.