Skip to content

facebook/componentkit

Folders and files

NameName
Last commit message
Last commit date
Mar 17, 2021
Jan 27, 2021
Sep 21, 2020
May 12, 2021
May 12, 2021
Jun 15, 2022
Feb 15, 2021
Oct 4, 2015
Sep 20, 2019
Mar 18, 2021
Mar 18, 2021
Feb 12, 2021
Jun 15, 2022
Oct 22, 2020
May 12, 2021
Jun 15, 2022
Sep 27, 2017
May 12, 2021
Jan 2, 2020
Sep 21, 2020
Sep 21, 2020
Aug 30, 2019
Apr 19, 2016
Apr 8, 2019
Apr 8, 2019
Sep 21, 2020
Sep 21, 2020
Mar 25, 2015
Apr 10, 2015
Mar 3, 2022
Mar 5, 2020
Jan 2, 2020

Repository files navigation

ComponentKit

Support Ukraine Build Status

ComponentKit is a view framework for iOS that is heavily inspired by React. It takes a functional, declarative approach to building UI. It was built to power Facebook's News Feed and is now used throughout the Facebook iOS app.

Quick start

ComponentKit is available to install via Carthage. To get started add the following to your Cartfile:

github "facebook/ComponentKit" ~> 0.30

Opening the Xcode projects

ComponentKit has a few dependencies that need to be installed via Carthage. Before you open any of the Xcode projects in this repo, make sure you run:

carthage checkout

If Carthage isn't installed, you easily install it via Homebrew:

brew install carthage

If you can't use Homebrew, Carthage provides other installation methods.

To get started with the example app:

open Examples/WildeGuess/WildeGuess.xcodeproj

Build and run the WildeGuess target to try it out!

If you're interested in viewing only the ComponentKit source code in Xcode:

open ComponentKit.xcodeproj

Learn more

Contributing

See the CONTRIBUTING file for how to help out.

License

ComponentKit is BSD-licensed. We also provide an additional patent grant.

The files in the /Examples directory are licensed under a separate license as specified in each file; documentation is licensed CC-BY-4.0.