
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@porsche-design-system/components-react
Advanced tools
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG. Visit the Porsche Design System to learn more.
Run the following command using npm:
npm install @porsche-design-system/components-react
If you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/components-react
After adding the @porsche-design-system/components-react
package to your project, you've to extend the standard React
setup by the PorscheDesignSystemProvider
.
// index.tsx
import ReactDOM from 'react-dom';
import { PorscheDesignSystemProvider } from '@porsche-design-system/components-react';
import './index.css';
import { App } from './App';
ReactDOM.render(
<React.StrictMode>
<PorscheDesignSystemProvider>
<App />
</PorscheDesignSystemProvider>
</React.StrictMode>,
document.getElementById('root')
);
Change your App file to use at least one Porsche Design System component, for example:
// App.tsx
import { PButton } from '@porsche-design-system/components-react';
export const App = (): JSX.Element => (
<div className="App">
<PButton>Some label</PButton>
</div>
);
Our goal is to provide easy-to-use and well-documented components so that developers don’t need to worry about the implementation but can focus on easily creating qualitative and consistent digital Porsche experiences. We ensure that our components are made for everyone and meet latest quality standards of usability, accessibility, performance and compatibility. In some points the components are built restrictive to define consistent standards for diverse Porsche applications but ensure enough flexibility to meet different context requirements.
FAQs
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
The npm package @porsche-design-system/components-react receives a total of 6,443 weekly downloads. As such, @porsche-design-system/components-react popularity was classified as popular.
We found that @porsche-design-system/components-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.