
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@entur/typography
Advanced tools
Entur's official font is Nationale and is created by Playtype Foundry, located in Copenhagen. The font is protected under licence and shall only be used in official Entur products. By downloading this font you confirm that you are employed by Entur and th
Entur's official font is Nationale and is created by Playtype Foundry, located in Copenhagen. The font is protected under licence and shall only be used in official Entur products. By downloading this font you confirm that you are employed by Entur and that the font only will be used in developing official Entur products. All other uses will be regarded as a violation to the licence agreement and to Entur's brand, and legal actions may be filed.
This package contains styles and React components for all of our typography.
š” Looking for the documentation? Looking for the beta documentation?
npm install @entur/typography
# or
yarn add @entur/typography
import { Heading1, Paragraph, Link } from '@entur/typography';
import '@entur/typography/styles';
function MyComponent() {
return (
<div>
<Heading1>My Title</Heading1>
<Paragraph>My content</Paragraph>
<Link href="/more">Learn more</Link>
</div>
);
}
import { Heading, Text, LinkBeta } from '@entur/typography/beta';
import '@entur/typography/styles';
function MyComponent() {
return (
<div>
<Heading as="h1" variant="title-1">
My Title
</Heading>
<Text variant="paragraph">My content</Text>
<LinkBeta href="/more">Learn more</LinkBeta>
</div>
);
}
Good news! This package maintains full backward compatibility. All existing import patterns continue to work exactly as before.
// ā
All these still work exactly as before
import { Heading1 } from '@entur/typography/dist/Heading1';
import { Paragraph } from '@entur/typography/dist/Paragraph';
import '@entur/typography/dist/styles.css';
// š But these are now preferred
import { Heading1, Paragraph } from '@entur/typography';
import '@entur/typography/styles';
Migrating from legacy typography? We've created a comprehensive migration package to help you transition smoothly. Follow our migration guide in our website.
# Option 1: Using npx (recommended)
npx @entur/typography@latest migrate
# Option 2: With specific options
npx @entur/typography@latest migrate --dry-run
# Option 3: From installed package
npm install @entur/typography@latest
npx @entur/typography@latest migrate
# Option 4: Add to your package.json scripts
# "scripts": { "migrate-typography": "npx @entur/typography@latest migrate" }
# Then run: npm run migrate-typography -- --dry-run
Note: The migration script requires glob to be available. If you encounter an error, install it:
npm install glob
# or
yarn add glob
// Replace this
@import '@entur/typography/dist/styles.css';
// With this
@import '@entur/typography/styles';
FAQs
Entur's official font is Nationale and is created by Playtype Foundry, located in Copenhagen. The font is protected under licence and shall only be used in official Entur products. By downloading this font you confirm that you are employed by Entur and th
The npm package @entur/typography receives a total of 5,237 weekly downloads. As such, @entur/typography popularity was classified as popular.
We found that @entur/typography demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 10 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.