@manyone-mds/components
v1.2.0
Published
MDS React component library — accessible UI components consuming MDS tokens and icons.
Maintainers
Readme
@manyone-mds/components
MDS React component library — accessible UI components consuming MDS tokens and icons.
The React UI layer of MDS. Components are token-bound, accessibility-first, and ship per-component CSS for tree-shakeable styling.
Install
npm install @manyone-mds/components @manyone-mds/tokensreact >=18, react-dom >=18, and @manyone-mds/tokens are peer dependencies. @manyone-mds/icons is bundled transitively.
Usage
import "@manyone-mds/tokens/tokens.css";
import "@manyone-mds/components/styles.css";
import { MDSButton } from "@manyone-mds/components";
<MDSButton variant="primary">Click me</MDSButton>Or import per component to ship only what you use:
import { MDSButton } from "@manyone-mds/components/MDSButton";
import "@manyone-mds/components/MDSButton/styles.css";Components
MDSAccordion, MDSBadge, MDSBottomNavigation, MDSBreadcrumb, MDSButton, MDSCard, MDSChatBubble, MDSCheckbox, MDSChipDismissible, MDSChipFilter, MDSChipToggle, MDSDivider, MDSDropdownSelect, MDSFlyout, MDSHeader, MDSIcon, MDSImage, MDSInputField, MDSLink, MDSLogo, MDSMenu, MDSNotification, MDSPopover, MDSText.
More
Full design system docs and source: github.com/damian-888/MDS-v1.0.0.
License
MIT
