kliping.pro
  • Docs
  • Explore
  • Builder
  • Directory
  • Colors
  • Typeset
Saved
Docs
  • Sections13
  • Installation5
  • Dark Mode4
  • Forms3
  • Registry6
  • Utilities2
  • More10
  • Components137
  • Accordion
  • Action Bar
  • AI Chat
  • AI Thread List
  • Alert
  • Alert Dialog
  • Angle Slider
  • Animated Grid Pattern
  • Aspect Ratio
  • Attachment
  • Avatar
  • Avatar Group
  • Badge
  • Badge Overflow
  • Banner
  • Border Beam
  • Breadcrumb
  • Bubble
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Checkbox Group
  • Chip
  • Circular Progress
  • Client Only
  • Collapsible
  • Color Picker
  • Color Swatch
  • Combobox
  • Combobox Advanced
  • Command
  • Compare Slider
  • Composition
  • Context Menu
  • Cropper
  • Data Grid
  • Data Table
  • Data Table Advanced
  • Date Picker
  • Dialog
  • Direction Provider
  • Dot Pattern
  • Drawer
  • Dropdown Menu
  • Editable
  • Empty
  • Field
  • File Upload
  • Form
  • FPS
  • Gauge
  • Hitbox
  • Hover Card
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Kbd Advanced
  • Key Value
  • Label
  • List
  • Listbox
  • Logos
  • Map
  • Marker
  • Marquee
  • Mask Input
  • Masonry
  • Media Player
  • Mention
  • Menubar
  • Message
  • Message Scroller
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Particles
  • Pending
  • Phone Input
  • Pin Input
  • Popover
  • Portal
  • Presence
  • Progress
  • QR Code
  • Questionnaire
  • Radio Group
  • Range Calendar
  • Rating
  • Relative Time Card
  • Resizable
  • Responsive Dialog
  • Scroll Area
  • Scroll Spy
  • Scroller
  • Segmented Input
  • Select
  • Selection Toolbar
  • Separator
  • Sheet
  • Sidebar
  • Skeleton
  • Slider
  • Software Purchase Card
  • Sonner
  • Sortable
  • Speed Dial
  • Spinner
  • Stack
  • Stat
  • Status
  • Stepper
  • Stepper Advanced
  • Swap
  • Switch
  • Table
  • Tabs
  • Tags Input
  • Tags Input Advanced
  • Textarea
  • Time Picker
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tour
  • Typography
  • Visually Hidden
  • Visually Hidden Input
  1. Docs
  2. Components
  3. Dot Pattern

Dot Pattern

PreviousNext

Latar pola titik, bisa dengan titik yang berdenyut.

Dot Pattern

Installation ​

pnpm dlx kliping@latest add dot-pattern

Usage ​

Mengisi wadahnya (absolute inset-0). Warna titik mengikuti fill — timpa dengan kelas fill-*. glow membuat titik berdenyut bergantian.

vue
<script setup lang="ts">
import { DotPattern } from '@/components/ui/dot-pattern'
</script>

<template>
  <div class="relative h-72 overflow-hidden">
    <DotPattern glow class="mask-[radial-gradient(300px_circle_at_center,white,transparent)]" />
  </div>
</template>

Requirements ​

Semua dipasang otomatis oleh kliping add; tabel ini untuk Anda yang memasang manual atau memeriksa project.

RequirementValue
ProjectVue 3.5+, Tailwind CSS v4, alias @ — disiapkan kliping init
Filescomponents/ui/dot-pattern/dot-pattern.vue
components/ui/dot-pattern/index.ts

API Reference ​

PropTypeDefaultDescription
width?number16The horizontal spacing between dots.
height?number16The vertical spacing between dots.
cx?number1The horizontal offset of each dot within its cell.
cy?number1The vertical offset of each dot within its cell.
cr?number1The radius of each dot.
glow?booleanfalseMakes the dots pulse.
Data attributeValue
[data-slot]"dot-pattern"

CSS Variables ​

Variabel khusus komponen ini — bisa ditimpa lewat style atau CSS Anda:

VariableValue
--dot-delaydihitung saat runtime
--dot-durationdihitung saat runtime

Credits ​

Berasal dari Magic UI (MIT, Copyright (c) Magic UI). Rantai lengkapnya di Credits.

PreviousDirection ProviderNext Drawer

On This Page

InstallationUsageRequirementsAPI ReferenceCSS VariablesCredits

© 2026 Kliping. Free components are open source under the MIT License.

LicenseCreditsRoadmap