UI-LAYOUTs

repository·main·Indexed 26 days ago

https://github.com/ui-layouts/uilayouts

An open-source component library providing creative, high-quality designs and experimental 'Labs' features for developers and designers. It includes a CLI for scaffolding components in TypeScript or JavaScript, and a collection of specialized components such as Accordion, SmartDatetimeInput, FileUploader, and image-based tab navigation. Requires tailwindcss, motion, clsx, and tailwind-merge.

Tokens
56.2K
Snippets
141
Records
278
Agent score
86%

What's inside ui-layouts

  1. Explore Creative Button Components

    main

    The ui-layouts library provides a collection of creative button components designed with built-in styling, animations, and responsive layouts. These components support various hover effects, sizes, colors, and interactive states suitable for modern web applications.

    Available button styles and effects include:

    • Background Effects: button-background-shine, button-background-spotlight, and button-rotating-gradient.
    • Hover Interactions: A wide range of hover styles from button-hover-active through button-hover-14.
    • Custom Creative Designs: creative-button-1 and creative-button-2.

    These components are built to be flexible for custom designs and responsive layouts using Tailwind CSS patterns.

  2. Use the Image Reveal component

    main

    The Image Reveal component provides an interactive effect where images appear and follow the user's cursor when hovering over a container element. It is designed for modern web experiences requiring smooth cursor tracking and dynamic image positioning.

    There are two primary variations available:

    1. Portfolio version: Optimized for portfolio-style layouts.
    2. Basic version: A standard implementation of the reveal effect.
  3. Install the Animated Dialog component

    main

    You can install the Animated Dialog component using the uilayouts CLI or by manually adding it via shadcn.

    Using uilayouts CLI:

    npx uilayouts@latest add dialog

    Using shadcn CLI:

    npx shadcn@latest add 'https://www.ui-layouts.com/r/dialog.json'

    Manual Installation: If installing manually, ensure you have motion installed as a dependency:

    npm install motion
    npx uilayouts@latest add dialog
  4. Install Background Blocks component

    main

    You can install the Background Blocks component using either the uilayouts CLI or the shadcn CLI. For manual installation, ensure you have motion installed as a dependency.

    Using uilayouts CLI

    npx uilayouts@latest add blocks

    Using shadcn CLI

    npx shadcn@latest add 'https://www.ui-layouts.com/r/blocks.json'

    Manual Installation

    First, install the required animation dependency:

    npm install motion
    npx uilayouts@latest add blocks
  5. Install the Directional Drawer component

    main

    You can install the directional-drawer component using the uilayouts CLI or shadcn CLI, or by installing the dependency manually.

    Using uilayouts CLI

    npx uilayouts@latest add directional-drawer

    Using shadcn CLI

    npx shadcn@latest add 'https://www.ui-layouts.com/r/directional-drawer.json'

    Manual Installation

    If installing manually, ensure you install the vaul dependency:

    npm install vaul
  6. Install the Motion Drawer component

    main

    You can install the motion-drawer component using the uilayouts CLI or by adding it via shadcn. Alternatively, you can perform a manual installation if you prefer to manage files yourself.

    Using uilayouts CLI:

    npx uilayouts@latest add motion-drawer

    Using shadcn:

    npx shadcn@latest add 'https://www.ui-layouts.com/r/motion-drawer.json'

    Manual Installation: Ensure you have motion installed as a dependency:

    npm install motion
    npx uilayouts@latest add motion-drawer