Welcome to Wigggle UI!

Wigggle UI is a free and open source UI collection of beautifully designed Widgets. It's built with Next.js, Tailwind CSS and shadcn/ui.
Works with your favorite frameworks and AI models. Open Source. Open Code.

Wigggle UI is a trusted registry for shadcn/ui. You can start adding components right away!

pnpm dlx shadcn@latest add @wigggle-ui/clock-sm-01

What is a Widget?

A flexible container component used to build UI widgets. It supports multiple sizes, design variations, color variants, and includes a collection of sub-components to structure your layout. Widgets are built using class-variance-authority for consistent styling and composability.

Loading widget...
Loading widget...
Loading widget...

Installation

pnpm dlx shadcn@latest add @wigggle-ui/widget

Usage

Loading...

Widget.tsx

Every widget is directly dependent on the widget.tsx file. This file contains the core logic for the widget, including the logic for rendering the widget and handling user interactions. This widget file exposes a few Variants and Components that you can use to customize the widget's appearance and behavior.

Loading...

API Reference

PropTypeDefault
size
sm | md | lgsm
variant
default | secondarydefault
design
default | mumbaidefault
className
string
...rest
React.HTMLAttributes<HTMLDivElement>

Sub Components

The following components are structural wrappers and accept standard HTML attributes and className.

  1. WidgetHeader : Top section, flex container.

  2. WidgetTitle : The widget heading.

  3. WidgetContent : Center section, grows to fill available space (flex-1), centers children.

  4. WidgetFooter : Bottom section, flex container.