Fx Foundation
Glowing hero panel on a dark marketing landing page.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this effect
What it's for
- Glowing hero panel on a dark marketing landing page.
- Feature cards with a gradient ring and top highlight.
- Pricing tier highlighted with a travelling beam of light.
Includes
- Glow tokens
- Light shadow tokens
- Theme derived gradient scale
- Radial linear edge fade masks
- Shared visibility hook
- Shared reduced motion hook
- Personality motion gating
- Offscreen pause
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add fx-foundationInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/fx-foundationUsed in
A standalone component: drop it into any screen.
- Type
- Effect
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-motion- Files
6 files
- components/agentic-ui/fx-foundation/fx-foundation.css
- components/agentic-ui/fx-foundation/tokens.ts
- components/agentic-ui/fx-foundation/hooks.ts
- components/agentic-ui/fx-foundation/index.ts
- components/agentic-ui/fx-foundation/surface.tsx
- components/agentic-ui/fx-foundation/masks.ts
Related components
Fx Aurora Background
Luminous aurora hero section on high-end SaaS landing page.
Details and live previewFx Background Patterns
Dot grid background with radial fade behind an AI chat landing hero.
Details and live previewFx Beam Border
Feature cards with an energetic travelling beam of light along the contour.
Details and live previewFx Blob Morph
Floating organic aurora blobs behind an AI agent landing hero.
Details and live preview