{"id":20576508,"url":"https://github.com/zalky/reactstrap-cljs","last_synced_at":"2026-04-22T09:31:43.897Z","repository":{"id":91474785,"uuid":"545699784","full_name":"zalky/reactstrap-cljs","owner":"zalky","description":"A Clojurescript/Reagent adapter around Reactstrap","archived":false,"fork":false,"pushed_at":"2022-10-11T03:39:49.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T11:19:13.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zalky.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-04T20:41:11.000Z","updated_at":"2023-01-20T15:06:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b016fb79-0b61-4898-b20a-a82a4f0f4e8f","html_url":"https://github.com/zalky/reactstrap-cljs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zalky/reactstrap-cljs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalky%2Freactstrap-cljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalky%2Freactstrap-cljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalky%2Freactstrap-cljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalky%2Freactstrap-cljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalky","download_url":"https://codeload.github.com/zalky/reactstrap-cljs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalky%2Freactstrap-cljs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32129613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-16T05:46:02.165Z","updated_at":"2026-04-22T09:31:43.882Z","avatar_url":"https://github.com/zalky.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://i.imgur.com/GH71uSi.png\" title=\"zalky\" align=\"right\" width=\"250\"/\u003e\n\n# Reactstrap-cljs\n\n[![Clojars Project](https://img.shields.io/clojars/v/io.zalky/reactstrap-cljs?labelColor=blue\u0026color=green\u0026style=flat-square\u0026logo=clojure\u0026logoColor=fff)](https://clojars.org/io.zalky/reactstrap-cljs)\n\nA Clojurescript/Reagent adapter around [Reactstrap\n9](https://github.com/reactstrap/reactstrap) and by extension\n[Bootstrap 5](https://getbootstrap.com/).\n\n## Usage\n\n1. Include the adapter as a dependency in your `deps.edn`:\n\n   ```clj\n   {io.zalky/reactstrap-cljs {:mvn/version \"0.1.0\"}}\n   ```\n\n2. Bring in Reactstrap as an external\n   dependency. [`shadow-cljs`](https://github.com/thheller/shadow-cljs)\n   makes npm integration easy: just add Reactstrap to your\n   `packages.json`.\n\n3. You will also need to provide some version the Bootstrap 5 CSS. The\n   simplest way is using a [CDN\n   link](https://getbootstrap.com/docs/5.2/getting-started/download/#cdn-via-jsdelivr).\n\nOnce you have succesfully configured the above, you should be able to\nrequire `reactstrap-cljs.core` and refer to all Reactstrap components\nby their kebab-case equivalent:\n\n```clj\n(ns my.project\n  (:require [reactstrap-cljs.core :as b]))\n\n(defn sidebar-entry\n  [_]\n  [b/nav-item\n   [b/nav-link {:href \"/\"}\n    [util/icon \"bell\"]\n    [:span \"Notifications\"]]])\n```\n\n## Bootstrap SASS\n\nIf instead of vanilla CSS you want to extend Bootstrap SASS, the\neasiest way to include it is via the `org.webjars/bootstrap` webjar\nand the [dart-sass-clj](https://github.com/zalky/dart-sass-clj)\nembedded compiler:\n\n```clj\n{:sass {:extra-deps {io.zalky/dart-sass-clj {:mvn/version \"0.2.0\"}\n                     org.webjars/bootstrap  {:mvn/version \"5.2.2\"}}\n        :main-opts  [\"-m\" \"dart-sass-clj.core\"\n                     \"--source-dirs\" \"[\\\"src/my/scss\\\"]\"\n                     \"--target-dir\" \"resources/assets/\"\n                     \"--output-style\" \":expanded\"\n                     \"--source-maps\"\n                     \"--watch\"]}}\n```\n\nThen `@import` what you need according to the [semantics of webjar\nimport](https://github.com/zalky/dart-sass-clj#imports). For example:\n\n```css\n@import \"bootstrap/scss/bootstrap\";\n@import \"bootstrap/scss/bootstrap-grid\";\n@import \"bootstrap/scss/bootstrap-reboot\";\n```\n\n## License\n\nDistributed under the terms of the Apache License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalky%2Freactstrap-cljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalky%2Freactstrap-cljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalky%2Freactstrap-cljs/lists"}