{"id":33283187,"url":"https://github.com/blockarchitech/shale","last_synced_at":"2025-11-17T14:04:24.798Z","repository":{"id":315805681,"uuid":"1059884496","full_name":"blockarchitech/shale","owner":"blockarchitech","description":"A React component library, inspired by pebble/slate.","archived":false,"fork":false,"pushed_at":"2025-09-20T20:29:51.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T21:30:12.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blockarchitech.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T04:58:14.000Z","updated_at":"2025-09-20T20:29:20.000Z","dependencies_parsed_at":"2025-09-20T21:30:15.052Z","dependency_job_id":"ac049bd7-93b7-4206-adf0-aaff7ac34a74","html_url":"https://github.com/blockarchitech/shale","commit_stats":null,"previous_names":["blockarchitech/shale"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/blockarchitech/shale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockarchitech%2Fshale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockarchitech%2Fshale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockarchitech%2Fshale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockarchitech%2Fshale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockarchitech","download_url":"https://codeload.github.com/blockarchitech/shale/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockarchitech%2Fshale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284893573,"owners_count":27080532,"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-11-17T02:00:06.431Z","response_time":55,"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":[],"created_at":"2025-11-17T14:04:21.536Z","updated_at":"2025-11-17T14:04:24.792Z","avatar_url":"https://github.com/blockarchitech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shale \n\nA React component library, inspired by [Slate](https://github.com/pebble/slate).\n\n## Installation\n\n```bash\nnpm install @blockarchitech/shale\n```\n\n## Components\n\n### Button\nA button component.\n```tsx\nimport { Button } from '@blockarchitech/shale';\n\u003cButton value=\"Click me\" /\u003e\n```\n\n### Checkbox\nA checkbox component.\n```tsx\nimport { Checkbox } from '@blockarchitech/shale';\n\u003cCheckbox checked={true} onChange={handleChange} /\u003e\n```\n\n### Container\nComponents for grouping items.\n```tsx\nimport { ItemContainer, ItemContainerHeader, ItemContainerContent, ItemContainerFooter, Item, ButtonContainer } from '@blockarchitech/shale';\n\u003cItemContainer\u003e\n  \u003cItemContainerHeader\u003eHeader\u003c/ItemContainerHeader\u003e\n  \u003cItemContainerContent\u003eContent\u003c/ItemContainerContent\u003e\n  \u003cItemContainerFooter\u003eFooter\u003c/ItemContainerFooter\u003e\n\u003c/ItemContainer\u003e\n```\n\n### DateInput\nA date input component.\n```tsx\nimport { DateInput } from '@blockarchitech/shale';\n\u003cDateInput /\u003e\n```\n\n### Paragraph\nA paragraph component for text blocks.\n```tsx\nimport { Paragraph } from '@blockarchitech/shale';\n\u003cParagraph\u003eSome text\u003c/Paragraph\u003e\n```\n\n### Select\nA select dropdown component.\n```tsx\nimport { Select } from '@blockarchitech/shale';\n\u003cSelect value={val} onChange={handleChange}\u003e\n  \u003coption value=\"1\"\u003eOne\u003c/option\u003e\n\u003c/Select\u003e\n```\n\n### Toggle\nA toggle switch component.\n```tsx\nimport { Toggle } from '@blockarchitech/shale';\n\u003cToggle checked={true} onChange={handleChange} /\u003e\n```\n\n## Theming\nTo use Shale, wrap your application in the `ShaleTheme` provider. This will provide the theme and global styles to all components.\n\n```tsx\nimport { ShaleTheme } from '@blockarchitech/shale';\n\n\u003cShaleTheme\u003e\n  {/* your app */}\n\u003c/ShaleTheme\u003e\n```\n\nYou can also provide a custom theme to `ShaleTheme`:\n```tsx\nimport { ShaleTheme } from '@blockarchitech/shale';\n\nconst myTheme = {\n  // ... your theme overrides\n};\n\n\u003cShaleTheme theme={myTheme}\u003e\n  {/* your app */}\n\u003c/ShaleTheme\u003e\n```\n\n## Contributing\n\nThis project uses Vite for development and building the library.\n\n### Development\n\nTo start the development server, run:\n\n```bash\nnpm run dev\n```\n\n### Building\n\nThe `vite.config.ts` is configured to build the library for production. The entry point is `src/components/shale/index.ts`. The build generates a `dist` folder with the library files.\n\nThe following dependencies are externalized and not included in the bundle: `react`, `react-dom`, and `styled-components`.\n\nTo build the library, run:\n\n```bash\nnpm run build\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockarchitech%2Fshale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockarchitech%2Fshale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockarchitech%2Fshale/lists"}