Viana Kitv0.1.4

Components

Scroll Text

A component that scrolls text automatically in a specified direction.

example.tsx

Default (Scroll Left)

Welcome to Viana KitBuild faster with shadcn/ui styleOpen source and free to use
Welcome to Viana KitBuild faster with shadcn/ui styleOpen source and free to use

Faster Scroll (Scroll Right)

Faster scrolling with speed propDefault speed is 50Higher numbers = faster
Faster scrolling with speed propDefault speed is 50Higher numbers = faster

Import

tsx
import { AppScrollText } from "@/components/primitives/AppScrollText"

API Reference

AppScrollText extends all native <div> HTML attributes.

PropTypeDefaultDescription
direction"left" | "right""left"Scroll direction.
speednumber50Scroll speed (higher = faster).
classNamestringAdditional Tailwind classes merged via cn(). Prefer the wrapper pattern for reusable overrides.

Source

src/components/primitives/AppScrollText.tsx
import { ScrollText } from "../ui/scroll-text"

const AppScrollText = ScrollText

export { AppScrollText }