21st Dev Components

25 handpicked components with live interactive previews

25 components
•
5 categories
•
8 authors

About These Components

These components are installed from the 21st.dev registry via the shadcn CLI. Each component includes a live preview and installation instructions. All components work with React, Next.js, Tailwind CSS, and follow shadcn/ui conventions.

Categories

Text Effects

Animated text components with various visual effects

12 components

Device Mockups

Browser and device frame components

4 components

Media & Carousels

Video players, carousels, and media components

4 components

Interactive Inputs

Form inputs and interactive controls

1 component

Animations & Effects

Visual effects and animated elements

4 components

All Components

Video Player

Live

Full-featured video player with custom controls, progress bar, volume control, and fullscreen support

by preetsuthar17

media
npx shadcn@latest add https://21st.dev/r/preetsuthar17/video-player
View on 21st.devvideo-player.tsx

Grid Pattern

Live

Animated grid background pattern with customizable styling

by dillionverma

animations
npx shadcn@latest add https://21st.dev/r/dillionverma/grid-pattern
View on 21st.devgrid-pattern.tsx

File Card Collections

Live

Visual file card collection component with drag and drop support

by urmauur

media
npx shadcn@latest add https://21st.dev/r/urmauur/file-card-collections
View on 21st.devfile-card-collections.tsx

OTP Input

Live

One-time password input with individual digit fields and auto-focus

by ruixen.ui

inputs
npx shadcn@latest add https://21st.dev/r/ruixen.ui/otpinput
View on 21st.devotpinput.tsx

Safari 01

Live

Safari browser mockup frame for showcasing web content

by ruixen.ui

device-mockups
npx shadcn@latest add https://21st.dev/r/ruixen.ui/safari-01
View on 21st.devsafari-01.tsx

Safari

Live

Detailed Safari browser window frame with URL bar and controls

by dillionverma

device-mockups
npx shadcn@latest add https://21st.dev/r/dillionverma/safari

Animated Beam

Live

Animated connection beams between elements with motion effects

by dillionverma

animations
npx shadcn@latest add https://21st.dev/r/dillionverma/animated-beam
View on 21st.devanimated-beam.tsx

Number Ticker

Live

Animated number counter with smooth transitions between values

by danielpetho

Counter

0
animations
npx shadcn@latest add https://21st.dev/r/danielpetho/basic-number-ticker
View on 21st.devbasic-number-ticker.tsx

Images Badge

Live

Stacked image avatars badge showing multiple users

by nexus-ui

media
npx shadcn@latest add https://21st.dev/r/nexus-ui/images-badge
View on 21st.devimages-badge.tsx

Coverflow Carousel

Live

3D coverflow carousel with depth perspective effects

by ruixen.ui

media
npx shadcn@latest add https://21st.dev/r/ruixen.ui/coverflow-carousel
View on 21st.devcoverflow-carousel.tsx

Text Highlighter

Live

Animated text highlighting effect with color transitions

by danielpetho

Beautiful highlighting
text-effects
npx shadcn@latest add https://21st.dev/r/danielpetho/text-highlighter
View on 21st.devtext-highlighter.tsx

Typewriter

Live

Typewriter effect with blinking cursor and multiple text sequences

by cult-ui

text-effects
npx shadcn@latest add https://21st.dev/r/cult-ui/typewriter
View on 21st.devtypewriter.tsx

Macbook Pro

Live

MacBook Pro device mockup frame for showcasing content

by designali-in

device-mockups
npx shadcn@latest add https://21st.dev/r/designali-in/macbook-pro
View on 21st.devmacbook-pro.tsx

iPhone 16 Pro

Live

iPhone 16 Pro device mockup frame with notch design

by designali-in

device-mockups
npx shadcn@latest add https://21st.dev/r/designali-in/iphone-16-pro
View on 21st.deviphone-16-pro.tsx

Receding Text Plane

Live

3D text effect with receding perspective animation

by ruixen.ui

text-effects
npx shadcn@latest add https://21st.dev/r/ruixen.ui/receding-text-plane
View on 21st.devreceding-text-plane.tsx

Blurred Stagger Text

Live

Text animation with staggered blur-in effect per character

by preetsuthar17

text-effects
npx shadcn@latest add https://21st.dev/r/preetsuthar17/blurred-stagger-text
View on 21st.devblurred-stagger-text.tsx

Underline To Background

Live

Text effect where underline morphs into full background highlight

by danielpetho

text-effects
npx shadcn@latest add https://21st.dev/r/danielpetho/underline-to-background
View on 21st.devunderline-to-background.tsx

Text Rotate

Live

Rotating text animation with smooth 3D transitions

by danielpetho

text-effects
npx shadcn@latest add https://21st.dev/r/danielpetho/text-rotate
View on 21st.devtext-rotate.tsx

Rolling Text

Live

Rolling text animation with vertical scroll effect

by shadcnspace

text-effects
npx shadcn@latest add https://21st.dev/r/shadcnspace/animated-text-04
View on 21st.devanimated-text-04.tsx

Text Loop

Live

Looping text animation cycling through multiple phrases

by chamaac

text-effects
npx shadcn@latest add https://21st.dev/r/chamaac/text-loop
View on 21st.devtext-loop.tsx

Highlight Leaf

Live

Text highlighting component for rich text editors

by platejs

This is sample text with highlighted content showing the Plate.js highlight component in action.

text-effects
npx shadcn@latest add https://21st.dev/r/platejs/highlight-node
View on 21st.devhighlight-node.tsx

Text Reveal

Live

Text reveal animation with masking and motion effects

by ddoemonn

text-effects
npx shadcn@latest add https://21st.dev/r/ddoemonn/text-reveal
View on 21st.devtext-reveal.tsx

Streaming Text

Live

Streaming text effect simulating real-time generation

by ddoemonn

text-effects
npx shadcn@latest add https://21st.dev/r/ddoemonn/streaming-text
View on 21st.devstreaming-text.tsx

Sparkles Text

Live

Text with animated sparkle particle effects

by dillionverma

Sparkles
text-effects
npx shadcn@latest add https://21st.dev/r/dillionverma/sparkles-text
View on 21st.devsparkles-text.tsx

Progressive Flux Loader

Live

Advanced loading indicator with progressive flux animation

by ruixen.ui

animations
npx shadcn@latest add https://21st.dev/r/ruixen.ui/progressive-flux-loader
View on 21st.devprogressive-flux-loader.tsx

Installation

All components are installed via the shadcn CLI from the 21st.dev registry:

General syntax:

npx shadcn@latest add https://21st.dev/r/[author]/[component-name]

Example:

npx shadcn@latest add https://21st.dev/r/dillionverma/sparkles-text

Components are installed into components/ui/ and automatically configured with required dependencies.