Topics / #declarative

Declarative projects on GitHub

Declarative programming where UIs and pipelines are described as desired outcomes.

As of , the most-starred Declarative projects on GitHub are react (251.2K stars), angular.js (58.5K stars) and react-router (56.6K stars). GitHub.Locker tracks 30 Declarative repositories with 856.7K stars combined. The fastest-growing on October 16 was react, with +52 stars in a day.

30Projects
856.7KStars in total
+238Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

30 projects · by stars

  1. #1 · react/react

    react

    React is a JavaScript library for building user interfaces: you describe views for each state of your app, and React efficiently updates just the right components when data changes.

    251.2K
  2. #2 · angular/angular.js

    angular.js

    AngularJS is a JavaScript framework for client-side web apps that makes the browser smarter: HTML is your template language, extended with extra syntax to describe app components clearly.

    58.5K
  3. #3 · remix-run/react-router

    react-router

    React Router is a multi-strategy router for React: it lets you define routes and handle navigation in React apps.

    56.6K
  1. 4

    terraform

    49.9Khashicorp/terraform · Go

    Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently, letting you describe cloud and on-prem resources in declarative configuration files instead of clicking through consoles.

  2. 5

    solid

    36.1Ksolidjs/solid · TypeScript

    Solid is a declarative JavaScript library for building user interfaces. Instead of using a Virtual DOM, it compiles JSX templates to real DOM nodes and updates them with fine-grained reactions.

  3. 6

    react-three-fiber

    33Kpmndrs/react-three-fiber · TypeScript

    react-three-fiber is a React renderer for Three.js: you build 3D scenes declaratively with reusable, self-contained components that react to state, are readily interactive and plug into the whole React ecosystem.

  4. 7

    alpine

    32Kalpinejs/alpine · HTML

    Alpine.js is a rugged, minimal framework that lets you add interactive JavaScript behavior directly as attributes in your HTML markup, without a build step or component system.

  5. 8

    opentofu

    30.5Kopentofu/opentofu · Go

    OpenTofu is an open-source tool for declaratively managing cloud infrastructure, letting you build, change, and version infrastructure safely and efficiently.

  6. 9

    kestra

    29.7Kkestra-io/kestra · Java

    Kestra is an open-source, event-driven orchestration platform for building data, AI, and infrastructure workflows. You describe them in declarative YAML and manage everything from a built-in web UI.

  7. 10

    recharts

    27.6Krecharts/recharts · TypeScript

    Recharts is a charting library for React that lets you build charts out of composable React components, built on top of D3 for calculations and native SVG for rendering.

  8. 11

    nixpkgs

    26.5KNixOS/nixpkgs · Nix

    Nixpkgs is a collection of over 140,000 software packages that can be installed using the Nix package manager, and it also implements NixOS, a purely-functional Linux distribution built on top of those packages.

  9. 12

    cli

    24.3Kurfave/cli · Go

    urfave/cli is a Go package for building command line tools. You declare commands, subcommands, and flags in Go, and it handles argument parsing, the help system, and shell completion for you.

  10. 13

    ReactiveCocoa

    19.8KReactiveCocoa/ReactiveCocoa · Swift

    ReactiveCocoa is a Swift framework that wraps Apple's Cocoa frameworks with reactive programming: changing values become composable streams over time that you can observe and bind straight to your UI.

  11. 14

    hyperapp

    19.2Khyperapp/hyperapp · JavaScript

    Hyperapp is a tiny (about 1kB) JavaScript framework for building purely functional, browser-based 'hypertext applications' using views, actions, effects and subscriptions.

  12. 15

    relay

    19Kfacebook/relay · Rust

    Relay is a JavaScript framework for building data-driven React applications: you declare what data your components need with GraphQL, and Relay handles how and when to fetch it.

  13. 16

    plotly.py

    18.8Kplotly/plotly.py · Python

    An interactive, open-source graphing library for Python: you describe charts in Python code and get interactive figures rendered in the browser.

  14. 17

    nix

    17.9KNixOS/nix · C++

    Nix is a purely functional package manager for Linux and other Unix systems that makes installing software reliable and reproducible.

  15. 18

    marko

    14.5Kmarko-js/marko · JavaScript

    Marko is a declarative, HTML-based language for building dynamic, reactive user interfaces. It extends plain HTML with components, conditionals, loops, and a built-in reactivity system.

  16. 19

    mitosis

    14.4KBuilderIO/mitosis · TypeScript

    Mitosis is a compiler that lets you write a UI component once and compile it to native code for React, Vue, Angular, Svelte, Solid, Qwik, Alpine, and other frameworks.

  17. 20

    G2

    12.6Kantvis/G2 · TypeScript

    G2 is a visualization grammar library for building charts, dashboards, data exploration, and storytelling, inspired by Leland Wilkinson's book 'The Grammar of Graphics'.

  18. 21

    opa

    12.4Kopen-policy-agent/opa · Go

    OPA (Open Policy Agent) is an open source, general-purpose policy engine that lets you enforce policies — like 'can user X do Y on resource Z?' — consistently across your whole stack via a declarative policy language called Rego.

  19. 22

    sqlalchemy

    12.2Ksqlalchemy/sqlalchemy · Python

    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper (ORM) that gives application developers the full power and flexibility of SQL while also allowing object-oriented domain models to be mapped transparently to relational tables.

  20. 23

    crossplane

    12.2Kcrossplane/crossplane · Go

    Crossplane is a framework for building cloud native control planes without writing code. It orchestrates applications and infrastructure across any environment through a declarative, Kubernetes-style API.

  21. 24

    home-manager

    10.4Knix-community/home-manager · Nix

    Home Manager manages your user environment with the Nix package manager: you declare user-specific (non-global) packages and dotfiles in configuration instead of installing and tweaking things by hand.

  22. 25

    native

    7.8Kvercel-labs/native · Zig

    Native SDK is a toolkit for building native desktop apps: you write views in declarative .native markup and logic in plain TypeScript (or Zig), and the SDK compiles everything to native code that its own engine renders directly into real OS windows, with no browser, WebView, or JS runtime in the final binary.

  23. 26

    shaders

    5Kshader-effects-inc/shaders · TypeScript

    Shaders is a library of 200+ WebGPU visual effects (gradients, noise, glass, metal, light, distortions, transitions, blurs, cursor effects) shipped as ready-to-use components for React, Vue, Svelte, Solid and plain JavaScript.

  24. 27

    paper

    3Kcordiverse/paper

    This is an academic preprint (arXiv:2608.25512 [cs.PL]) that proposes a formal programming paradigm called the 'context paradigm' for building software that can dynamically add, remove, and interleave components (like plugins or self-evolving agent harnesses) without breaking each other.

  25. 28

    reladraw

    1.1Kreladraw/reladraw · TypeScript

    reladraw is a text-based diagramming language where you state each node's position relative to other nodes - never raw coordinates - and a resolver works out the exact layout. It ships as a CLI tool, a TypeScript library (parser, resolver, SVG renderer) and an agent skill for AI coding agents.

  26. 29

    imp

    254deepfates/imp · Elixir

    Imp is a full port of DSPy to the BEAM: an Elixir framework for building and automatically improving language-model programs. You declare a step's inputs and outputs as a typed signature, and an optimizer tunes its prompts or examples against labeled data.

  27. 30

    omarchy-lock-explorer

    208SirJul1337/omarchy-lock-explorer · QML

    Lock Screen Explorer is an Omarchy plugin that adds dozens of ready-made lock screen designs (Greeting Card, Terminal, Weather, Music, System, Rain, and more) plus a picker UI to preview, switch, and customize them, while keeping all the normal unlock methods working.

Often tagged together