Skip to content

Fancy ReactUIReusable Frontend Design Elements

Beautiful, Customizable, and Production-Ready React Components

Fancy React UI logo

Getting Started

Install Fancy React UI using your preferred package manager:

For detailed installation instructions, visit the Installation Guide

bash
pnpm add fancy-react-ui
bash
npm install fancy-react-ui
bash
yarn add fancy-react-ui

Quick Usage Example

Import and use any component in your React application:

jsx
import { Button, Progress, ClockSpinner } from "fancy-react-ui";

function App() {
  return (
    <div>
      <Button variant="primary" size="medium">
        Click Me
      </Button>

      <Progress
        value={75}
        backgroundColor="#2196F3"
        height={20}
        animated
        striped
      />

      <ClockSpinner size={60} color="#FF4B2B" speed={1.2} />
    </div>
  );
}

Component Categories

UI Components

  • Buttons: Multiple variants with customizable styles
  • Cards: Flexible card layouts with various designs
  • Forms: Form elements with validation support
  • Progress: Animated progress bars with different styles
  • Tables: Responsive table components
  • Modals: Customizable modal dialogs

Loading Spinners

  • Animated Spinners: Clock, Cube, Rotating, and more
  • Text Loaders: Typing, Glitch, and Text effects
  • Progress Indicators: Linear, Circular, and Custom styles
  • Loading Overlays: Full-screen loading states

Customization

All components support extensive customization through props:

jsx
// Button Example
<Button
  variant="primary"    // primary, secondary, outline, text
  size="medium"        // small, medium, large
  disabled={false}     // true/false
  loading={false}      // true/false
  onClick={() => {}}   // click handler
/>

// Progress Example
<Progress
  value={75}                          // 0-100
  backgroundColor="#2196F3"           // any color
  height={20}                         // in pixels
  color="#FFFFFF"                     // text color
  striped={true}                      // true/false
  animated={true}                     // true/false
  showLabel={true}                    // true/false
  showPercentage={true}              // true/false
  label="Loading..."                  // custom label
  borderRadius={15}                   // in pixels
/>

Browser Support

Fancy React UI supports all modern browsers:

BrowserSupport
Chrome60+
Firefox60+
Safari12+
Edge79+
Opera47+

TypeScript Support

All components include TypeScript definitions for better development experience:

typescript
import { ButtonProps, ProgressProps } from "fancy-react-ui";

// Type-safe props
const MyButton: React.FC<ButtonProps> = (props) => {
  return <Button {...props} />;
};

For detailed documentation and examples, check out our Component Guides.

Released under the MIT License.