XiodUI
HomeDocs
OverviewComponentsThemes & ColorsChangelog
⌘ K

Components

  • Accordion
  • Agent Steps
    New
  • Alert
  • Alert Dialog
  • Aspect Ratio
    New
  • Autocomplete
  • Avatar
  • Badge
  • Breadcrumb
  • Button
    Updated
  • Button Group
    New
  • Button Split
    New
  • Calendar
    New
  • Card
  • Carousel
    New
  • Checkbox
  • Circular Progress
    New
  • Collapsible
  • Color Picker
    New
  • Combobox
  • Command
  • Context Menu
    New
  • Copy To Clipboard
    New
  • Corner Badge
    New
  • Dashboard Grid
    New
  • Date Picker
    New
  • Dialog
  • Dot Matrix
    New
  • Draggable
    New
  • Drawer
    New
  • Empty
  • Field
  • Fieldset
  • File Upload
    New
  • Form
  • Frame
  • Gauge
    New
  • Grid
    New
  • Group
  • Input
  • Input Group
  • Input OTP
    New
  • Input Payment
    New
  • Input Phone
    New
  • Input Sensitive
    New
  • Kbd
  • Kinetic Click
    New
  • Label
  • List Box
    New
  • Loader
  • Marker
    New
  • Menu
  • Menubar
  • Message
    New
  • Meter
  • Morphic Toast
    New
  • Navigation Menu
  • Number Field
  • Option Picker
    New
  • Orb
    New
  • Pagination
  • Popover
  • Preview Card
  • Progress
  • Radio
  • Resizable
    New
  • Ruler Picker
    New
  • Scroll Area
  • Scroll Bar
    New
  • Select
  • Separator
  • Sidebar
  • Skeleton
  • Slider
    Updated
  • Sortable
    New
  • Switch
    Updated
  • Table
  • Tabs
  • Text
    New
  • Textarea
  • Timeline
    New
  • Toast
  • Toggle
  • Toggle Group
  • Toolbar
  • Tooltip
    Updated
  • Waveform
    New
  • Wheel Picker
    New
/
/

Loading...

Preview Skeleton

Installation Skeleton

Usage Skeleton

API Reference Skeleton

Sponsors

Support the development of XiodUI and help us build the best component library on Earth.

+++
Sponsor on GitHub

Kinetic Click

Previous: KbdNext: Label

An interactive wrapper component that triggers dynamic canvas particle animations on mouse clicks.

Preview

Loading Preview...

Installation

bun add xiod-ui

Usage

Imports

1import { KineticClick } from "xiod-ui/kinetic-click";

Anatomy

1<KineticClick>2</KineticClick>

API Reference

Detailed documentation of properties and options.

KineticClick

PropTypeDefaultDescription
variant
KineticClickVariant
|undefined
"spark"The animation variant to trigger on click.
color
string
|undefined
"currentColor"The particle/effect color. Accepts standard hex, rgb, or "currentColor" to automatically inherit computed style colors of the clicked target.
colorFrom
"text"
|"auto"
|"background"
|"border"
|undefined
"auto"The style property to inherit color from when color is "currentColor". - "text": Inherits from computed text color. - "background": Inherits from computed background color. - "border": Inherits from computed border color. - "auto": Intelligently fallback from text -> background -> border (useful if text is neutral like white/black).
count
number
|undefined
-Number of particles/ripples/structures to spawn.
size
number
|undefined
-Custom scale/size metric for particles/ripples.
duration
number
|undefined
-Overall animation duration in milliseconds.
trigger
KineticClickTrigger
|undefined
"mousedown"Trigger event type.
KbdLabel