A patriotic full-screen USA takeover animation for React. Click the flag, witness freedom.
Celebrating America's Semiquincentennial - 250 years of freedom.
★ 1776 — 2026 ★
250
YEARS OF FREEDOM
- America 250 Badge - Gold metallic "1776-2026" anniversary display
- "250" Star Formation - Stars form "250" in the grand finale
- Rotating Patriotic Quotes - JFK, Lincoln, FDR, and more
- 6-Stage Choreographed Animation - 13-second patriotic experience
- WCAG 2.1 AA Accessible - Keyboard support, reduced motion, ARIA
- DOGE-Approved Performance - 33% fewer DOM nodes, memoized renders
- TypeScript - Full type definitions included
npm install react-usa-takeoverimport { USFlagWithFireworks } from 'react-usa-takeover';
import 'react-usa-takeover/styles.css';
function Footer() {
return (
<footer>
<span>Made in America</span>
<USFlagWithFireworks />
</footer>
);
}Click the 🇺🇸 flag to trigger:
- Initial Burst (0-0.5s) - Shockwave effect
- Fireworks (0.5-2s) - 12 firework launchers at varying heights
- Flag Formation (2-4s) - 13 stripes + 50 animated stars
- Wave Effect (4-6s) - Patriotic shimmer with "250 YEARS STRONG"
- Eagle Flyover (6-8s) - Eagle with F-16 escort
- Liberty Bell (8-10s) - Bell rings with patriotic quotes
- Grand Finale (10-13s) - 25-eagle squadron, "250" star formation, confetti
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
'' |
Additional CSS classes |
duration |
number |
13000 |
Animation duration (ms) |
onOpen |
() => void |
- | Callback when animation starts |
onClose |
() => void |
- | Callback when animation closes |
onComplete |
() => void |
- | Callback when animation finishes |
showAnniversary |
boolean |
true |
Show 1776-2026 badge |
quote |
string |
- | Custom quote (random if not set) |
reducedMotion |
boolean |
false |
Force reduced motion mode |
- ESC - Close the takeover
- Respects
prefers-reduced-motionsystem setting
Override CSS variables to customize colors:
:root {
--usa-red: #B22234;
--usa-white: #FFFFFF;
--usa-blue: #3C3B6E;
--usa-gold: #FFD700;
}Export individual components for custom compositions:
import {
FireworksDisplay,
FlagFormation,
EagleAnimation,
GrandFinale,
Star250Formation,
PATRIOTIC_QUOTES,
} from 'react-usa-takeover';- "We the People..." - U.S. Constitution
- "Give me liberty, or give me death!" - Patrick Henry
- "Ask not what your country can do for you..." - JFK
- "Government of the people, by the people, for the people" - Lincoln
- "The only thing we have to fear is fear itself" - FDR
- And 7 more...
| Metric | Value |
|---|---|
| DOM Nodes (peak) | ~235 |
| Bundle Size | ~12KB gzipped |
| Re-renders | Memoized |
| Accessibility | WCAG 2.1 AA |
July 4, 2026 marks America's 250th birthday. This component celebrates the Semiquincentennial in style.
Built for BOMForge - helping rebuild American manufacturing, one part at a time.
MIT - Go forth and spread freedom.
"The Arsenal of Democracy never closed. It just went digital."
🇺🇸 UNITED WE STAND 🇺🇸