
Description
Widgets is an open-source generative UI kit for AI-generated interfaces, published under the Apache-2.0 license as the @tugan/widgets package. A language model writes a compact, strict, JSX-like template, your app supplies the data, and WidgetRenderer validates both and paints interactive components. The model does not send arbitrary code. The kit has a registry of 144 components, including cards, carousels, forms, inputs, tables, bar, line, area, pie and scatter charts, maps, accordions, menus, sheets and more, plus over 200 icons. Names are checked when a template is parsed, so an unknown component fails early. Templates can stream while they render, and components support light and dark themes, with optional liquid-glass styling. The site has a gallery, an interactive playground, a spec page and examples. The source code is on GitHub at Gan-Tu/Widgets.…
Highlights
- LLMs write a template and your app supplies the data
- 144 registered components and 200+ icons
- Strict templates, validated when parsed
- Light and dark theming with liquid-glass option
- Playground, gallery and spec on the site
Ratings & Reviews
No ratings yet
Be the first to rate Widgets.
People also visit
Widgets FAQ
What is Widgets?
An open-source generative UI kit that renders interface templates written by an AI model.
Does the model run code?
No. The site says the model writes a strict template, and no arbitrary code is run.
Which license does it use?
Apache-2.0.
How many components are there?
144 registered components and more than 200 icons.
Where can I see examples?
The site has a gallery, an interactive playground, a spec page and examples.
What are the best Widgets alternatives?
Popular alternatives to Widgets include LocalMode, Unsaged and Scoopika. See all Widgets alternatives






.png)
