{"id":23107954,"url":"https://github.com/andrewdyer/react-bootstrap-box","last_synced_at":"2025-10-13T17:38:58.251Z","repository":{"id":251771903,"uuid":"836910994","full_name":"andrewdyer/react-bootstrap-box","owner":"andrewdyer","description":"A versatile React component designed to apply Bootstrap utility classnames based on provided props.","archived":false,"fork":false,"pushed_at":"2024-11-06T21:41:15.000Z","size":454,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-06T21:42:17.253Z","etag":null,"topics":["bootstrap","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewdyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-01T20:17:26.000Z","updated_at":"2024-11-06T21:41:18.000Z","dependencies_parsed_at":"2024-08-21T05:16:24.130Z","dependency_job_id":null,"html_url":"https://github.com/andrewdyer/react-bootstrap-box","commit_stats":null,"previous_names":["andrewdyer/react-bootstrap-box"],"tags_count":7,"template":false,"template_full_name":"andrewdyer/react-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewdyer%2Freact-bootstrap-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewdyer%2Freact-bootstrap-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewdyer%2Freact-bootstrap-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewdyer%2Freact-bootstrap-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewdyer","download_url":"https://codeload.github.com/andrewdyer/react-bootstrap-box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047180,"owners_count":18164575,"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","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":["bootstrap","react"],"created_at":"2024-12-17T01:16:30.144Z","updated_at":"2025-10-13T17:38:53.204Z","avatar_url":"https://github.com/andrewdyer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![React + Bootstrap Box](https://raw.githubusercontent.com/andrewdyer/public-assets/refs/heads/main/images/covers/react-bootstrap-box.png)\n\n# 📦 React + Bootstrap Box\n\nA versatile [React](https://react.dev/) component designed to apply [Bootstrap](https://getbootstrap.com/) utility classnames based on provided props.\n\n## 📄 License\n\nLicensed under MIT. Totally free for private or commercial projects.\n\n## ✨ Introduction\n\nThe **React + Bootstrap Box** component simplifies applying Bootstrap utility classes in React. With an intuitive prop-driven API, it enables you to quickly and efficiently manage styles like borders, spacing, flexbox, typography, and more - all without manually writing classnames.\n\n## 📥 Installation\n\nTo install this package use npm:\n\n```bash\nnpm install bootstrap react-bootstrap-box\n```\n\nOr with Yarn:\n\n```bash\nyarn add bootstrap react-bootstrap-box\n```\n\n## 🚀 Getting Started\n\n### 1. Including Bootstrap CSS\n\nFirst, ensure Bootstrap CSS is included in your project:\n\n```tsx\nimport 'bootstrap/dist/css/bootstrap.min.css';\n```\n\n## 📖 Usage\n\n### Using the Box Component\n\nIn your `App.tsx`, or any other component, the `Box` component can be used:\n\n```tsx\nimport React from 'react';\n\nimport { Box } from 'react-bootstrap-box';\n\nconst App = () =\u003e {\n  return (\n    \u003cBox background=\"primary\" color=\"white\" margin=\"2\" padding=\"5\"\u003e\n      Hello, world!\n    \u003c/Box\u003e\n  );\n};\n\nexport default App;\n```\n\n## 📚 Learn More\n\nDiscover the full potential of the **React + Bootstrap Box** component by exploring its [Storybook documentation](https://box.andrewdyer.rocks/), where you'll find live examples, interactive demos, and detailed use cases for every prop.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewdyer%2Freact-bootstrap-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewdyer%2Freact-bootstrap-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewdyer%2Freact-bootstrap-box/lists"}