# hakimel/Ladda

Buttons with built-in loading indicators.

Repository: https://github.com/hakimel/Ladda
Canonical: https://ross.abutalabs.com/products/ladda
Homepage: http://lab.hakim.se/ladda/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2021-12-02T21:28:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4837, "days_push": 1735, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7791, forks 843 (observed 2026-08-28T04:10:05.054604+00:00)

## What it is
Ladda is a JavaScript/CSS library that embeds loading indicators (spinners and progress bars) directly into buttons. It provides immediate visual feedback on actions like form submissions, with multiple animation styles and sizes.

## Use cases
- show a spinner on a submit button while a form posts to the server
- display a progress bar inside a button during a long-running upload
- add loading feedback to buttons in a web app without writing custom CSS animations
- prevent double submissions by visually disabling a button while loading
- customize button loading animations with different styles, sizes, and colors

## When to choose
- you want built-in loading indicators on buttons with minimal setup
- you need multiple animation styles (expand, contract, zoom, slide) out of the box
- you want a lightweight, framework-agnostic vanilla JS solution

## When to avoid
- you use a modern component framework and prefer native loading components or a full UI kit
- you need accessibility features beyond basic button states
- you require active development or frequent updates, as the project is in maintenance mode

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: frontend, web-development, web-design
- platform: browser, cross-platform
- tags: loading-indicators, buttons, spinners, ux, form-feedback, javascript

## Member repositories
- hakimel/Ladda (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.054604+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-29T17:34:39.277999+00:00, confidence not recorded.
  - readme: https://github.com/hakimel/Ladda (fetched 2026-08-28T04:10:05.054604+00:00, sha 1c3fe01d1e22)
  - homepage: http://lab.hakim.se/ladda/ (fetched 2026-08-29T08:31:19.388494+00:00, sha c44998d752d8)
  - registry_npm: https://registry.npmjs.org/ladda (fetched 2026-08-29T08:31:19.391451+00:00, sha b2f1c1566755)
- Data as of 2026-08-30T08:39:29.467469+00:00.
