Skip to content
daimlertruckPublic

About

Daimler Truck Digital Design System

Topics

Resources

Code of conduct

Contributing

Stars

15 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,294 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Component library for Daimler Truck Digital Design System.
It contains UI components, brand themes, examples and documentation.

DT-DDS provides:

  • A unified group of utility functions commonly used, and spread across different projects
  • A unified group of reusable UI components commonly used, and spread across different projects
  • W3C standards, common tooling, and high quality through CI/CD lifecycle
  • Accessibility meeting WCAG 2.1 AA standards
  • Faster developments and implementations
  • Easy collaboration and Maintenance
  • Versioning and changelogs
  • Documentation

Documentation via:

📦 Installation

@dt-dds/react uses CSS-IN-JS behind the scenes. You'll also need to add Emotion as a project dependency.

yarn add @dt-dds/react @emotion/css @emotion/react @emotion/styled

🔨 Usage

Import the DT-DDS global styles in the root component.

import '@dt-dds/react/index.css';

And wrap your code in a ThemeProvider component to make it available to all components.

import { Provider as ThemeProvider, theme } from '@dt-dds/react';

function App() {
  return <ThemeProvider theme={theme}>
    ...
  <ThemeProvider/>
}

We provide a default Daimler Truck theme, available under the package react-core/themes

Package Release Status

Package Version
@dt-dds/react 1.0.0-beta.380
@dt-dds/fonts 1.0.0-beta.18
@dt-dds/icons 1.0.0-beta.13
@dt-dds/react-accordion 1.0.0-beta.79
@dt-dds/react-app-header 1.0.0-beta.124
@dt-dds/react-avatar 1.0.0-beta.92
@dt-dds/react-backdrop 1.0.0-beta.76
@dt-dds/react-box 1.0.0-beta.84
@dt-dds/react-breadcrumb 1.0.0-beta.92
@dt-dds/react-button 1.0.0-beta.123
@dt-dds/react-card 1.0.0-beta.56
@dt-dds/react-checkbox 1.0.0-beta.81
@dt-dds/react-core 1.0.0-beta.71
@dt-dds/react-date-picker 1.0.0-beta.129
@dt-dds/react-divider 1.0.0-beta.72
@dt-dds/react-drawer 1.0.0-beta.87
@dt-dds/react-dropdown 1.0.0-beta.123
@dt-dds/react-empty-state 1.0.0-beta.149
@dt-dds/react-form 1.0.0-beta.74
@dt-dds/react-icon 1.0.0-beta.79
@dt-dds/react-icon-button 1.0.0-beta.43
@dt-dds/react-label-field 1.0.0-beta.77
@dt-dds/react-link 1.0.0-beta.104
@dt-dds/react-message 1.0.0-beta.142
@dt-dds/react-modal 1.0.0-beta.127
@dt-dds/react-pagination 1.0.0-beta.72
@dt-dds/react-progress-bar 1.0.0-beta.72
@dt-dds/react-radio 1.0.0-beta.111
@dt-dds/react-segmented-control 1.0.0-beta.70
@dt-dds/react-select 1.0.0-beta.121
@dt-dds/react-sidebar 1.0.0-beta.26
@dt-dds/react-spinner 1.0.0-beta.128
@dt-dds/react-stepper 1.0.0-beta.75
@dt-dds/react-table 1.0.0-beta.70
@dt-dds/react-tabs 1.0.0-beta.125
@dt-dds/react-tag 1.0.0-beta.84
@dt-dds/react-text-area 1.0.0-beta.111
@dt-dds/react-text-field 1.0.0-beta.140
@dt-dds/react-toast 1.0.0-beta.143
@dt-dds/react-toggle 1.0.0-beta.53
@dt-dds/react-tooltip 1.0.0-beta.87
@dt-dds/react-typography 1.0.0-beta.64
@dt-dds/themes 1.0.0-beta.23

💻 Contributing

See the contributing guidelines on how to contribute to this repository, including issue creation, GitHub Workflow and Coding standards and guidelines.

© License

Licensed under MIT License

About

Daimler Truck Digital Design System

Topics

Resources

Code of conduct

Contributing

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages