{"id":36658282,"url":"https://github.com/wghglory/gloryui-react","last_synced_at":"2026-01-12T10:24:49.890Z","repository":{"id":89684367,"uuid":"461463166","full_name":"wghglory/gloryui-react","owner":"wghglory","description":"Derek React Components Library","archived":false,"fork":false,"pushed_at":"2025-12-20T07:18:04.000Z","size":2355,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-22T01:14:32.913Z","etag":null,"topics":["react-library"],"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/wghglory.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-20T11:14:34.000Z","updated_at":"2025-12-20T07:18:02.000Z","dependencies_parsed_at":"2023-06-03T23:00:20.949Z","dependency_job_id":null,"html_url":"https://github.com/wghglory/gloryui-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wghglory/gloryui-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wghglory%2Fgloryui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wghglory%2Fgloryui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wghglory%2Fgloryui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wghglory%2Fgloryui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wghglory","download_url":"https://codeload.github.com/wghglory/gloryui-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wghglory%2Fgloryui-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["react-library"],"created_at":"2026-01-12T10:24:49.812Z","updated_at":"2026-01-12T10:24:49.885Z","avatar_url":"https://github.com/wghglory.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gloryui-react\n\nA modern React components library built with TypeScript, Tailwind CSS, and shadcn/ui patterns.\n\n## 🚀 Getting Started\n\n### Installation\n\n```bash\nnpm install gloryui-react\n```\n\n### Development\n\nThis project uses a two-terminal workflow for development:\n\n**Terminal 1 - Build Watch Mode:**\n\n```bash\nnpm run dev\n```\n\nThis runs `tsup --watch` which:\n\n- Watches for file changes in `src/`\n- Automatically rebuilds the library\n- Outputs to `dist/` directory\n- Does NOT open a URL (it's just a build tool)\n\n**Terminal 2 - Storybook (Component Development):**\n\n```bash\nnpm run storybook\n```\n\nThis starts the Storybook dev server:\n\n- Opens at **http://localhost:6006**\n- Provides visual component development environment\n- Hot reloads when you make changes\n- Interactive component playground\n\n### Build\n\n```bash\nnpm run build\n```\n\nBuilds the library for production:\n\n- Generates CJS and ESM formats\n- Outputs TypeScript declarations\n- Processes Tailwind CSS\n- Minifies code\n\n### Other Scripts\n\n```bash\nnpm test              # Run tests with Jest\nnpm run build-storybook  # Build static Storybook site\n```\n\n## 🛠️ Tech Stack\n\n- **Build Tool**: tsup (modern, fast TypeScript bundler)\n- **Styling**: Tailwind CSS with shadcn/ui design system\n- **UI Primitives**: Headless UI, Radix UI\n- **Component Development**: Storybook\n- **Testing**: Jest + React Testing Library\n\n## 📦 Components\n\n### DrButton\n\nA flexible button component with multiple variants and sizes.\n\n```tsx\nimport { DrButton } from 'gloryui-react';\n\n\u003cDrButton label=\"Click me\" variant=\"default\" size=\"md\" /\u003e;\n```\n\n**Props:**\n\n- `label` (string, required) - Button text\n- `variant` ('default' | 'outline' | 'ghost') - Button style variant\n- `size` ('sm' | 'md' | 'lg') - Button size\n- `className` (string, optional) - Additional CSS classes\n\n### DrAspectRatio\n\nDisplay a DOM element with fixed aspect ratios: `1:1`, `4:3`, or `16:9`.\n\n```tsx\nimport { DrAspectRatio } from 'gloryui-react';\n\n\u003cDrAspectRatio ratio=\"16:9\"\u003e\n  \u003cimg src=\"image.jpg\" alt=\"Example\" /\u003e\n\u003c/DrAspectRatio\u003e;\n```\n\n**Props:**\n\n- `ratio` ('1:1' | '4:3' | '16:9', required) - Aspect ratio\n- `containerClass` (string, optional) - Additional CSS classes for container\n- `children` (ReactNode, required) - Content to display\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwghglory%2Fgloryui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwghglory%2Fgloryui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwghglory%2Fgloryui-react/lists"}