Skip to content

Investigate shadcn/ui Integration and React Bindings for Component Library #413

@anuragxxd

Description

@anuragxxd

Description:

Explore integrating shadcn/ui into our web component library ecosystem. Currently, our components are built as Web Components, but we lack React bindings that could provide better DX and leverage modern React patterns. We should investigate if shadcn/ui can help us create performant React wrappers while maintaining our existing Web Components architecture.

Expected Behaviour:

Research document outlining integration approaches (wrapper components vs. hybrid approach)
Performance benchmarks comparing Web Components vs. React bindings
Proof-of-concept for 2-3 core components using shadcn/ui
Recommendation on whether to proceed with full integration

Suggested Approach:

Evaluate shadcn/ui component patterns and how they map to our existing ecc-utils-design components
Create POC React bindings package (e.g., ecc-react-bindings) in the monorepo
Benchmark performance (bundle size, runtime, load times) against native Web Components
Test integration with our Next.js documentation app
Document pros/cons and make recommendation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions