# loregr/LGButton

A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code.

Repository: https://github.com/loregr/LGButton
Canonical: https://ross.abutalabs.com/products/lgbutton
Language: Swift
License: MIT
License Family: permissive
Topics: uicontrol, uibutton, swift, ios, font-icons, interface-builder, beautiful-buttons, xcode, ios-swift, swift-4, ibdesignable, ui, button, font, ios-lib
Last push: 2020-09-11T02:30:28+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3364, "days_push": 2183, "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 2281, forks 137 (observed 2026-08-28T04:06:33.868729+00:00)

## What it is
LGButton is a fully customisable Swift subclass of UIControl for iOS that lets developers create styled buttons entirely from Interface Builder without writing code. It supports font icons from popular collections (Font Awesome, Ion Icons, Octicons, Material, etc.), asset images, and async operation states.

## Use cases
- create custom styled buttons in iOS without code
- add font icons to iOS buttons
- configure button appearance in Interface Builder
- show loading state on buttons during async operations
- replace UIButton with a more customizable control

## When to choose
- you build iOS UIs primarily in Interface Builder or storyboards
- you want icon fonts and gradients on buttons with zero code
- you need IBDesignable live-preview buttons in Xcode

## When to avoid
- you build UI programmatically or with SwiftUI
- you need a actively developed library with recent updates
- you target platforms other than iOS

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, frontend
- platform: -
- tags: uibutton, uicontrol, ibdesignable, interface-builder, font-icons, cocoapods, ios, swift

## Member repositories
- loregr/LGButton (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.868729+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-30T02:41:21.980278+00:00, confidence not recorded.
  - readme: https://github.com/loregr/LGButton (fetched 2026-08-28T04:06:33.868729+00:00, sha 4cec69ec5eaa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
