Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

funuicss

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

funuicss

React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b

latest
Source
npmnpm
Version
3.10.5
Version published
Weekly downloads
48
100%
Maintainers
1
Weekly downloads
 
Created
Source

FunUi

FunUi Logo

The React & Next.js UI Library

A modern, modular, and responsive UI framework built for React and Next.js applications

🌐 Documentation📦 Components🚀 Getting Started

✨ Why Choose FunUi?

  • 🧩 Modular Architecture - Import only the components you need, keeping your bundle size optimized
  • 📱 Responsive Design - Built with flexbox for seamless adaptation across all screen sizes
  • ⚡ Easy Integration - Get started in minutes with simple installation and CSS import
  • 🎨 Customizable - Extensive theming options and utility classes for complete design control
  • ⚛️ React Native - Designed specifically for React and Next.js ecosystems

🚀 Quick Start

Installation

Choose your preferred package manager:

npm

npm install funuicss

yarn

yarn add funuicss

pnpm

pnpm add funuicss

Setup

Import the CSS file in your application's entry point (e.g., _app.js, _app.jsx, index.js):

import 'funuicss/css/fun.css'

📚 Usage Examples

Complete Login Form

Here's a comprehensive example showing multiple FunUi components working together:

import React from 'react'
import { Text, Input, Button, Section } from 'funuicss'

export default function LoginForm() {
  return (
    <div className="central height-500-min">
      <div className="width-300-max fit">
        {/* Header Section */}
        <div className="margin-bottom-40">
          <Text
            text="Welcome"
            heading="h2"
            block
          />
          <Text
            text="Sign in to continue!"
            block
          />
        </div>

        {/* Email Field */}
        <Section gap={1.5}>
          <Text 
            text="Email" 
            funcss="margin-bottom-10" 
            block 
            size="small" 
            bold 
            color="primary"
          />
          <Input 
            type="email" 
            fullWidth 
            bordered 
          />
        </Section>

        {/* Password Field */}
        <Section gap={1}>
          <Text 
            text="Password" 
            funcss="margin-bottom-10" 
            block 
            size="small" 
            bold 
            color="primary"
          />
          <Input 
            type="password" 
            fullWidth 
            bordered 
          />
        </Section>

        {/* Forgot Password Link */}
        <div className="section">
          <Link href="/#">
            <Text 
              text="Forgot password!" 
              size="small" 
              underline 
              color="primary"
            />
          </Link>
        </div>

        {/* Submit Button */}
        <div className="section">
          <Button
            text="Let's go"
            raised
            fullWidth
            bg="primary800"
          />
        </div>
      </div>
    </div>
  )
}

Button Components

Create beautiful buttons with various styles:

import React from 'react'
import { Button } from 'funuicss'

export default function ButtonExamples() {
  return (
    <div>
      {/* Outlined Button */}
      <Button 
        bg="primary" 
        outlined 
        text="Outlined Button" 
      />
      
      {/* Raised Button */}
      <Button 
        bg="secondary" 
        raised 
        text="Raised Button" 
      />
      
      {/* Full Width Button */}
      <Button 
        bg="success" 
        fullWidth 
        text="Full Width Button" 
      />
    </div>
  )
}

Input Components

Flexible input components for forms:

import React from 'react'
import { Input } from 'funuicss'

export default function InputExamples() {
  return (
    <div>
      {/* Basic Input */}
      <Input 
        type="text" 
        label="Basic Input" 
        funcss="full-width"
      />
      
      {/* Bordered Input */}
      <Input 
        type="text" 
        bordered 
        label="Bordered Input" 
        funcss="full-width section"
      />
      
      {/* Email Input */}
      <Input 
        type="email" 
        bordered 
        label="Email Address" 
        funcss="full-width section"
        placeholder="Enter your email"
      />
    </div>
  )
}

📖 Documentation

Explore comprehensive guides and examples:

🌟 Features

Core Components

  • Button - Various styles including outlined, raised, and full-width
  • Input - Form inputs with labels, borders, and validation states
  • Text - Typography component with heading support
  • Section - Layout component for spacing and organization

Utility Classes

  • Responsive layout utilities
  • Spacing and margin controls
  • Color and theme variants
  • Flexbox positioning helpers

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started.

📄 License

This project is licensed under the MIT License.

Made with ❤️ by the FunUi Team

Keywords

funui

FAQs

Package last updated on 25 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts