Pitsi UI
  • Home
  • Docs
1
1
Sections
  • Get Started
  • Components
  • Animations
  • MCP Server
  • Changelog
Get Started
  • Installation
  • CLI
  • llms.txt
Components
  • Accordion
  • Alert Dialog
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Breadcrumb
  • Button Group
  • Button
  • Card
  • Carousel
  • Checkbox
  • Collapsible
  • Combobox
  • Command
  • Container
  • Context Menu
  • Data Table
  • Dialog
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • Flex
  • Form
  • Grid
  • Hero Button
  • Hover Card
  • Input Group
  • Input OTP
  • Input
  • Item
  • Kbd
  • Label
  • Menubar
  • Native Select
  • Navigation Menu
  • Pagination
  • Popover
  • Progress
  • Radio Group
  • Resizable
  • Responsive
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Skeleton
  • Slider
  • Sonner
  • Spacer
  • Spinner
  • Squircle
  • Switch
  • Table
  • Tabs
  • Textarea
  • Theme Toggle
  • Toggle Group
  • Toggle
  • Tooltip
  • Typography
  • Unicorn Wrapper
Animations
  • Background Image Parallax
  • Card Swipe Carousel
  • Cards Parallax
  • Parallax Scroll
  • Perspective Carousel
  • Perspective Section Transition
  • Scroll Expand
  • Scroll Fade
  • Scroll Scale
  • Slide Down
  • Slide Up
  • Smooth Parallax Scroll
  • Smooth Scroll
  • Sticky Footer
  • Text Along Path
  • Text Gradient Opacity
  • Text Parallax
  • Transforms 3d
  • Zoom Parallax

Slide Down

PreviousNext

A slide down animation component.

"use client"

import SlideDown from "@/components/animations/slide-down/slide-down"

export function SlideDownDemo() {
  return (
    <div className="flex min-h-[600px] w-full flex-col items-center justify-center gap-8 bg-gradient-to-b from-zinc-900 to-zinc-800 p-8">
      <SlideDown delay={0}>
        <h1 className="text-center text-5xl font-bold tracking-tight text-white md:text-7xl">
          Slide Down
        </h1>
      </SlideDown>

      <SlideDown delay={0.1}>
        <p className="max-w-md text-center text-lg text-zinc-400">
          Elements gracefully slide down into view with a smooth animation
        </p>
      </SlideDown>

      <div className="mt-8 grid grid-cols-1 gap-4 md:grid-cols-3">
        {[0.2, 0.3, 0.4].map((delay, i) => (
          <SlideDown key={i} delay={delay}>
            <div className="flex h-32 w-48 items-center justify-center rounded-xl bg-white/10 backdrop-blur">
              <span className="text-xl font-semibold text-white">
                Card {i + 1}
              </span>
            </div>
          </SlideDown>
        ))}
      </div>
    </div>
  )
}

Installation

pnpm dlx pitsi@latest add slide-down

Usage

import { SlideDown } from "@/components/animations/slide-down"
Scroll ScaleSlide Up

On This Page

InstallationUsage

© 2025 pitsi/ui. All rights reserved.

Sign In