Spectrum UI — animated React components you copy and own

Open source React and Tailwind component library for animated interfaces. Buttons, cards, loaders, and text effects arrive through one CLI command and land in your own repo as editable files.

Spectrum UI — animated React components you copy and own — Figma freebie
Home
Freebies

Spectrum UI — animated React components you copy and own

You find a component you want on the page: a button with a soft glow, a card that lifts on hover, a loader that looks alive while the data arrives. You copy the JSX, paste it into your project, then discover it depends on a package you do not use and a styling system you will never adopt. Spectrum UI takes the opposite path. The component arrives as plain files in your own repo, and you own every line.

What Spectrum UI actually does

Spectrum UI is an open source component library for React and Next.js, styled with Tailwind CSS. It collects animated interface pieces: buttons, cards, text effects, loaders, and background elements. Instead of installing a runtime package, you add each component with a CLI command, and the source lands in your components folder as a file you can read and edit.

The set is built by Arihant Jain, and the code lives on GitHub. You can browse the full catalog at ui.spectrumhq.in, where each component has a live preview, its props, and the install command. The license is MIT, so the files you pull are yours to change in personal and commercial work.

Why copy-paste components change the workflow

A library that ships as a dependency asks you to trust its future. When the maintainer renames a prop or drops a version, your build breaks and you wait for a fix you did not schedule. A component that ships as source carries no such contract. You add the file, then treat it as your own code.

That difference matters most when you build with an AI assistant. A source file is the format the model reads best. It sees the props and the styles, then writes an integration that matches your project instead of guessing at an API hidden inside a package. You paste the component, describe where it belongs, and the assistant wires it in without a dependency to fight.

What ships in the box

The catalog is grouped by what each piece does on the page:

  • ❶ Buttons with animated glow and hover states
  • ❷ Cards that lift or tilt when the cursor reaches them
  • ❸ Text effects that animate on load or on scroll
  • ❹ Loaders and spinners for waiting states
  • ❺ Background elements such as gradients and animated surfaces

Every component is built on Tailwind utilities, so it picks up the theme you already set. Colour and spacing come from your tokens rather than from a stylesheet you have to override. The pieces are independent, which means you keep the ones you add and ignore the rest of the catalog.

How the CLI adds a component

The path from the catalog to your codebase is short:

  • ❶ Open the catalog and find the component that fits the section you have in mind
  • ❷ Copy the install command from the component page
  • ❸ Run it, and the file appears inside your components folder
  • ❹ Import it and render it, then adjust the props to match your layout

Several animated pieces lean on a small motion library, and the CLI installs it alongside the file, so you do not hunt for the dependency by hand. If you build with an AI assistant, the same flow runs in chat. Paste the component into the conversation, describe the element it should wrap, and let the model handle the import.

Motion on top of Tailwind

Tailwind on its own stops at transitions and keyframes. Complex motion, the kind that reacts to a cursor or springs into place, needs a motion library underneath. Spectrum UI pairs the two, so the utility classes handle the static look and the motion library carries the movement.

Motion is not welcome for everyone. Some people feel dizzy from large movement, and their system already tells your page to tone it down. The components respect prefers-reduced-motion, so a visitor who asked for less movement gets the static version of each piece. If you want to apply the same rule to your own components, the MDN reference on prefers-reduced-motion explains the media query.

Frequently asked questions

Is Spectrum UI free to use?

Yes. It is MIT licensed, so you can use the components in personal and commercial work without paying a fee. The source lives on GitHub, and once a component is in your repo, the license travels with the file you own.

Do I need Tailwind to use it?

Yes. The components are written with Tailwind classes, so a project already on Tailwind is the shortest path. If you are not on Tailwind yet, the files are still readable, and you can port the classes to your own styling system once the component is in your hands.

Does it work with Next.js?

It does. The components are plain React files with TypeScript types, so they drop into a Next.js app the same way any local component does. Animated pieces carry a small motion library, which the CLI installs for you.

Can I change a component after I add it?

That is the point of the copy-paste model. The file sits in your project, so you edit the styles and the timing directly. Nothing updates behind your back, and nothing breaks when the maintainer ships a new version.

Why it belongs in your stack

You want the interface to move without adopting a design system you did not choose. Spectrum UI gives you animated pieces as source, one command each, and the freedom to reshape them once they land. The parts you keep are the parts you changed yourself.

For a solo builder shipping fast with AI, the trade is clean: real motion, no runtime package, and code the assistant can read. Grab the component that fits the section you are building, run the command, and let the page stop feeling static. When you want the screens around that motion to hold up, our free Figma resources and design and code kits are built for the same ship-it-yourself workflow.

More Figma freebies

Compositor — free Photoshop alternative for macOS

Code

Compositor — free Photoshop alternative for macOS

Free and open source Photoshop alternative for macOS. Layers, masks, PSD import, and a project format any AI agent can read and write.

Mailcheap, self-hosted newsletter on Amazon SES

Code

Mailcheap, self-hosted newsletter on Amazon SES

