Sections
Get Started
Components
- Accordion
- Alert Dialog
- Animated Gradient Text
- Animated Shiny Text
- Avatar
- Badge
- Bento Box
- Bento Grid
- Border Beam
- Breadcrumbs
- Card
- Checkbox
- Custom Cursor
- Dialog
- Glow Border
- Glow Card
- Hyper Text
- Logo Beam
- Marquee
- Number Counter
- Popover
- Ripple Button
- Scroll Area
- Separator
- Shimmer Button
- Shinny Icons
- Tabs
- Terminal
- Text Animate
- Theme Toggler
- Typing Animation
- Word Rotate
import { ThemeSwitcherToggle } from "@/components/ui/theme-switch-toggler"
export function ThemeSwitcherTogglerDemo() {
return <ThemeSwitcherToggle />
}
Installation
pnpm dlx shadcn@latest add https://ebonui.com/r/theme-switch-toggler.json
Usage
import { ThemeSwitcherToggle } from "@/components/ui/theme-switch-toggler"<ThemeSwitcherToggle />Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | String | " " | Additional classes to be added to the component |
duration | Number | 200 | Duration of the theme transition animation in milliseconds |
Support Ebon UI by giving it a star on GitHub!
A lot of work goes into maintaining and improving Ebon UI. Your stars help show your support and encourage further development.
Star on Github