{"id":27060474,"url":"https://github.com/codewithdpk/pretty-pretty","last_synced_at":"2025-04-05T13:19:50.173Z","repository":{"id":57330160,"uuid":"357962160","full_name":"codewithdpk/pretty-pretty","owner":"codewithdpk","description":"Attractive Web UI components.","archived":false,"fork":false,"pushed_at":"2024-06-26T10:45:15.000Z","size":133,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T14:07:56.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/codewithdpk.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":"2021-04-14T15:55:41.000Z","updated_at":"2024-06-26T10:45:18.000Z","dependencies_parsed_at":"2024-10-19T11:35:28.690Z","dependency_job_id":null,"html_url":"https://github.com/codewithdpk/pretty-pretty","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.17647058823529416","last_synced_commit":"e21ba922a02929a48f7aeceeb762847539a63c37"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdpk%2Fpretty-pretty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdpk%2Fpretty-pretty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdpk%2Fpretty-pretty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdpk%2Fpretty-pretty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithdpk","download_url":"https://codeload.github.com/codewithdpk/pretty-pretty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339481,"owners_count":20923075,"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":[],"created_at":"2025-04-05T13:19:49.721Z","updated_at":"2025-04-05T13:19:50.167Z","avatar_url":"https://github.com/codewithdpk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pretty-Pretty\n\nPretty-Pretty is a UI component library of ready-made components like Buttons, Cards and more.\n\n## Installation\n\nUse the node package manager [npm](https://www.npmjs.com/) to install Pretty-Pretty.\n\n```bash\nnpm i pretty-pretty\n```\n\n## Usage\n\n### Card\n\n```javascript\nimport { PrettyCard } from \"pretty-pretty\";\n\nfunction App() {\n  return (\n    \u003cPrettyCard style={{ margin: \"50px\", width: \"30%\" }}\u003e\n      \u003cspan style={{ fontSize: \"14px\", fontWeight: \"normal\" }}\u003e\n        Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n        tempor incididunt ut labore et dolore magna aliqua.\n      \u003c/span\u003e\n    \u003c/PrettyCard\u003e\n  );\n}\n\nexport default App;\n```\n\n### Result\n\n![alt text](https://github.com/codewithdpk/pretty-pretty/blob/main/assets/imgs/pretty-pretty-card-demo.png?raw=true)\n\n## Buttons\n\n### Normal Type\n\n```javascript\nimport { PrettyBtn } from \"pretty-pretty\";\n\nfunction App() {\n  return (\n    \u003cdiv style={{ margin: \"100px\" }}\u003e\n      \u003cdiv style={{ display: \"flex\", flexDirection: \"column\" }}\u003e\n        \u003cdiv style={{ display: \"flex\", flexDirection: \"column\" }}\u003e\n          \u003cspan style={{ fontSize: \"12px\" }}\u003ePRIMARY_FILLED_LARGE\u003c/span\u003e \u003cbr /\u003e\n          \u003cPrettyBtn variant=\"PRIMARY_FILLED_LARGE\" /\u003e\n        \u003c/div\u003e\n        \u003cdiv\n          style={{\n            display: \"flex\",\n            flexDirection: \"column\",\n            marginTop: \"40px\",\n          }}\n        \u003e\n          \u003cspan style={{ fontSize: \"12px\" }}\u003eSECONDARY_LARGE\u003c/span\u003e\n          \u003cbr /\u003e\n          \u003cPrettyBtn variant=\"SECONDARY_LARGE\" /\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n### Result\n\n![alt text](https://github.com/codewithdpk/pretty-pretty/blob/main/assets/imgs/pretty-pretty-btn-normal.png?raw=true)\n\n### Get Started Type\n\n```javascript\nimport { PrettyBtn } from \"pretty-pretty\";\n\nfunction App() {\n  return (\n    \u003cdiv style={{ margin: \"100px\" }}\u003e\n      \u003cdiv style={{ display: \"flex\", flexDirection: \"column\" }}\u003e\n        \u003cdiv style={{ display: \"flex\", flexDirection: \"column\" }}\u003e\n          \u003cspan style={{ fontSize: \"12px\" }}\u003eGET_STARTED_PRIMARY\u003c/span\u003e \u003cbr /\u003e\n          \u003cPrettyBtn variant=\"GET_STARTED_PRIMARY\" /\u003e\n        \u003c/div\u003e\n        \u003cdiv\n          style={{\n            display: \"flex\",\n            flexDirection: \"column\",\n            marginTop: \"40px\",\n          }}\n        \u003e\n          \u003cspan style={{ fontSize: \"12px\" }}\u003eGET_STARTED_SECONDARY\u003c/span\u003e\n          \u003cbr /\u003e\n          \u003cPrettyBtn variant=\"GET_STARTED_SECONDARY\" /\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n### Result\n\n![alt text](https://github.com/codewithdpk/pretty-pretty/blob/main/assets/imgs/pretty-pretty-btn-gs.png?raw=true)\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdpk%2Fpretty-pretty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithdpk%2Fpretty-pretty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdpk%2Fpretty-pretty/lists"}