Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@scania/tegel-react

Package Overview
Dependencies
Maintainers
12
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scania/tegel-react

React wrappers for Tegel package

latest
Source
npmnpm
Version
1.52.0
Version published
Weekly downloads
2K
34.81%
Maintainers
12
Weekly downloads
 
Created
Source

Storybook Status: Production npm

@scania/tegel-react

This is an ongoing project with the purpose to simplify the integration of Tegel in React apps.

This guide here has served as base for the configuration.

Official website: https://tegel.scania.com/

Storybook: https://tds-storybook.tegel.scania.com/

The design system supports the design and development of digital solutions at Scania. The purpose is to secure a coherent, premium brand and user experience across all of Scania's digital touchpoints.

Status

This package is in production and ready for use. It's available via NPM and can be installed using the installation guide below.

Installation

  • Run npm install @scania/tegel-react
  • In your App.tsx:
import { defineCustomElements, TdsButton } '@scania/tegel-react';

defineCustomElements(); // Needs to be run in the browser once, before any elements are used.

function App() {
return (
<div className="App">
  <TdsButton text="Click me!">
  </TdsButton>
</div>
);
}

export default App;
  • In your global css file import the tegel stylesheet.
@import url('@scania/tegel/dist/tegel/tegel.css');

See all available components in the Tegel Design System.

Browser support

See the browser support section on the Tegel website.

Community

Get in touch with the team and the community:

License

All CSS, HTML and JS code are available under the MIT license. The Scania brand identity, logos and photographs found in this repository are copyrighted Scania CV AB and are not available on an open source basis or to be used as examples or in any other way, if not specifically ordered by Scania CV AB.

FAQs

Package last updated on 16 Apr 2026

Did you know?

Socket

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.

Install

Related posts