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
    Grid Backgroud

    Grid Backgroud

    A Grid Backgroud

    Installation

    Copy and paste the cn util code into your project.

    import { ClassValue, clsx } from "clsx"
    import { twMerge } from "tailwind-merge"
     
     
    export function cn(...inputs: ClassValue[]) {
      return twMerge(clsx(inputs))
    }
     

    Copy and paste the Grid code into your project.

    API Reference

    Props

    PropTypeDescription
    widthnumberGrid width.
    heightnumberGrid height.
    sizenumberGrid size.
    childrenReact.ReactNodeThe content of the Grid.
    classNamestringAdditional classes for the Grid.
    contentClassNamestringAdditional classes for the Grid contentClassName.
    gradientbooleanWhether to show the gradient or not
    gradientWidthnumber | stringThe width of the gradient on either side

    Usage

    export function GridDemo() {
      return (
        <InteractiveGrid gradient={false}>
          <div className="w-[400px] h-[200px] border rounded-md" />
        </InteractiveGrid>
      )
    }
    DotCounter Card