widget-based-design
Skill by sickn33
Provides a styling guide for widget-based UI design, with iOS Home Screen style blocks shown in CSS, SwiftUI, Flutter, React Native and Jetpack Compose. Aimed at developers building modular, glanceable tiles. It is a child reference of the design-it skill.
Install widget-based-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/design-it/widget-based-design ~/.claude/skills/widget-based-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/design-it/widget-based-design ~/.gemini/antigravity-cli/skills/widget-based-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install widget-based-design in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a design and implementation guide for widget-based layouts. It describes small, functional UI blocks that can be rearranged, in the style of iOS Home Screen widgets. It covers strict sizes such as 1x1, 2x1 and 2x2, the goal of glanceable data, and matching inner and outer corner radius. It also lists visual traits such as bold numbers, solid or full-bleed backgrounds, and a Bento-like layout.
The source includes code examples for a grid of widgets and a sample weather widget. The examples are written in CSS, SwiftUI, Flutter, React Native and Jetpack Compose. The skill is intended for developers and designers who want that aesthetic. It is marked as a sub-style and is not meant to be triggered directly. It is a styling reference, not a WidgetKit or Android home-screen widget implementation.
Written from the project's SKILL.md and checked against it.
What it can do
- Widget size systemDefines strict widget sizes: 1x1 square, 2x1 rectangle and 2x2 large square.
- Glanceable data ruleShows the most important data at once, with deeper interaction in the full app.
- Corner radius nestingMatches inner content border radius to the outer widget radius, with 24px as the example.
- CSS widget gridProvides a CSS grid with fixed row height and small, medium and large widget classes.
- SwiftUI weather widgetShows a SwiftUI LazyVGrid layout with a gradient weather widget.
- Flutter widget screenShows a Flutter GridView screen with a weather widget built from Container and Stack.
- React Native widget layoutShows a flexWrap layout with percentage widths for widget tiles.
- Jetpack Compose widget gridShows a LazyVerticalGrid with spanned items for a widget-style layout.
What you need
- flutter_staggered_grid_view package recommended for Flutter widget layouts
Try asking
- Show me a CSS grid of 1x1 and 2x1 widgets with 24px radius.
- Build a SwiftUI weather widget with a gradient background and large temp.
- Give me a React Native layout of two-column widget tiles with gaps.
Good to know
- Styling reference only, not WidgetKit or Android home-screen widget lifecycles.
- Fixed heights do not guarantee square shapes or room for enlarged text.
- Does not replace environment-specific validation, accessibility testing or expert review.
- Standard Flutter GridView is too rigid for mixed widget sizes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/design-it/widget-based-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to widget-based-design
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
widget-based-design: common questions
Does this skill create real iOS or Android home-screen widgets?
No. The source says these in-app widget studies do not implement WidgetKit or Android home-screen widget lifecycles.
Which frameworks have code examples?
The source includes examples for CSS, SwiftUI, Flutter, React Native and Jetpack Compose.
Can I use it on its own?
The source describes it as a child reference of the design-it skill and says it is not meant to be triggered directly.
How do I install widget-based-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is widget-based-design free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is widget-based-design safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to widget-based-design?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
