1.2.0 • Published 2 years ago
@pinax/ui v1.2.0
Pinax UI Library
This is a library of React components that are used in the PINAX ecosystem. It's built on top of multiple frameworks & tools.
The goal of the library is to be strict in its design and implementation, while also being flexible enough to be used in a variety of projects. It leverages conventions from major UI libraries such as MUI, while removing a lot of boilerplate and complexity. Effectively trading off some flexibility for simplicity, while remaining familiar.
Quickstart
$ npm install @pinax/uiimport React from "react";
import { Button } from "@pinax/ui";
import { BlogIcon } from "@pinax/ui/icons";
function handleClick() {
console.log("Clicked!");
}
export default () => (
<Button onClick={handleClick} startIcon={<BlogIcon />}>
Click Me
</Button>
);Components
AccordionAvatarBackdropBadgeButtonCardCheckboxChipCodeCodeSnippetConfettiContainerCopyrightDividerDropdownGridIconInputLinkLoadingModalPaginationProgressRadioGroupSliderSnackbarSwitchTableTabsTooltipUser
Icons
AnalyticsIconBillingIconBlogIconCaretDownIconCaretLeftIconCaretRightIconCaretUpIconCopyIconCoreIconDeleteIconDiscordIconDocsIconExternalLinkIconFirehoseIconFirstPageIconGatewayIconGithubIconGraphIconHamburgerIconHiddenIconInternalLinkIconLastPageIconLinkIconLinkedinIconMailIconNewIconNftIconPinaxIconRecentIconSearchIconSortAscendingIconSortDescendingIconSortIconSubstreamsIconTimeseriesIconTokenIconTwitterIconUploadIconUserIconVideoIconVisibleIconWebhookIconYoutubeIcon
Build
$ npm run buildStorybook
$ storybook build
$ storybook dev -p 6006Testing
$ bun test1.2.0
2 years ago