Docs
Infinite Ribbon
Infinite Ribbon
A dynamic and customizable sliding ribbon component that enhances UI experiences with smooth scrolling animations.
Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.
Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.
Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.
Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.Build fast, responsive, and beautiful interfaces with ready-to-use components. Designed for developers who demand the best.
Installation
pnpm dlx shadcn@latest add to-setup
Usage
import { InfiniteRibbon } from "@/components/ui/infinite-ribbon";
<InfiniteRibbon>
Build fast, responsive, and beautiful interfaces with ready-to-use components.
Designed for developers who demand the best.
</InfiniteRibbon>
Props
infinite-ribbon
props.
Prop | Type | Description | Default |
---|---|---|---|
repeat | number | Number of times the content is repeated in the ribbon. | 5 |
duration | number | Duration of the animation in seconds. | 10 |
reverse | boolean | Whether the ribbon animation should play in reverse. | false |
rotation | number | Rotation angle of the ribbon in degrees. | 0 |
children | React.ReactNode | The content inside the ribbon. | - |
className | string | Additional custom classes for styling the ribbon. | - |