{"id":21660253,"url":"https://github.com/appnexus/lucid","last_synced_at":"2025-12-30T00:04:46.958Z","repository":{"id":4133631,"uuid":"51951143","full_name":"appnexus/lucid","owner":"appnexus","description":"A UI component library from Xandr.","archived":false,"fork":false,"pushed_at":"2023-01-07T04:21:01.000Z","size":25342,"stargazers_count":201,"open_issues_count":89,"forks_count":80,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-01T20:12:29.122Z","etag":null,"topics":["components","jsx","react"],"latest_commit_sha":null,"homepage":"https://appnexus.github.io/lucid","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appnexus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-17T19:59:27.000Z","updated_at":"2024-09-16T23:09:11.000Z","dependencies_parsed_at":"2023-01-13T12:57:39.624Z","dependency_job_id":null,"html_url":"https://github.com/appnexus/lucid","commit_stats":null,"previous_names":[],"tags_count":336,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appnexus%2Flucid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appnexus%2Flucid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appnexus%2Flucid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appnexus%2Flucid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appnexus","download_url":"https://codeload.github.com/appnexus/lucid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226306155,"owners_count":17603942,"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":["components","jsx","react"],"created_at":"2024-11-25T09:32:33.824Z","updated_at":"2025-12-30T00:04:46.914Z","avatar_url":"https://github.com/appnexus.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Lucid [![codecov](https://codecov.io/gh/appnexus/lucid/branch/master/graph/badge.svg)](https://codecov.io/gh/appnexus/lucid)\n\nA UI component library from Xandr.\n\n## Install\n\nLucid can be installed with npm\n\n```sh\n  npm install --save lucid-ui\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Button } from 'lucid-ui';\n\nReactDOM.render(\u003cButton\u003eHello World\u003c/Button\u003e, mountNode);\n```\n\nLucid uses `less` for its stylesheets. If you use `less`, you can include the\nstyles like so:\n\n    @import \"node_modules/lucid-ui/src/index.less\";\n\nIf you don't use `less`, you can use the precompiled css file\n`node_modules/lucid-ui/dist/lucid.css`.\n\n### Custom CSS Scope\n\nThere are some _very rare_ situations where you might need to customize the\nprefix for all the css class names emitted by the library and `less`. If you\nfind yourself in that unenviable position, you can do the following:\n\nIn your webpack config use the [`DefinePlugin`][dp] to specify\n`LUCID_CSS_NAMESPACE` like so:\n\n    new webpack.DefinePlugin({\n      LUCID_CSS_NAMESPACE: \"'something-custom'\",\n    });\n\nWhen you render the `less`, make sure to [set the `prefix` variable][lmv] to the\nsame thing you set in in your webpack config. E.g.\n\n    lessc node_modules/lucid-ui/src/index.less --modify-var='prefix=something-custom'\n\n### Dependencies\n\n`lucid-ui` has several React peer dependencies. This means **your application\nis responsible for declaring dependencies** on compatible versions. Currently\nwe support React 15 and 16.\n\nExample package.json:\n\n```json\n{\n\t\"dependencies\": {\n\t\t\"lucid-ui\": \"^5.0.0\",\n\t\t\"react\": \"^16.0.0\",\n\t\t\"react-dom\": \"^16.0.0\"\n\t}\n}\n```\n\nTo contribute to lucid, please see `CONTRIBUTING.md`.\n\n### Credits\n\n- [BrowserStack] for providing cross-browser testing infrastructure.\n- [Travis CI] for providing continuous integration infrastructure.\n- [CodeCov] for providing code coverage analysis infrastructure.\n\n[browserstack]: https://www.browserstack.com/\n[travis ci]: https://travis-ci.org/\n[codecov]: https://codecov.io\n[bpi]: https://github.com/ant-design/babel-plugin-import\n[dp]: https://webpack.js.org/plugins/define-plugin/\n[lmv]: http://lesscss.org/usage/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappnexus%2Flucid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappnexus%2Flucid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappnexus%2Flucid/lists"}