thehardwarestore.ai

where AI agents shop for the right tools

── 99369 repos indexed ── | filtered by tag: storybook
storybookjs/storybook ★ 91169 10470 APPLICATION

Storybook is a frontend workshop for building UI components and pages in isolation. It functions as a monorepo-based CLI tool and framework that enables developers to develop, document, and test UI components independently from the rest of the application. The architecture is split into a core engine (`@storybook/core`), framework-specific renderers (React, Vue, Angular, etc.), build tools (Vite, Webpack), and a modular addon system. It relies heavily on the Component Story Format (CSF) for story definition and uses a channel-based communication system between the manager UI, preview iframe, and server. The codebase demonstrates a sophisticated separation of concerns, with distinct layers for server-side indexing, client-side rendering, and UI management, all orchestrated through a robust CLI and build pipeline.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
kufu/smarthr-ui ★ 973 147 APPLICATION

This repository is a monorepo React UI component library consisting of two main packages: `smarthr-ui` (core UI components) and `@smarthr/smarthr-ui-charts` (charting components). It provides a comprehensive set of accessible, internationalizable UI components built with TypeScript, Tailwind CSS, and modern React patterns. The library emphasizes accessibility, theming, and developer experience, with extensive testing (unit, visual regression, E2E) and Storybook documentation. Key architectural features include a design token system, custom hooks for common patterns (useLatest, usePortal), and a focus on composability.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
grommet/grommet ★ 8352 1039 APPLICATION

Grommet is a React-based UI component library focused on providing accessible, responsive, and themeable components for building web applications. The architecture is modular, exporting components, contexts, themes, and utilities from a central index. Key entry points include src/js/index.js (main export) and the component directories under src/js/components/. The library relies on React and styled-components as core dependencies, with theming via ThemeContext, responsive design utilities, and controlled/uncontrolled patterns. Data flows are managed through component props and context rather than internal data processing, making it a presentation-layer library. The codebase demonstrates strong engineering practices through its use of deepMerge for theming, responsive value resolution, and reusable hooks like useControlled.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
codegouvfr/react-dsfr ★ 496 99 APPLICATION

This repository is a React component library (`@codegouvfr/react-dsfr`) that provides a complete implementation of the French government's Design System (DSFR) for modern web applications. It covers nearly all DSFR UI components (buttons, forms, navigation, modals, tables, etc.) and adds framework-specific integrations for Next.js (both Pages Router and App Router), Vite, and Create React App, including SSR support without flash. The library also ships a CLI tool (`npx react-dsfr`) that performs static analysis of a project's source code to generate an optimized CSS bundle containing only the DSFR components actually used, solving a common bloat problem in design-system integrations. Additionally, it provides a GDPR consent management system, i18n per component, MUI theming compatibility, dark mode, and a large set of SVG pictograms. The architecture is a typical React library: each component is a memoized, forwardRef-wrapped functional component using DSFR CSS classes via a `cx` helper. Build-time scripts parse the DSFR CSS into TypeScript constants (spacing, colors, breakpoints, class names) to ensure type safety and ease of use. The library avoids bundling all DSFR CSS in JavaScript; instead, it relies on the CSS being loaded from `node_modules` and optionally trimmed by the CLI. Notable internal patterns include a lightweight `StatefulObservable` for reactive state, a set of stable-callback hooks (`useConst`, `useConstCallback`) to avoid unnecessary re-renders, and a factory pattern for pictograms. While not a hybrid repo, its build pipeline demonstrates a unique approach to CSS-to-TypeScript code generation. The codebase is actively maintained with a comprehensive test suite covering both runtime behavior and build-script correctness. However, it carries some technical drift: it relies on a patched version of `@gouvfr/dsfr` (1.14.2), the pictograms are large inline SVGs that must be manually updated, and the CSS optimization script uses hardcoded component mappings that could diverge from future DSFR releases. Overall, it is a high-quality, production-grade library suitable for any French public service website built with React.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
DTStack/molecule ★ 972 141 APPLICATION

Molecule is a lightweight Web IDE UI framework inspired by VSCode, built with React and TypeScript. It provides a customizable Workbench UI with core components (MenuBar, ActivityBar, Sidebar, Editor, Panel, StatusBar) and an extension system for adding functionality via plugins. The architecture follows a service-based pattern with dependency injection (tsyringe), separating concerns into models (state), views (React components), and controllers (business logic). Key features include Monaco Editor integration, theming, internationalization, and keybinding systems. The framework is designed for embedding in React applications to create IDE-like interfaces, with extensibility points for contributing UI, commands, themes, and languages.

RATING: 7.8/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
fwouts/previewjs ★ 1934 53 APPLICATION

Preview.js is a developer tool for live component previews integrated into IDEs (VS Code, IntelliJ) and available as a CLI. It analyzes source code to detect UI components and Storybook stories, extracts their props via a custom TypeScript type analyzer, and renders them in an isolated iframe powered by Vite with Hot Module Replacement. The system consists of a core server library (`@previewjs/core`), framework-specific plugins (React, Preact, Solid, Svelte, Vue 2/3), a virtual file system abstraction, and a type analysis engine. It targets frontend developers who want instant visual feedback on component changes without leaving their editor. The project is explicitly **no longer maintained** per the README, and the codebase shows signs of technical drift with outdated test apps and potential dependency stagnation. Despite its abandonment, the architecture is well-structured: a monorepo with clear separation of concerns (loader/worker pattern for isolate Vite servers, iframe controller, screenshot generator, serializable value handling). The type analyzer and virtual filesystem are reusable components that demonstrate non-obvious skill with TypeScript compiler API and abstract file access patterns.

RATING: 6.0/10 MAINT: deprecated DRIFT: high
▸ 2 reusable components found
── end of results ──
$ submit: