2.1.6 • Published 6 months ago

@campxdev/react-blueprint v2.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

CampX React Blueprint

A comprehensive React component library built with TypeScript and Material-UI for building modern web applications with consistent design patterns and functionality.

Overview

CampX React Blueprint provides a complete set of reusable components organized into logical categories. The library is built on top of Material-UI v7 and provides additional functionality, styling, and patterns specific to CampX applications.

Key Features:

  • 🎨 67+ Production-Ready Components - Comprehensive component library covering all common UI patterns
  • 🎯 TypeScript First - Full type safety and excellent developer experience
  • 🎨 Material-UI Foundation - Built on top of MUI v7 with consistent theming
  • 📖 Storybook Documentation - Interactive component documentation and testing
  • 🌓 Dark/Light Theme - Complete theming system with dark and light mode support
  • Accessibility - WCAG compliant components with proper ARIA support
  • 📱 Responsive Design - Mobile-first responsive components

Installation

npm install @campxdev/react-blueprint
# or
yarn add @campxdev/react-blueprint

Quick Start

import { MuiThemeProvider, Button, DataTable } from '@campxdev/react-blueprint';
import { lightTheme } from '@campxdev/react-blueprint';

function App() {
  return (
    <MuiThemeProvider theme={lightTheme}>
      <Button variant="contained" color="primary">
        Hello CampX!
      </Button>
    </MuiThemeProvider>
  );
}

Component Categories

The library includes 67+ components organized into 7 categories:

  • Layout (5 components) - Application structure and page layout
  • Input (21 components) - Form controls and user input elements
  • Navigation (15 components) - Navigation and user interaction flows
  • Feedback (6 components) - User feedback and status information
  • Data Display (13 components) - Data presentation and organization
  • Assets (7 components) - Static assets including error pages and icons
  • Charts (5 components) - Data visualization with Recharts integration

Documentation

For Developers

For AI Agents

  • AI Agent Documentation - Comprehensive component reference designed specifically for AI agents to understand and work with the component system

The agents.md file provides detailed information about all components, their purposes, props, usage patterns, and relationships - specifically formatted for AI systems to parse and understand the component library structure.

Development Scripts

Development

yarn start          # Start development server
yarn storybook      # Launch Storybook documentation

Building

yarn build          # Build library for production
yarn build-storybook # Build Storybook for deployment

Testing

yarn test           # Run test suite

Component Architecture

Theme System

All components are built with a consistent theming system supporting both light and dark modes:

import { MuiThemeProvider, lightTheme, darkTheme } from '@campxdev/react-blueprint';

// Use light theme
<MuiThemeProvider theme={lightTheme}>
  <YourApp />
</MuiThemeProvider>

// Use dark theme  
<MuiThemeProvider theme={darkTheme}>
  <YourApp />
</MuiThemeProvider>

Form Integration

Components work seamlessly together for form building:

import { 
  FormWrapper, 
  TextField, 
  Button, 
  FormActions 
} from '@campxdev/react-blueprint';

<FormWrapper onSubmit={handleSubmit}>
  <TextField label="Name" name="name" required />
  <TextField label="Email" name="email" type="email" required />
  <FormActions>
    <Button type="submit" variant="contained">Submit</Button>
    <Button variant="outlined">Cancel</Button>
  </FormActions>
</FormWrapper>

Layout Structure

Build consistent application layouts:

import { 
  AppHeader, 
  Sidebar, 
  PageContent, 
  PageHeader 
} from '@campxdev/react-blueprint';

<div className="app">
  <AppHeader 
    userFullName="John Doe"
    clientName="CampX"
    collapsed={sidebarCollapsed}
  />
  <div className="app-body">
    <Sidebar />
    <main>
      <PageHeader title="Dashboard" />
      <PageContent>
        {/* Your page content */}
      </PageContent>
    </main>
  </div>
</div>

Contributing

This is a private CampX component library. For internal development guidelines and contribution processes, please refer to the internal CampX documentation.

License

Private - CampX Internal Use Only

1.6.4

12 months ago

1.6.3

1 year ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.7.9

10 months ago

1.7.8

10 months ago

1.7.7

10 months ago

1.7.6

10 months ago

1.7.5

10 months ago

1.7.4

10 months ago

1.5.5

1 year ago

1.5.4

1 year ago

1.5.3

1 year ago

1.5.2

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.6.9

11 months ago

1.6.8

11 months ago

1.6.7

11 months ago

1.6.6

11 months ago

1.6.5

12 months ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.5.9

1 year ago

1.5.8

1 year ago

1.5.7

1 year ago

1.5.6

1 year ago

2.1.2

6 months ago

2.1.1

6 months ago

2.1.4

6 months ago

2.1.3

6 months ago

2.1.6

6 months ago

2.0.11

6 months ago

2.1.5

6 months ago

2.0.10

6 months ago

2.1.0

6 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.5

7 months ago

2.0.4

7 months ago

1.7.10

10 months ago

2.0.7

7 months ago

1.7.11

10 months ago

2.0.6

7 months ago

1.7.12

10 months ago

2.0.9

7 months ago

1.7.13

9 months ago

2.0.8

7 months ago

1.7.14

9 months ago

1.7.15

9 months ago

1.7.16

9 months ago

1.7.17

9 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.3.9

1 year ago

1.3.8

1 year ago

1.9.1

8 months ago

1.9.0

8 months ago

1.6.3-alpha.1

12 months ago

1.6.3-alpha.2

12 months ago

1.8.2

9 months ago

1.8.1

9 months ago

1.8.0

9 months ago

1.7.15-alpha.1

9 months ago

1.9.6

7 months ago

1.9.5

7 months ago

1.9.4

8 months ago

1.9.3

8 months ago

1.9.2

8 months ago

1.7.3

10 months ago

1.7.2

11 months ago

1.7.1

11 months ago

1.7.0

11 months ago

1.8.9

9 months ago

1.8.8

9 months ago

1.8.7

9 months ago

1.8.6

9 months ago

1.8.5

9 months ago

1.8.4

9 months ago

1.8.3

9 months ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.21

1 year ago

1.2.19

1 year ago

1.2.20

1 year ago

1.2.12

1 year ago

1.2.13

1 year ago

1.2.16

1 year ago

1.2.17

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

1.2.18

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.9

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.57

1 year ago

0.1.56

1 year ago

0.1.55

1 year ago

0.1.54

1 year ago

0.1.53

1 year ago

0.1.52

1 year ago

0.1.51

1 year ago

0.1.50

1 year ago

0.1.49

1 year ago

0.1.48

1 year ago

0.1.47

1 year ago

0.1.46

1 year ago

0.1.44

1 year ago

0.1.43

1 year ago

0.1.42

1 year ago

0.1.41

1 year ago

0.1.40

1 year ago

0.1.39

1 year ago

0.1.38

1 year ago

0.1.37

1 year ago

0.1.36

1 year ago

0.1.35

1 year ago

0.1.34

1 year ago

0.1.33

1 year ago

0.1.32

1 year ago

0.1.31

1 year ago

0.1.30

1 year ago

0.1.29

1 year ago

0.1.28

1 year ago

0.1.27

1 year ago

0.1.26

1 year ago

0.1.25

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago