1 GitHub star = 1 new component.

Star the repo
Overlaysbrandinganimationoverlay

Entrance Splash

Full-screen welcome/loading splash that dismisses on interaction.

Live Preview

React Kit Components

Usage

Copy and paste this code into your React component:

tsx
import { SplashIntroOverlay } from 'react-component-kit-ui/overlays';

<SplashIntroOverlay>Content</SplashIntroOverlay>

Manual Installation

If you are not using the npm package, create a new file and paste the following code: src/components/SplashIntroOverlay.tsx + SplashIntroOverlay.css:

SplashIntroOverlay.tsx
'use client';

import LogoWithGalaxy from '../LogoWithGalaxy';
import './SplashIntroOverlay.css';

/** SplashIntroOverlay โ€” ported from astro-component-kit. */
export interface SplashIntroOverlayProps {
}

export function SplashIntroOverlay({}: SplashIntroOverlayProps) {
  return (
    <>
      <div className="splash" data-rk-ccfb24="">
        <div className="logo-anim" data-rk-ccfb24="">
          <LogoWithGalaxy size="large" />
        </div>
      </div>
    </>
  );
}

export default SplashIntroOverlay;
SplashIntroOverlay.css
/* SplashIntroOverlay โ€” ported from astro-component-kit (overlays/SplashIntroOverlay.astro) */

.splash:where([data-rk-ccfb24]) { position: fixed; inset: 0; background: #080b14; z-index: 9999; display: grid; place-items: center; animation: splash-intro-overlay-fade-out 1s forwards 2s; }
.logo-anim:where([data-rk-ccfb24]) { animation: splash-intro-overlay-scale-pulse 1.5s infinite linear; }
@keyframes splash-intro-overlay-fade-out { to { opacity: 0; pointer-events: none; } }
@keyframes splash-intro-overlay-scale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

Quick Info

Category
Overlays
Filename
SplashIntroOverlay.tsx
Dependencies
None โ€” pure React + CSS
Tags
brandinganimationoverlay