BuouNext
  • Features
  • DocumentsNew
  • BrutalUINew
  • ShowcaseHot
  • Pricing
  • Blog

    Getting Started

    Introduction

    BuouNext Instruction

    InstallationRun BuouNextProject StructureComponentsAuthenticationEmailAPI CallsDatabasePaymentSEO OptimizationHeadless CMSContact

    AI Instruction

    AI ImageNewAI ChatbotNewAI SearchNewAI NotionNew

    Components

    Super ClockNewFloating DockNewAI Image CompareNewAvatar ListNewClockNewDarkModeNewStepperNewRotation AvatarNewButton with TrailNewDotNewGridNewCounter CardNewMarquee CardNewProfile CardNewBento gridNewBorder Trail CardNewBuouNext FeaturesNewColor CardNewMouse FollowingNewColor GridNewAnimotion In View CardNewLevitate CardNewReorder CardNewGenerate TextNewSmooth Fliping NumberNewSmooth Fliping TextNewSmooth Typing TextNewTyping TextNewWindow Typing TextNewFade In OutNewText DropNewScalingNew
    Docs
    Marquee Card

    Marquee Card

    Use animation to marquee cards.

    Loading...

    Installation

    Update tailwind.config.js

    Add the following animations to your tailwind.config.js file:

    tailwind.config.js
    /** @type {import('tailwindcss').Config} */
    module.exports = {
      theme: {
        extend: {
          keyframes: {
             "marquee-x": {
              from: { transform: "translateX(0)" },
              to: { transform: "translateX(calc(-100% - var(--gap)))" },
            },
            "marquee-y": {
              from: { transform: "translateY(0)" },
              to: { transform: "translateY(calc(-100% - var(--gap)))" },
            },
          }
          animation: {
            "marquee-horizontal": "marquee-x var(--duration) infinite linear",
            "marquee-vertical": "marquee-y var(--duration) linear infinite",
            },
        },
      },
    }

    Copy and paste the Marquee Card code into your project.

    API Reference

    Props

    PropTypeDescription
    verticalbooleanShould the marquee scroll horizontally or vertically.
    repeatnumberThe number of times to repeat the children.
    reversebooleanReverse the marquee direction.
    pauseOnHoverbooleanPause the marquee animation on hover.
    speednumberthe speed of the marquee animation.
    styleReact.CSSPropertiesAdditional style for the Dot.
    gradientbooleanWhether to show the gradient or not
    gradientWidthnumber | stringThe width of the gradient on either side
    Counter CardProfile Card
    Jack
    Jack

    @Tencent

    It's very easy and powerful.
    Adam
    Adam

    @Tencent

    This UI component help us and Let us make a lot of progress.
    Kroul
    Kroul

    @Tencent

    I like it, the UI is very beautiful.
    Alice
    Alice

    @huawei

    This UI looks very High-end, elegant, and classy.
    Korel
    Korel

    @alibaba

    As a backend developer, using it has increased my development efficiency.
    Jack
    Jack

    @Tencent

    It's very easy and powerful.
    Adam
    Adam

    @Tencent

    This UI component help us and Let us make a lot of progress.
    Kroul
    Kroul

    @Tencent

    I like it, the UI is very beautiful.
    Alice
    Alice

    @huawei

    This UI looks very High-end, elegant, and classy.
    Korel
    Korel

    @alibaba

    As a backend developer, using it has increased my development efficiency.
    Jack
    Jack

    @Tencent

    It's very easy and powerful.
    Adam
    Adam

    @Tencent

    This UI component help us and Let us make a lot of progress.
    Kroul
    Kroul

    @Tencent

    I like it, the UI is very beautiful.
    Alice
    Alice

    @huawei

    This UI looks very High-end, elegant, and classy.
    Korel
    Korel

    @alibaba

    As a backend developer, using it has increased my development efficiency.
    Jack
    Jack

    @Tencent

    It's very easy and powerful.
    Adam
    Adam

    @Tencent

    This UI component help us and Let us make a lot of progress.
    Kroul
    Kroul

    @Tencent

    I like it, the UI is very beautiful.
    Alice
    Alice

    @huawei

    This UI looks very High-end, elegant, and classy.
    Korel
    Korel

    @alibaba

    As a backend developer, using it has increased my development efficiency.
    Jack
    Jack

    @Tencent

    It's very easy and powerful.
    Adam
    Adam

    @Tencent

    This UI component help us and Let us make a lot of progress.
    Kroul
    Kroul

    @Tencent

    I like it, the UI is very beautiful.
    Alice
    Alice

    @huawei

    This UI looks very High-end, elegant, and classy.
    Korel
    Korel

    @alibaba

    As a backend developer, using it has increased my development efficiency.