@extrachill/components
v1.0.0
Published
Shared React components for the Extra Chill Platform
Maintainers
Readme
@extrachill/components
Shared React components for the Extra Chill Platform ecosystem.
Install
npm install @extrachill/componentsComponents
| Component | Description |
|-----------|-------------|
| DataTable | Admin table with optional row selection, loading states |
| Pagination | Previous/Next page navigation |
| SearchBox | Search input with clear button |
| Modal | Accessible modal dialog wrapping @wordpress/components |
Usage
import { DataTable, Pagination, SearchBox, Modal } from '@extrachill/components';
import '@extrachill/components/styles/components.scss';
function UsersTable() {
return (
<DataTable
columns={[
{ key: 'name', label: 'Name' },
{ key: 'email', label: 'Email' },
]}
data={users}
isLoading={isLoading}
/>
);
}Peer Dependencies
Requires @wordpress/components, @wordpress/element, and react — all provided by @wordpress/scripts in WordPress plugin builds.
Used By
extrachill-admin-tools— Network admin toolsextrachill-seo— SEO audit dashboard
License
GPL-2.0+
