{"id":21404190,"url":"https://github.com/supportclass/sc-fitted-text","last_synced_at":"2025-07-11T10:03:14.324Z","repository":{"id":57741600,"uuid":"100061439","full_name":"SupportClass/sc-fitted-text","owner":"SupportClass","description":"A Polymer 2 element for horizontally squishing text to stay within a max width.","archived":false,"fork":false,"pushed_at":"2019-04-17T16:00:55.000Z","size":218,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T16:44:34.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/SupportClass.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-08-11T18:46:13.000Z","updated_at":"2023-04-20T12:57:04.000Z","dependencies_parsed_at":"2022-09-09T06:51:20.240Z","dependency_job_id":null,"html_url":"https://github.com/SupportClass/sc-fitted-text","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/SupportClass/sc-fitted-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Fsc-fitted-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Fsc-fitted-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Fsc-fitted-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Fsc-fitted-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupportClass","download_url":"https://codeload.github.com/SupportClass/sc-fitted-text/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Fsc-fitted-text/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264780448,"owners_count":23662651,"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:13:25.656Z","updated_at":"2025-07-11T10:03:14.270Z","avatar_url":"https://github.com/SupportClass.png","language":"HTML","readme":"# \\\u003csc-fitted-text\\\u003e [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/SupportClass/sc-fitted-text) [![Build Status](https://travis-ci.org/SupportClass/sc-fitted-text.svg?branch=master)](https://travis-ci.org/SupportClass/sc-fitted-text) [![Coverage Status](https://coveralls.io/repos/github/SupportClass/sc-fitted-text/badge.svg?branch=master)](https://coveralls.io/github/SupportClass/sc-fitted-text?branch=master) ![Polymer 2 only](https://img.shields.io/badge/Polymer%202-only-blue.svg)\n\nA Polymer 2 element for horizontally squishing text to stay within a max width.\n\n## Motivation\nBroadcast graphics often need to ensure that text will fit within a given space. There are existing libraries out there that can reduce the font size of an element to fit a given space, but this behavior isn't always what is wanted. Sometimes, the design calls for horizontally squishing (scaling) the text, rather than reducing the font size. This element enables that.\n\n## Installation\n```bash\nbower install --save SupportClass/sc-fitted-text\n```\n\n## Example\n```html\n\u003csc-fitted-text text=\"Hello world!\" max-width=\"100\" align=\"center\"\u003e\u003c/sc-fitted-text\u003e\n```\n\nSee the [Demo](https://www.webcomponents.org/element/SupportClass/sc-fitted-text/demo/demo/index.html) page for an interactive example.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupportclass%2Fsc-fitted-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupportclass%2Fsc-fitted-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupportclass%2Fsc-fitted-text/lists"}