UNPKG

react-animated-ui

Version:

A React UI library featuring animated components including buttons, forms, dropdowns, date pickers, and more.

23 lines (16 loc) 783 B
# Animated Button ## Description A customizable button component with smooth hover and click animations. ## Props | Prop | Type | Default | Description | |-----------|-------------------|---------|------------------------------------| | `onClick` | `() => void` | `-` | Callback fired when button clicked | | `disabled`| `boolean` | `false` | Disable the button | | `children`| `React.ReactNode` | `-` | Button content or label | | `style` | `React.CSSProperties` | `-` | Inline styles | ## Usage ```tsx import { AnimatedButton } from 'react-animated-ui'; <AnimatedButton onClick={() => alert('Clicked!')}> Click Me </AnimatedButton>