An iOS Design System based on Atomic Design Theory and Declarative UI.
github "nodata/fractal"
pod 'Fractal'
- Create a
Brand
- Build Atomic Components as plain old
UIView
/UIViewController
subclasses - Create
Sections
using theViewSection
ViewControllerSection
protocols - Add
SectionBuilder
to your mainUIViewController
- Create a declaritive array of
Sections
that display your Atomic Components in aUITableView
orUICollectionView
Please visit the in built TestApp to see various implementations of Sections.
http://atomicdesign.bradfrost.com/
Epics | |
---|---|
DesignSystem | ✅ |
SectionSystem | ✅ |
SandboxApp | ✅ |
Tests | WIP |
Branding | |
---|---|
Colors | ✅ |
Fonts | ✅ |
Sizes | ✅ |
Spacing & Autolayout | ✅ |
Brand injection | ✅ |
DateFormat | WIP |
Atomic Elements | |
---|---|
Button | ✅ |
Label | ✅ |
SegmentedControl | ✅ |
Slider | ✅ |
Switch | ✅ |
TextField | ✅ |
TextView | ✅ |
Section interpretation | |
---|---|
UITableView | ✅ |
UICollectionView | ✅ |
UIStackView in UIScrollView | Maybe |
UIViewController | Maybe |
Copyright 2019 Anthony Smith, Mercari, Inc. Licensed under the MIT License.