{"id":32187552,"url":"https://github.com/malesch/semantic-reagent","last_synced_at":"2025-10-22T00:10:05.074Z","repository":{"id":62433510,"uuid":"81453172","full_name":"malesch/semantic-reagent","owner":"malesch","description":"Library for using Semantic UI React components with Reagent","archived":false,"fork":false,"pushed_at":"2019-09-19T13:12:41.000Z","size":2056,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T00:06:06.985Z","etag":null,"topics":["clojurescript","react","reagent","semantic-ui"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/malesch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-09T13:30:44.000Z","updated_at":"2021-08-20T09:32:13.000Z","dependencies_parsed_at":"2022-11-01T21:15:41.913Z","dependency_job_id":null,"html_url":"https://github.com/malesch/semantic-reagent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/malesch/semantic-reagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malesch%2Fsemantic-reagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malesch%2Fsemantic-reagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malesch%2Fsemantic-reagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malesch%2Fsemantic-reagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malesch","download_url":"https://codeload.github.com/malesch/semantic-reagent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malesch%2Fsemantic-reagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280354893,"owners_count":26316564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojurescript","react","reagent","semantic-ui"],"created_at":"2025-10-22T00:05:48.412Z","updated_at":"2025-10-22T00:10:05.057Z","avatar_url":"https://github.com/malesch.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-reagent\n\nA Clojure library for using [Semantic UI React](http://react.semantic-ui.com) with [Reagent](http://reagent-project.github.io/).\n\n[![Clojars Project](https://img.shields.io/clojars/v/malesch/semantic-reagent.svg)](https://clojars.org/malesch/semantic-reagent)\n[![cljdoc badge](https://cljdoc.org/badge/malesch/semantic-reagent)](https://cljdoc.org/d/malesch/semantic-reagent/CURRENT)\n\n\n## Usage\n\n```clojure\n(:require '[reagent.core :as r]\n          '[semantic-reagent :as sui])\n\n(defn- sidebar []\n  (let [visible (r/atom false)\n        on-click (fn [] (reset! visible (not @visible)))]\n    (fn []\n      [:div\n       [sui/Button {:on-click on-click} \"Toggle\"]\n       [sui/SidebarPushable {:as sui/jsSegment}\n        [sui/Sidebar {:as sui/jsMenu\n                      :animation \"push\"\n                      :icon \"labeled\"\n                      :inverted true\n                      :visible @visible\n                      :vertical true\n                      :width \"thin\"}\n         [sui/MenuItem {:as \"a\"}\n          [sui/Icon {:name \"home\"}]\n          \"HOME\"]\n         [sui/MenuItem {:as \"a\"}\n          [sui/Icon {:name \"gamepad\"}]\n          \"Games\"]]\n        [sui/SidebarPusher\n         [sui/Segment {:basic true}\n          [sui/Header {:as \"h3\"} \"Content\"]\n          [sui/Image {:src \"https://react.semantic-ui.com/images/wireframe/paragraph.png\"}]]]]])))\n\n(defn- main-component []\n  [:\u003c\u003e\n   [sui/Container\n    [sidebar]]])\n\n(defn main []\n  (r/render [main-component] (.getElementById js/document \"app\")))\n```\n\nMore usage examples of the UI components can be found in the Devcards when starting up in dev mode.\nFor building [Leiningen](https://leiningen.org) is required.\n\nThe dev mode is started with\n\n```\n$ lein repl\nuser=\u003e (fig-start)\n[Figwheel] Compiling build dev to \"target/public/js/main.js\"\n[Figwheel] Successfully compiled build dev to \"target/public/js/main.js\" in 0.636 seconds.\n[Figwheel] Watching paths: (\"src\" \"dev\") to compile build - dev\n[Figwheel] Starting Server at http://localhost:9500\nOpening URL http://localhost:9500\nnil\nuser=\u003e\n```\n\nthen opening http://localhost:9500/ automatically.\n\n## License\n\nCopyright © 2017 Marcus Spiegel\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalesch%2Fsemantic-reagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalesch%2Fsemantic-reagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalesch%2Fsemantic-reagent/lists"}