# instacart/Nantes

Swift TTTAttributedLabel replacement

Repository: https://github.com/instacart/Nantes
Canonical: https://ross.abutalabs.com/products/nantes
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, ios, tttattributedlabel, swift-framework
Last push: 2024-01-08T07:43:25+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2794, "days_push": 968, "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 1105, forks 83 (observed 2026-08-28T04:03:36.331831+00:00)

## What it is
Nantes is a pure-Swift UILabel replacement library, a Swift port of the popular Objective-C TTTAttributedLabel. It supports attributed text, data detectors, link embedding, truncation tokens, and tap handling.

## Use cases
- display tappable links inside a UILabel on iOS
- add a 'read more' truncation token to long text
- replace TTTAttributedLabel in a Swift project
- detect and style URLs, dates, and phone numbers in label text
- expand/collapse multi-line labels on tap

## When to choose
- you need rich attributed text with embedded links in an iOS app
- you want a maintained Swift alternative to TTTAttributedLabel
- you need custom truncation tokens or tap-to-expand label behavior

## When to avoid
- you are building for Android or cross-platform (iOS-only)
- you need SwiftUI-native text handling rather than UIKit labels
- you only need plain static text without links or attributes

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, frontend
- platform: -
- tags: uilabel-replacement, attributed-label, swift-framework, tttattributedlabel, cocoapods, carthage, ios, swift, mobile

## Member repositories
- instacart/Nantes (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.331831+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-30T06:44:34.254718+00:00, confidence not recorded.
  - readme: https://github.com/instacart/Nantes (fetched 2026-08-28T04:03:36.331831+00:00, sha cd5a8076a578)
- Data as of 2026-08-30T08:39:29.467469+00:00.
