Core Components
Number Effects
Interactive Elements
Advanced Effects
Radix UI Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Direction
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle
- Toggle Group
- Tooltip
- Typography
Base UI Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Direction
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle
- Toggle Group
- Tooltip
- Typography
Glow Effect#
A customizable glow effect with animation modes, colors, blur, and transitions.
Examples#
Glow effect static background#
Glow effect button#
You can use different modes to animate the glow effect.
Glow effect card mode#
Installation#
npx shadcn@latest add "https://components.dylanwlim.com/c/glow-effect.json"
Component API#
GlowEffect#
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | undefined | Optional CSS class for styling the component. |
| style | React.CSSProperties | undefined | Optional CSS properties for styling the component. |
| colors | string[] | ['#FF5733', '#33FF57', '#3357FF', '#F1C40F'] | The colors to use for the glow effect. |
| mode | 'rotate' | 'pulse' | 'breathe' | 'colorShift' | 'flowHorizontal' | 'static' | 'rotate' | The mode to use for the glow effect. |
| blur | 'number' | 'softest' | 'soft' | 'medium' | 'strong' | 'strong' | 'stronger' | 'strongest' | 'none' | 'medium' | The blur to use for the glow effect. |
| transition | Transition | undefined | The transition to use for the glow effect. |
| scale | number | 1 | The scale to use for the glow effect. |
| duration | number | 5 | The duration to use for the glow effect. |
Build with DWL Components
Use the copied registry, charts, blocks, and create tools in one place.
Start from the DWL Components create flow and customize from there.
Open DWL Components Create