# ra1028/Carbon

🚴 A declarative library for building component-based user interfaces in UITableView and UICollectionView.

Repository: https://github.com/ra1028/Carbon
Canonical: https://ross.abutalabs.com/products/ra1028-carbon
Homepage: https://ra1028.github.io/Carbon
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, ios, component, node, diffing, declarative, render, react, delegate, datasource, differencekit, functionbuilder, uicollectionview, uitableview, swiftui
Last push: 2024-07-13T10:04:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2794, "days_push": 781, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1356, forks 97 (observed 2026-08-28T04:04:29.323655+00:00)

## What it is
Carbon is a Swift library for building declarative, component-based user interfaces in UITableView and UICollectionView, inspired by SwiftUI and React. It uses the DifferenceKit diffing algorithm for efficient, animated list updates and offers SwiftUI compatibility for future migration.

## Use cases
- build declarative list UIs in UITableView and UICollectionView
- render component-based interfaces on iOS
- efficiently diff and animate list updates
- reuse components across table and collection views
- migrate UIKit list UIs to SwiftUI later
- replace IGListKit or Epoxy with a Swift-native alternative

## When to choose
- you build complex list-driven iOS UIs in UIKit and want declarative, SwiftUI-like code
- you need fast diffing with beautiful update animations
- you want components reusable across UITableView, UICollectionView, and SwiftUI

## When to avoid
- your app is fully SwiftUI already
- you target platforms other than iOS
- you need a cross-platform UI framework

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, state-management
- domain: mobile-development, frontend
- platform: -
- tags: uitableview, uicollectionview, declarative-ui, diffing, swiftui-compatible, component-based, uikit, ios, swift, mobile

## Member repositories
- ra1028/Carbon (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.323655+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:55.745801+00:00, confidence not recorded.
  - readme: https://github.com/ra1028/Carbon (fetched 2026-08-28T04:04:29.323655+00:00, sha e79ad032dbe0)
  - homepage: https://ra1028.github.io/Carbon (fetched 2026-08-29T12:00:09.205845+00:00, sha 7e5b793b86f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
