npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lumston/ds-react

v0.4.1

Published

Lumston Design System - React component library

Readme

@lumston/ds-react

Lumston Design System — React component library built on top of MUI v7 and React 19.

Installation

npm install @lumston/ds-react
# or
pnpm add @lumston/ds-react
# or
yarn add @lumston/ds-react

Peer dependencies

The following packages must be installed in your project:

npm install react@^19 react-dom@^19 \
  @mui/material@^7 @mui/system@^7 \
  @emotion/react@^11 @emotion/styled@^11 \
  minimal-shared@^1

Some components have additional optional peer dependencies (see Optional peer dependencies).

Setup

1. Import global styles

In your app entry point, import the stylesheet:

import '@lumston/ds-react/styles.css';

2. Configure the library (optional)

import { configureLsds } from '@lumston/ds-react';

configureLsds({
  // configuration options
});

3. Wrap your app with the MUI theme

The library requires an MUI CSS vars theme. Use MUI's CssVarsProvider with your theme setup:

import { CssVarsProvider } from '@mui/material/styles';

export default function App() {
  return (
    <CssVarsProvider>
      {/* your app */}
    </CssVarsProvider>
  );
}

Usage

import { LSButton, LSTextField, LSTag } from '@lumston/ds-react';

export default function MyPage() {
  return (
    <>
      <LSButton variant="contained" color="primary">
        Click me
      </LSButton>

      <LSTextField label="Name" />

      <LSTag color="primary" variant="soft">
        Active
      </LSTag>
    </>
  );
}

Components

Inputs

| Component | Import | |---|---| | LSButton | import { LSButton } from '@lumston/ds-react' | | LSIconButton | import { LSIconButton } from '@lumston/ds-react' | | LSCheckbox | import { LSCheckbox } from '@lumston/ds-react' | | LSRadioButton | import { LSRadioButton } from '@lumston/ds-react' | | LSSwitch | import { LSSwitch } from '@lumston/ds-react' | | LSSlider | import { LSSlider } from '@lumston/ds-react' | | LSTextField | import { LSTextField } from '@lumston/ds-react' | | LSNumberInput | import { LSNumberInput } from '@lumston/ds-react' | | LSAutocomplete | import { LSAutocomplete } from '@lumston/ds-react' | | LSPhoneInput | import { LSPhoneInput } from '@lumston/ds-react' | | LSDatePicker + variants | import { LSDatePicker } from '@lumston/ds-react' |

Typography

| Component | Import | |---|---| | LSText | import { LSText } from '@lumston/ds-react' | | LSTextLink | import { LSTextLink } from '@lumston/ds-react' | | LSTag | import { LSTag } from '@lumston/ds-react' | | LSTextMaxLine | import { LSTextMaxLine } from '@lumston/ds-react' |

Data Display

| Component | Import | |---|---| | LSAccordion / LSAccordionSummary / LSAccordionDetails | import { LSAccordion } from '@lumston/ds-react' | | LSBadge | import { LSBadge } from '@lumston/ds-react' | | LSChip | import { LSChip } from '@lumston/ds-react' | | LSDataGrid | import { LSDataGrid } from '@lumston/ds-react' | | LSTable | import { LSTable } from '@lumston/ds-react' | | LSTimeline | import { LSTimeline } from '@lumston/ds-react' | | LSTransferList | import { LSTransferList } from '@lumston/ds-react' | | LSTreeView | import { LSTreeView } from '@lumston/ds-react' |

Feedback

| Component | Import | |---|---| | LSAlert | import { LSAlert } from '@lumston/ds-react' | | LSLoader | import { LSLoader } from '@lumston/ds-react' | | LSProgressBar | import { LSProgressBar } from '@lumston/ds-react' | | LSRating | import { LSRating } from '@lumston/ds-react' |

Overlay

| Component | Import | |---|---| | LSDialog | import { LSDialog } from '@lumston/ds-react' | | LSDrawer | import { LSDrawer } from '@lumston/ds-react' | | LSMenu / LSMenuItem | import { LSMenu, LSMenuItem } from '@lumston/ds-react' | | LSPopover | import { LSPopover } from '@lumston/ds-react' | | LSTooltip | import { LSTooltip } from '@lumston/ds-react' |

Navigation

| Component | Import | |---|---| | LSBreadcrumb | import { LSBreadcrumb } from '@lumston/ds-react' | | LSPagination | import { LSPagination } from '@lumston/ds-react' | | LSTabs | import { LSTabs } from '@lumston/ds-react' | | LSStepper | import { LSStepper } from '@lumston/ds-react' |

Layout

| Component | Import | |---|---| | LSAuthSplitLayout | import { LSAuthSplitLayout } from '@lumston/ds-react' | | LSDashboardLayout | import { LSDashboardLayout } from '@lumston/ds-react' | | LSHeaderSection | import { LSHeaderSection } from '@lumston/ds-react' | | LSNavSectionVertical / LSNavSectionMini | import { LSNavSectionVertical } from '@lumston/ds-react' | | LSScrollbar | import { LSScrollbar } from '@lumston/ds-react' | | LSSimpleLayout | import { LSSimpleLayout } from '@lumston/ds-react' |

Media

| Component | Import | |---|---| | LSAvatar | import { LSAvatar } from '@lumston/ds-react' | | LSIconify | import { LSIconify } from '@lumston/ds-react' | | LSFlagIcon | import { LSFlagIcon } from '@lumston/ds-react' | | LSLogo | import { LSLogo } from '@lumston/ds-react' |

Other

| Component | Import | |---|---| | LSColorPickerComponent | import { LSColorPickerComponent } from '@lumston/ds-react' | | LSCopyToClipboard | import { LSCopyToClipboard } from '@lumston/ds-react' | | LSSortableContainer / LSSortableItem | import { LSSortableContainer } from '@lumston/ds-react' | | LSEditor | import { LSEditor } from '@lumston/ds-react' | | LSForm / LSField | import { LSForm, LSField } from '@lumston/ds-react' |

Optional peer dependencies

Some components require additional packages. Install only what you need:

| Components | Required package | |---|---| | LSIconify, LSFlagIcon | @iconify/react | | LSSortableContainer, LSSortableItem | @dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities | | LSEditor | @tiptap/react and related @tiptap/* packages | | LSForm, LSField | react-hook-form, @hookform/resolvers, zod | | LSPhoneInput | react-phone-number-input | | LSDatePicker variants | @mui/x-date-pickers, dayjs | | LSDataGrid | @mui/x-data-grid | | LSTreeView | @mui/x-tree-view | | LSScrollbar | simplebar-react | | Snackbar / toasts | sonner |

License

MIT