ComponentsBlocksDocsExamples

Marquee
GitHub Button
Avatar Group
Typing Text
Word Rotate
Video Text
SVG Text
Counting Number
Sliding Number
Shimmering Text
Text Reveal
Gradient Background
Grid Background
Hover Background
Clock Widget
Components

Video Text

UI Library:

Text with video background mask effect.

Installation

pnpm dlx shadcn@latest add @toui/video-text

API Reference

This component is built using Motion primitives and includes the following custom props:

VideoText

PropTypeDefault
src string | string[]
children ReactNode
className string
autoPlay booleantrue
muted booleantrue
loop booleantrue
preload enum "auto"
fontSize string | number"20vw"
fontWeight string | number"bold"
as ElementType"div"
onPlay () => void
onPause () => void
onEnded () => void

Credits

  • Inspired by Magic UI
  • Built with Motion.
PreviouseWord RotateNextSVG Text

On This Page

  • Installation
  • API Reference
    • VideoText
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy