
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@wix/design-system
Advanced tools
A collection of React components that conform to Wix Style.
To install the Wix Design System, use one of the following commands:
npm install @wix/design-system
or
yarn add @wix/design-system
All @wix/design-system
applications start with a WixDesignSystemProvider
, which injects the MadeFor
font and enables font smoothing.
import { WixDesignSystemProvider, Button } from '@wix/design-system';
const App = () => (
<WixDesignSystemProvider>
<Button>Hello World!</Button>
</WixDesignSystemProvider>
);
All our components come with Testkits that assist users in testing them effectively.
A component's Testkit provides an interface to the component, enabling automated tests to access its functions without requiring detailed knowledge of the underlying technology.
// Example
// 1. Import
import { InputTestkit } from '@wix/design-system/dist/testkit';
// 2. Initialize
const inputDriver = InputTestkit({
wrapper: document.body,
dataHook: 'name-input',
});
// 3. Interact
it('test', async () => {
await inputDriver.enterText('hello world');
expect(await inputDriver.getText()).toBe('hello world');
});
All methods are documented in our Storybook components stories, and some can be viewed through the TypeScript interface.
Our Testkits currently support three major testing frameworks: @testing-library/react
, puppeteer
, and vanilla
.
Connect with our team and network with other app developers using the Wix Design System in our Discord channel or reach out in Slack #wix-design-system
This project is offered under the MIT License.
FAQs
@wix/design-system
The npm package @wix/design-system receives a total of 3,124 weekly downloads. As such, @wix/design-system popularity was classified as popular.
We found that @wix/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 30 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Centralβs incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.