Self-hosted newsletter on Amazon SES. Write an issue, send it to your list, publish an archive, and pay about $0.10 per 1,000 emails with no per-subscriber fee.

Liquid Glass for React

Code

Liquid Glass for React

Glass surfaces and controls for React on the web and in Electron. Clear and Regular materials refract live content, and every control runs on Base UI behavior.

REA — reverse engineering MCP for AI agents

Code

REA — reverse engineering MCP for AI agents

Give your AI agent an MCP server that reverse engineers any app: native binaries, Electron, .NET, APKs, and websites. Analysis runs locally, MIT licensed.

FSearch — whole-disk file search for macOS

Code

FSearch — whole-disk file search for macOS

Find any file on your Mac in about a millisecond, typos included, and search inside text files. Whole-disk index in Rust, MIT licensed, one small daemon.

@sfinterface/numbers — rolling numbers for React

Code

@sfinterface/numbers — rolling numbers for React

React component that turns only the digits that changed. 13 kB, no dependencies, Intl formatting, five transitions, and reduced-motion support.

RuneIcons — open source icon set for modern UIs

Components

RuneIcons — open source icon set for modern UIs

Thousands of clean, consistent SVG icons for web and app interfaces. Open source, MIT licensed, and ready to drop into Figma, React, or plain HTML today.

Amicro — micro-interactions for any landing page

Code

Amicro — micro-interactions for any landing page

Open source collection of ready-made micro-interactions: hover glow, magnetic buttons, scroll reveals. Copy a snippet, paste into any page, ship motion today.

M3E Canvas — Material 3 Expressive UI builder

Code

M3E Canvas — Material 3 Expressive UI builder

Assemble Material 3 Expressive interfaces in your browser and export a ready-to-use prompt for AI. Open source, free, and built for Android vibe coding.

Driver.js — product tours & onboarding

Code

Driver.js — product tours & onboarding

Lightweight, vanilla JavaScript library for building powerful product tours, feature highlights, and contextual onboarding. No dependencies, just 5kb gzipped, fully customizable and accessible by default.

pdfcn — PDF viewer component for React

Code

pdfcn — PDF viewer component for React

Open source PDF viewer built on the shadcn stack. Renders documents inside your React app with zoom, search, and navigation. No iframe, no vendor lock-in, MIT license.

Free invoice template for Figma

Components

Free invoice template for Figma

Clear and simple table-based document for your business purposes. Powered by editable data grid, which is easy to manage.

Avatar UI design templates & tips

Components

Avatar UI design templates & tips

A part of the upcomong design handbook «The State of Component». Colors, Styles & UI design for Avatar. Events, States and Actions. Including layout samples for inspiration.

App Bar UI design templates & tips

Components

App Bar UI design templates & tips

Application Bar (aka Navigation Bar) — displays prior in-app controls related to the current app section. This freebie contains things to consider when designing App Bars.

Fonts Playground

Global Styles

Fonts Playground

Best web fonts precisely handpicked and optimised for better web legibility and ready to implement into your Figma project.

Website Template

Web Design

Website Template

Landing page template made for Figma. Contains styled components UI kit, desktop & mobile versions. Global styles, Inter, FlatUI colors.

Android UI kit

Mobile Templates

Android UI kit

8 mobile app templates based on popular Android UI design patterns: Calendar, Cards, Tasks, Kanban & Project management and more.

Figma iOS UI kit

Mobile Templates

Figma iOS UI kit

iOS native components and app templates organised into a «Most Design System» fully compatible with Human Interface guidelines.

Material X Starter

Mobile & Desktop

Material X Starter

Top-notch styled components in the design system powered by Auto-layout. Ready-to-use Figma UI kit with styles from the nearest future.

Radar Chart

Data visualization

Radar Chart

Radar chart template made of components and available within a range of popular viewports: desktop, tablet and mobile. Light & Dark.

Rome UI kit lite

Mobile & Desktop

Rome UI kit lite

Components & templates for desktop & mobile apps. Powered by clean and trendy custom guidelines and DM Sans font (OFL).

Xela UI kit starter

Mobile & Desktop

Xela UI kit starter

100+ variants of several components to craft perfectly shaped desktop & mobile apps. Modern styleguides and free Nunito Sans font.

Free iOS UI kit

Mobile Templates

Free iOS UI kit

Customisable & adjustable mobile design system with 100+ variants for a set of components and 8 ready-to-use app layouts to try out.

Mobile-X UI kit

Mobile Templates

Mobile-X UI kit

Meet Mobile-X Figma design system for mobile app design. Cross-compatible & stylish UI kit which fits both iOS / Android apps.

Accordion guide

Tutorials & Education

Accordion guide

The exploration for Accordion component: styles, states, samples, and use cases for desktop & mobile viewports.

Eclipse UI kit

Mobile & Desktop

Eclipse UI kit

Fine components fully loaded with variants, auto-layout, global text & color styles. Hi-end customizable Figma design system (starter).

Appka iOS UI kit

Mobile Templates

Appka iOS UI kit

Appka is a fine-themed & customized iOS design system with 4100+ variants for 28 components and 280+ ready-to-use app layouts for Figma.

Nav templates

Mobile & Desktop

Nav templates

This design resource represents navigation components. It contains sidebars, drawers and headers both in light & dark modes.

Dark charts UI kit

Chart Templates

Dark charts UI kit

Try out this handy source of graphs for your next dashboard, pitch, or even print materials. Contains most common dark chart templates.

Figma email templates

Email Templates

Figma email templates

Five awesome and scalable free email templates to engage your subscribers. Dark & light themes. Contains buttons, lists and cards.

Charts widgets dark & light

Chart Templates

Charts widgets dark & light

Line & Wave charts, Bars, Histograms, Ratings and more graphs widgets are available in this free Figma resource. For dashboards, mobile & desktop.

Shopping layout for web app

Desktop

Shopping layout for web app

Contains navigation, filtering components, tabs, cards and more. This layout was made with Angular and fully coded.

Orion dark templates

Data visualization

Orion dark templates

Figma library with 40+ desktop charts templates served in light & dark themes. Contains 200+ of dataviz widgets for every case.

Responsive imagery cards

Card Templates

Responsive imagery cards

A variety of responsive cards templates for Figma. Constrained and scalable. Made with global styles for typography and colors.

Landing page & web blocks

Web Design

Landing page & web blocks

Use given blocks as a quickstarter for your very next web design mission. This freebie contains 3 landing pages for desktop, tablet & mobile.

Mobile tables several themes

Mobile Templates

Mobile tables several themes

Components-driven iOS layouts with data grid made from one singe cell. Based on different styles. Allows to create better tables in Figma.

12 free mobile templates

Mobile Templates

12 free mobile templates

Use our Full iOS design system as the starter for your next mobile app. This freebie includes 12 screens dark & light powered by 200+ components.

Calendars & Date picker templates

Mobile & Desktop

Calendars & Date picker templates

UI design resource with 56 calendars extracted from our popular UI kits. All the best samples of schedule patterns, planners, event managers.

Schedule & Events template

Desktop

Schedule & Events template

This clean calendar template has been made of a scalable grid, accurately made with colored items and wrapped for the desktop.

Material You for web apps

Mobile & Desktop

Material You for web apps

Figma Material Design 3 starter fully loaded with several desktop & mobile templates (with dark themes) and a bundle of components.

iOS Datepickers

Tutorials & Education

iOS Datepickers

Stand out with our Figma iOS date picker. Offering a true-to-life isometric design and easy-to-edit text, it's the most realistic option.

Segment UI kit

Mobile Templates

Segment UI kit

Design stunning Android apps with our free Figma UI kit. Follow Android guidelines and components and use our fonts, colors, and templates.

Figma React UI kit

Design & Code

Figma React UI kit

Our Figma React UI kit 2-in-1 makes web app building faster. Created in Figma, exported to React, and customised with Blueprint.js library.

Messenger app desktop template

Desktop

Messenger app desktop template

Effortlessly create world-class communication design with our Messenger Template for Figma. With dark and light mode options.

Zeus UI free website template

Web Design

Zeus UI free website template

Zeus Web UI kit-inspired landing page template. Supports all viewports, card-driven UX, polished with Syne and Space Grotesk fonts.

Design system starter

Global Styles

Design system starter

Launch your project with confidence thanks to our Figma design system. Customize grids, text, color, gradients, and shadows with ease.

Navigation layout 4 samples

Mobile & Desktop

Navigation layout 4 samples

Sleek Navigation Menu for Material X design system in Figma. Various sizes and design options. Features badges and active state highlight.

Chart cards

Data visualization

Chart cards

Make your data pop with our easy-to-use Charts UI kit. Featuring bar charts and heatmaps, it's perfect for dataviz, dashboard, pitches and others.

Material UI styled

Mobile & Desktop

Material UI styled

New and improved Material UI Kit, refreshed with enhanced material.io guidelines. Free and ready-to-use components included.

Hyper charts

Data visualization

Hyper charts

Transform your data into captivating visuals with several Figma's chart templates based on Hyper Charts kit. You'll find 8 editable widgets inside.

Search inputs

Components

Search inputs

Explore how Figma inputs are revolutionizing search interface design. Gain key insights to enhance user experience with impeccable UIs.

Figma Grid Layouts

Grid Layouts

Figma Grid Layouts

This template is designed to help you create templates that are beautifully balanced. Features both mobile and desktop layouts with 16/24 gutters.

Panda dashboard template

Desktop

Panda dashboard template

Build sleek dashboards with our Panda UI kit starter! Featuring a 1920w desktop template, UI widgets, and components.

Orion dataviz templates

Dashboard Templates

Orion dataviz templates

The design system starter for your next application. This resource contains 6 dashboard templates and a bundle of UI design widgets.

Subscribe to Setproduct

Once per week we send a newsletter with new releases, freebies and blog publications

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.