Skip to content

RittikSoni/kr_ui

kr_ui

Premium glassmorphic UI, Elegant Simple & Clean UI components for Flutter

Beautiful, customizable iOS-style glass effects, Elegant Simple & Clean UI. Pure Flutter. Zero dependencies.

pub package pub points License: MIT πŸ“– - docs

CI GitHub issues GitHub PRs codecov

Github-sponsors YouTube Discord GitHub stars

Get Started β€’ Live Demo β€’ Quick Start β€’ Community

kr_ui Components

✨ Features

  • 🎨 Beautiful Glassmorphism - iOS-style frosted glass effects
  • 🎨 Elegant Simple & Clean UI : quick and easy to use.
  • πŸ”§ Fully Customizable - Control blur, opacity, colors, borders
  • ⚑ Zero Dependencies - Pure Flutter implementation
  • πŸ“± Production Ready - Battle-tested components
  • 🎯 Easy to Use - Clean API with sensible defaults
  • πŸ“š Well Documented - Comprehensive examples and guides

πŸ“¦ Installation

Add kr_ui to your pubspec.yaml:

dependencies:
  kr_ui: <latest_version>

Then run:

flutter pub get

πŸš€ Quick Start

import 'package:flutter/material.dart';
import 'package:kr_ui/kr_ui.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Stack(
            children: [
              // Background image
              Image.network(
                'https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe',
                fit: BoxFit.cover,
                width: double.infinity,
                height: double.infinity,
              ),
              
              // Glassy card on top
              Center(
                child: KruiGlassyCard(
                  child: Column(
                    mainAxisSize: MainAxisSize.min,
                    children: [
                      Icon(Icons.auto_awesome, size: 48),
                      SizedBox(height: 16),
                      Text(
                        'Glassmorphism',
                        style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
                      ),
                      SizedBox(height: 8),
                      Text('Beautiful frosted glass effects'),
                    ],
                  ),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

🧩 Components & Roadmap

βœ… Accordion

βœ… Carousel (with built-in indicators, animations, and more)

βœ… GlassyCard

βœ… ContentCard

βœ… GlassyButton

βœ… SimpleButton

βœ… GlassyIconButton

βœ… SimpleIconButton

βœ… Toast

βœ… Snackbar

βœ… Form

βœ… TextField (with built-in validators, error messages, and more)

βœ… Select

βœ… MultiSelect

βœ… RadioGroup

βœ… Checkbox

βœ… Switch

βœ… DatePicker

βœ… Calendar

βœ… TimePicker

βœ… showKruiGlassyDialog

βœ… showKruiSimpleDialog

βœ… showKruiGlassySheet

βœ… showKruiSimpleSheet

βœ… FloatingDock

βœ… RippleReveal

βœ… SkeletonShimmer

βœ… Confetti

βœ… GlowButton

βœ… AnimatedGradientBackground

βœ… ParticleBurst

βœ… OTPInput

βœ… ChipGroup

βœ… AnimatedGradientBorder

check out kr_ui_docs for more examples

more Coming soon! Stay tuned! & Don't forget to 🌟 Star this repo if you like it!


🎬 Live Demo

Try out all components in our interactive showcase app:

Launch Showcase App

Or run locally:

git clone https://github.com/RittikSoni/kr_ui.git
cd kr_ui
melos bootstrap
cd apps/kr_ui_docs
flutter run -d chrome

πŸ“± Platform Support

Platform Supported
iOS βœ…
Android βœ…
Web βœ…
macOS βœ…
Windows βœ…
Linux βœ…

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Ways to contribute:

  • πŸ› Report bugs
  • ✨ Suggest new components
  • 🎨 Submit new designs
  • πŸ“š Improve documentation
  • πŸ’¬ Help others in discussions

πŸ‘₯ Community

Join the kr_ui community:


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments

Created with ❀️ by King Rittik

Inspired by:

  • iOS glassmorphism design
  • Flutter's Material Design 3
  • The amazing Flutter community

⭐ Show Your Support

If you like kr_ui, please give it a star on GitHub and like it on pub.dev! It helps others discover this package.

GitHub stars


Built with Flutter πŸ’™

Made by King Rittik for the Flutter community

About

Beautiful, customizable iOS-style glass effects, Elegant Simple & Clean UI. Pure Flutter. Zero dependencies. https://pub.dev/packages/kr_ui

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors