![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@aybolit/white-label
Advanced tools
Aybolit White Label is a set of the web components with bare minimum of styles.
Aybolit White Label is a set of the web components with bare minimum of styles.
Aybolit White Label is opinionated library not based on any CSS framework. The idea behind it is to provide a meaningful set of default styles easy to extend and override. You might consider it a boilerplate for building your next design system using Web Components. Unlike other Aybolit implementations, White Label doesn't provide any custom CSS properties.
Aybolit White Label is available as npm package:
# with npm
npm i @aybolit/white-label --save
# with yarn
yarn add @aybolit/white-label
Import either all or individual components:
// all components
import '@aybolit/white-label';
// button only
import { AbwButton } from '@aybolit/white-label';
You can also use get Aybolit White Label from the CDN:
<script src="https://unpkg.com/@aybolit/white-label@latest?module" type="module"></script>
<!-- Button -->
<abw-button>Button</abw-button>
<abw-button disabled>Disabled</abw-button>
<abw-button link="https://example.com">Link</abw-button>
<!-- Checkbox -->
<abw-checkbox>Unchecked</abw-checkbox>
<abw-checkbox checked>Checked</abw-checkbox>
<abw-checkbox indeterminate>Indeterminate</abw-checkbox>
<!-- Progress (indeterminate) -->
<abw-progress></abw-progress>
<!-- Progress (determinate) -->
<abw-progress value="50" max="100"></abw-progress>
<!-- Range -->
<abw-range min="0" max="10" value="5"></abw-range>
<!-- Switch -->
<abw-switch>Unchecked</abw-switch>
<abw-switch checked>Checked</abw-switch>
You can extend and override white label component like this:
import { AbwButton } from '@aybolit/white-label';
import { css } from 'lit-element';
class CustomButton extends AbwButton {
static get styles() {
return [
/* white-label styles */
super.styles,
/* your own CSS */
css`
.button {
color: var(--my-button-color, #111);
}
`
];
}
}
customElements.define('custom-button', CustomButton);
Note: white label components register themselves in global CustomElementRegistry via customElements.define()
. If you want to avoid this, import the component styles only, and use them with the base class from @aybolit/core
:
import { ButtonElement } from '@aybolit/core';
import { abwButtonStyles } from '@aybolit/white-label';
import { css } from 'lit-element';
class CustomButton extends ButtonElement {
static get styles() {
return [
/* core styles */
super.styles,
/* white-label styles */
abwButtonStyles,
/* your own CSS */
css`
.button {
color: var(--my-button-color, #111);
}
`
];
}
}
customElements.define('custom-button', CustomButton);
FAQs
Aybolit White Label is a set of the web components with bare minimum of styles.
The npm package @aybolit/white-label receives a total of 1 weekly downloads. As such, @aybolit/white-label popularity was classified as not popular.
We found that @aybolit/white-label demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.