Skip to content
MoonUIMoonUI
ComponentsTemplatesPricing
Sign inGet started

Getting started

  • Introduction
  • Installation
  • CDN
  • Authentication
  • shadcn CLI
  • MCP Server
  • Usage

Components

Foundation25 components
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Button
  • Button Group
  • Checkbox
  • File Upload
  • Input
  • Kbd
  • Label
  • Radio Group
  • Rating
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle
  • Toggle Group
  • Separator
  • Tags Input
  • Color Picker
  • Date Picker
  • Simple Editor
  • Input OTP
Layout10 components
  • Accordion
  • Breadcrumb
  • Card
  • Carousel
  • Collapsible
  • ResizablePro
  • Scroll Area
  • StepperPro
  • Table
  • Tabs
Navigation & Overlays11 components
  • Alert DialogPro
  • Command
  • Context MenuPro
  • Dialog
  • Dropdown Menu
  • Hover CardPro
  • MenubarPro
  • Pagination
  • Popover
  • SheetPro
  • Tooltip
Feedback4 components
  • Progress
  • Skeleton
  • Spinner
  • Toast
Data & Analytics4 components
  • Data TablePro
  • Advanced ChartPro
  • DashboardPro
  • WidgetsPro
Navigation4 components
  • Command AI+Pro
  • SidebarPro
  • NavbarPro
  • Navigation MenuPro
AI Chat4 components
  • MessagePro
  • Message ScrollerPro
  • AttachmentPro
  • Conversation MarkerPro
Content Management6 components
  • Advanced FormsPro
  • Form WizardPro
  • Quiz FormPro
  • Credit Card InputPro
  • Phone Number InputPro
  • Rich Text EditorPro
Project Management3 components
  • KanbanPro
  • TimelinePro
  • CalendarPro
Performance & Utility8 components
  • Virtual ListPro
  • Memory Efficient DataPro
  • Lazy ComponentPro
  • Optimized ImagePro
  • Performance MonitorPro
  • Performance DebuggerPro
  • Error BoundaryPro
  • Health CheckPro
Interactive & Animation15 components
  • Animated NumberPro
  • Floating DockPro
  • Text RevealPro
  • Image ComparePro
  • Splash CursorPro
  • GitHub StarsPro
  • Animated ButtonPro
  • Magnetic ButtonPro
  • Magnetic ElementsPro
  • Mouse TrailPro
  • Hover Card 3DPro
  • Spotlight CardPro
  • Floating Action ButtonPro
  • LightboxPro
  • Media GalleryPro
Gesture & Touch7 components
  • Swipeable CardPro
  • Draggable ListPro
  • Pinch ZoomPro
  • Swipe ActionsPro
  • Gesture DrawerPro
  • Click AnimationsPro
  • Touch GesturesPro
Text Animations12 components
  • Text HighlighterPro
  • Typewriter TextPro
  • Scrambled TextPro
  • Word RotatePro
  • Morphing TextPro
  • Flip TextPro
  • Number TickerPro
  • Glitch TextPro
  • Shiny TextPro
  • Wavy TextPro
  • Gradient TextPro
  • Text 3DPro
Animations12 components
  • Animated ListPro
  • Bounce EffectPro
  • Blur FadePro
  • Elastic AnimationPro
  • MarqueePro
  • Parallax ScrollPro
  • Reveal CardsPro
  • Scroll RevealPro
  • Fade TransitionsPro
  • Focus TransitionsPro
  • Path AnimationsPro
  • SVG AnimationsPro
Layouts1 components
  • Bento GridPro
Effects9 components
  • ConfettiPro
  • Cursor TrailPro
  • Glow EffectPro
  • Pixel ImagePro
  • Neon EffectPro
  • ShimmerPro
  • RipplePro
  • SparklesPro
  • SpotlightPro
Backgrounds17 components
  • Grid PatternPro
  • MeteorsPro
  • Aurora BackgroundPro
  • ParticlesPro
  • StarfieldPro
  • Dot PatternPro
  • Grid DistortionPro
  • WavesPro
  • Matrix RainPro
  • Liquid BackgroundPro
  • Mesh GradientPro
  • Glitch BackgroundPro
  • Gradient FlowPro
  • Floating ElementsPro
  • Bubble BackgroundPro
  • Geometric PatternsPro
  • Code SnippetsPro
Special UI1 components
  • Glow CardPro
Showcase8 components
  • iPhone MockPro
  • Android MockPro
  • Safari MockPro
  • GlobePro
  • Dotted MapPro
  • Icon CloudPro
  • Tweet CardPro
  • File TreePro

Advanced

  • Theming
  • Customization
  • CLI
  • Help & Support
  1. Docs
  2. Components
  3. Code Snippets

Code Snippets

Pro

Animated floating code snippets background with 16+ programming languages and multiple animation patterns

Pro features

What the Pro version adds to this component.

  • 16+ Languages

    Support for all major programming languages

  • Multiple Presets

    6 themed preset collections

  • 4 Animation Variants

    Float, rain, orbit, and wave patterns

  • Glow Effects

    Optional neon glow for snippets

  • Full Customization

    Speed, density, opacity controls

  • High Performance

    Optimized for smooth animations

Installation

Install via CLI

npx @moontra/moonui-cli add code-snippets

Usage

Pro required
JSserver.js
const app = express();
app.listen(3000);
console.log('Server started');
TStypes.ts
interface User {
  id: string;
  name: string;
  email: string;
}
PYmain.py
def main():
  data = process()
  return data
⚛️App.tsx
<Button
  variant='primary'
  onClick={handleClick}
/>
🦀main.rs
fn main() {
  println!("Hello");
}
GOmain.go
func main() {
  fmt.Println("Go")
}
SQLquery.sql
SELECT * FROM users
WHERE active = true
ORDER BY created_at;
🐳Dockerfile
FROM node:18-alpine
COPY . .
RUN npm install
EXPOSE 3000
JSserver.js
const app = express();
app.listen(3000);
console.log('Server started');
TStypes.ts
interface User {
  id: string;
  name: string;
  email: string;
}
PYmain.py
def main():
  data = process()
  return data
⚛️App.tsx
<Button
  variant='primary'
  onClick={handleClick}
/>
🦀main.rs
fn main() {
  println!("Hello");
}
GOmain.go
func main() {
  fmt.Println("Go")
}
SQLquery.sql
SELECT * FROM users
WHERE active = true
ORDER BY created_at;
🐳Dockerfile
FROM node:18-alpine
COPY . .
RUN npm install
EXPOSE 3000
Code Background

Floating Code Snippets

Dynamic code animations with 16+ programming languages for stunning developer-focused backgrounds

Examples

Developer Portfolio - Floating Code

Pro

Personal portfolio with floating code snippets showcasing technical expertise

Pro required

Tech Company Landing - Rain Effect

Pro

Technology company homepage with raining code effect for dramatic impact

Pro required

DevOps Platform - Orbit Animation

Pro

DevOps dashboard with orbiting code snippets representing continuous integration

Pro required

Cybersecurity Service - Wave Pattern

Pro

Security company landing with wave animation representing data protection layers

Pro required

Code Education Platform - Mixed Languages

Pro

Educational platform showcasing multiple programming languages floating simultaneously

Pro required

Blockchain Development - Custom Snippets

Pro

Web3 platform with blockchain-specific code snippets floating in space

Pro required
Previous
Geometric Patterns
Pro
Next
Glow Card
Pro
MoonUIMoonUI

168 React components. 45 free under MIT, 123 Pro.

Unsubscribe anytime.

Product

  • Components
  • Templates
  • Pricing

Resources

  • Documentation
  • GitHub
  • Support

Legal

  • Privacy
  • Terms
  • Refund Policy
Made by Moontra Software
  • X
  • LinkedIn
  • GitHub
  • YouTube