Storybook-SwiftUI
Visual SwiftUI component previews, tagging, and rapid verification
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install Storybook-SwiftUI?โผ
Run `npx skills add aj-bartocci/Storybook-SwiftUI --all -g -y` in your terminal to install the verification skill globally.
How to preview SwiftUI components without building the app?โผ
Add @objc static StorybookPage extensions to your component files and render StorybookCollection in a PreviewProvider to browse all views instantly.
How to visually verify a SwiftUI view during development?โผ
Tag the view with a unique identifier, launch the app with the --storybook argument, and search the tag to auto-open the exact view for inspection.
Does Storybook-SwiftUI work with UIKit apps?โผ
Yes. UIKit apps can use it through the companion SwiftUIPreviewHelpers library, and it supports iOS 10+ and macOS 11+.
Can I test dark mode and font sizes in previews?โผ
Yes. Built-in controls let you toggle dark mode, dynamic type sizes, and screen dimensions, and you can add custom controls to any view.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core