1.4.9 β€’ Published 23 days ago

smart-layout v1.4.9

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

React Smart-Layout

React Smart-Layout is a cutting-edge React library designed to effortlessly generate adaptive layouts that fit perfectly into any container. Empower your users by allowing them to swiftly reorganize elements and resize them to their needs.

🌟 Features:

  • State Preservation: Maintains the state of components even after repositioning, ensuring a consistent user experience.
  • Persistent Layout: The layout remains intact even after page reload, offering users a reliable design continuity.
  • Adaptive: Automatically adjusts content to fit any container size.
  • Animated: Amazing animations for any element on the layout.
  • Movable: Easy-to-use interface that lets users reposition elements in real-time.
  • Resizable Components: Dynamically adjust the size of your components with intuitive resizing handles.
  • Highly Performant: Optimized for peak performance to ensure smooth user interactions, even with a large number of components (don't be afraid to test it with grids and entire pages).
  • Seamless Integration: Designed from the ground up to be easily integrated into any React project, no matter the size or complexity.

Give your users the ultimate layout experience and elevate your UI with React Smart-Layout! 🌐

Basic Example:

It's really easy to use, you just need to import the ComponentLayout and add your children

import { ComponentLayout } from "smart-layout";

<ComponentLayout id="starting-layout">
  <div style={{ width: "100%", height: "100%", background: "gray" }} />
  <div style={{ width: "100%", height: "100%", background: "blue" }} />
  <div style={{ width: "100%", height: "100%", background: "orange" }} />
  <div style={{ width: "100%", height: "100%", background: "orange" }} />
  <div style={{ width: "100%", height: "100%", background: "orange" }} />
</ComponentLayout>;

Result:

Alt Text

πŸ” Ready to Elevate Your Layout Game? Explore Our Documentation!

Embark on a journey through the comprehensive documentation of Smart-layout and unlock the full potential of your web designs. Our guides are meticulously crafted to provide you with deep insights, practical knowledge, and a plethora of examples to enhance your mastery over dynamic layouts.

πŸ“š From foundational concepts to advanced techniques, our documentation is your trusted companion. Whether you’re a curious beginner or a seasoned pro, there’s something in here for everyone.

✨ Embrace the elegance of state preservation, savor the smoothness of animated transitions, and stay ahead with our adaptive layout structures. And that's just the beginning!

πŸ’‘ Discover tips, tricks, and best practices that will not only answer your questions but also inspire your creativity.

So, what are you waiting for? Dive into the Smart-layout documentation now and transform the way you create web experiences!

Start Exploring the Documentation

πŸš€ Experience Smart-layout in Real-time! πŸš€

Dive into the interactive world of Smart-layout without any setup hassles! We've set up a live demo for you on StackBlitz. It's the perfect platform to experiment, tweak, and see our library in action.

Whether you're curious about its capabilities or just want to play around, StackBlitz offers an immediate, hands-on experience.

⚑ Try Smart-layout on StackBlitz Now!

πŸ‘¨β€πŸ’» Support a Passionate Young Developer! πŸ‘¨β€πŸ’»

Hello! I'm a 20-year-old software developer hailing from the vibrant landscapes of Argentina. My passion lies in bringing innovative ideas to life through my side projects. However, as much as I love what I do, it's a challenge to sustain and grow without some support.

Your donation won't just be a contribution; it will be a lifeline that enables me to continue dedicating time, energy, and creativity to these projects that I deeply care about. With your generous help, I can keep my dream alive, nurture my projects, and maybe one day, touch lives across the globe with my creations.

πŸ’‘ Your support means more than you can imagine. Every bit counts, and your gesture will play a pivotal role in fueling my journey forward. Let's build the future of software together!

🌟 Show Some Love on GitHub! If you've found value in my work or just want to support me, please consider giving a star to my repository. It not only boosts my motivation but also helps others discover my projects. ⭐ Star on GitHub!

πŸ“… Coming soon:

  • Have custom styles
  • Default layout
  • Scroll on mobile
  • Add callbacks to all buttons
  • Find a way to return callbacks to manage the layout: e.g., startLayout()
  • Dismount only the element that was hidden and preserve the layout order
  • Minimize
  • Resize
  • Group layouts and move groups
  • Alt tab to navigate between containers and open the selected one in full-screen.
  • Optimization for rendering performance
1.4.9

23 days ago

1.4.6

5 months ago

1.3.7

5 months ago

1.4.5

5 months ago

1.3.6

5 months ago

1.4.4

5 months ago

1.3.5

5 months ago

1.4.3

5 months ago

1.3.4

5 months ago

1.4.2

5 months ago

1.3.3

5 months ago

1.3.2

5 months ago

1.3.1

5 months ago

1.4.7

5 months ago

1.3.8

5 months ago

1.1.1

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.1.3

6 months ago

1.0.4

6 months ago

1.1.2

6 months ago

1.0.3

6 months ago

0.0.10

6 months ago

0.0.1

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

1.0.11

6 months ago

0.0.9

6 months ago

1.0.10

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.7

6 months ago

1.0.12

6 months ago

0.0.6

6 months ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago