{"id":21404713,"url":"https://github.com/eightyfive/react-native-textography","last_synced_at":"2026-01-02T18:12:06.652Z","repository":{"id":57340863,"uuid":"336005794","full_name":"eightyfive/react-native-textography","owner":"eightyfive","description":"Glorified layer atop react-native-typography","archived":false,"fork":false,"pushed_at":"2021-02-04T16:16:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T23:19:36.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eightyfive.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}},"created_at":"2021-02-04T15:59:24.000Z","updated_at":"2021-02-05T13:19:59.000Z","dependencies_parsed_at":"2022-09-07T16:40:15.860Z","dependency_job_id":null,"html_url":"https://github.com/eightyfive/react-native-textography","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eightyfive%2Freact-native-textography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eightyfive%2Freact-native-textography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eightyfive%2Freact-native-textography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eightyfive%2Freact-native-textography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eightyfive","download_url":"https://codeload.github.com/eightyfive/react-native-textography/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902291,"owners_count":20366259,"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":"2024-11-22T16:17:41.298Z","updated_at":"2026-01-02T18:12:01.611Z","avatar_url":"https://github.com/eightyfive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-textography\n\nGlorified helper around [`react-native-typography`](https://github.com/hectahertz/react-native-typography).\n\nThe library simply uses [Material Design](https://github.com/hectahertz/react-native-typography#material-design) text styles on Android and [iOSUIKit](https://github.com/hectahertz/react-native-typography#iosuikit) text styles on iOS.\n\n## Usage\n\n```js\nimport { Caption, Subheading, Text, Title } from \"react-native-textography\";\n\nfunction App() {\n  return (\n    \u003c\u003e\n      \u003cText\u003eBody Text\u003c/Text\u003e\n\n      \u003cText em\u003eEmphasized Text\u003c/Text\u003e\n\n      \u003cCaption\u003eSmall Text\u003c/Caption\u003e\n\n      \u003cSubheading\u003eSmall Title\u003c/Subheading\u003e\n\n      \u003cTitle\u003eTitle\u003c/Title\u003e\n\n      \u003cTitle large\u003eLarge Title\u003c/Title\u003e\n\n      \u003cText type={isAndroid ? \"display4\" : \"caption2\"}\u003eWeird Text\u003c/Text\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Text styles reference\n\n| Component            | Android    | iOS                  |\n| -------------------- | ---------- | -------------------- |\n| `\u003cCaption /\u003e`        | caption    | footnote             |\n| `\u003cCaption em /\u003e`     | caption    | footnoteEmphasized   |\n| `\u003cText /\u003e`           | body1      | body                 |\n| `\u003cText em /\u003e`        | body2      | bodyEmphasized       |\n| `\u003cSubheading /\u003e`     | subheading | subhead              |\n| `\u003cSubheading em /\u003e`  | subheading | subheadEmphasized    |\n| `\u003cTitle /\u003e`          | title      | title3               |\n| `\u003cTitle em /\u003e`       | title      | title3Emphasized     |\n| `\u003cTitle large /\u003e`    | display1   | largeTitleEmphasized |\n| `\u003cTitle large em /\u003e` | display1   | largeTitleEmphasized |\n\n\u003e **Note**: The `em` property is mostly ignored on Android.\n\n## The `white` property\n\nThe `white` property adds the \"White\" suffix to the current text style name:\n\n```js\n// Android\n\u003cText white /\u003e // --\u003e body1White\n\u003cTitle large white /\u003e // --\u003e display1White\n\n// iOS\n\u003cText white /\u003e // --\u003e bodyWhite\n\u003cTitle large white /\u003e // --\u003e largeTitleEmphasizedWhite\n// ...\n```\n\n## Weights\n\nFor convenience you can specify the [font weight](https://github.com/hectahertz/react-native-typography#system-weights) on all components:\n\n```js\n\u003cText thin /\u003e\n\u003cCaption light /\u003e\n\u003cTitle regular /\u003e\n\u003cText semibold /\u003e\n\u003cSubheading bold /\u003e\n// ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feightyfive%2Freact-native-textography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feightyfive%2Freact-native-textography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feightyfive%2Freact-native-textography/lists"}