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
Spinning Text#
Easily animate text circularly. Customize the animation with variants and transitions.
Examples#
Basic Usage#
pre-order • pre-order • pre-order • pre-order • pre-order • pre-order •
Custom Transition#
components • components • components • components •
Custom Variants#
pre-order • pre-order • pre-order • pre-order • pre-order • pre-order •
Installation#
npx shadcn@latest add "https://components.dylanwlim.com/c/spinning-text.json"
Component API#
SpinningText#
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactElement | The text content to be animated in a circular motion. | |
| style | CSSProperties | {} | Custom styles for the text container. |
| duration | number | 10 | The duration of the full circular rotation animation. |
| className | string | A custom class name for the text container. | |
| reverse | boolean | false | Determines if the animation should rotate in reverse. |
| fontSize | number | 1 | The font size of the text being animated in rem. |
| radius | number | 5 | The radius of the circular path for the text animation. |
| transition | Transition | Custom transition effects for the animation. | |
| variants | { container?: Variants; item?: Variants; } | Variants for container and item animations. |
Credit#
Initiated by @ibtihelbs
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