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

    Dot Backgroud

    A dot Backgroud

    Loading...

    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 dot code into your project.

    API Reference

    Props

    PropTypeDescription
    colorstringDot color.
    sizenumberDot size.
    spacingnumberDot spacing
    childrenReact.ReactNodeThe content of the Dot.
    classNamestringAdditional classes for the Dot.
    styleReact.CSSPropertiesAdditional style for the Dot.
    gradientbooleanWhether to show the gradient or not
    gradientWidthnumber | stringThe width of the gradient on either side
    gradientHeightnumber | stringThe height of the gradient on either side

    Usage

    export function DotDemo() {
      return (
        <div className="size-full">
          <Dot gradient={false} />
        </div>
      )
    }
    Button with TrailGrid