Git Product home page Git Product logo

raftyui's Introduction

Rafty UI

React + Accessibility + Tailwind CSS

npm bundle size LICENSE Downloads GitHub Repo stars

Rafty UI is a comprehensive library of accessible, reusable, and composable React components that streamlines the development of modern web applications and websites. The library offers a diverse range of components that can be easily combined to build complex user interfaces while adhering to accessibility best practices.


Features

  • Works out of the box - Rafty UI contains polished React components that work out of the box.

  • Flexible & composable - Rafty UI components are built on top of a Radix UI Primitive and Tailwind CSS for endless composability 🧰.

  • SSR - Rafty UI components support React SSR functionality 😍.

  • Dark Mode - All components are dark mode compatible 🌙.

Looking for the documentation?

Check it out at rafty.rhinobase.io

Quick start

Rafty UI is made up of multiple components and tools that you can import one by one.

Installing Rafty UI

To use Rafty UI in your project, run one of the following commands in your terminal:

npm add @rafty/ui
# or
yarn add @rafty/ui
# or
pnpm add @rafty/ui

Setup

For the styling to work in @rafty/ui, you must make a few changes to your tailwind.config.js file.

First, install the @rafty/plugin package as devDependencies

npm add -D @rafty/plugin
# or
yarn add -D @rafty/plugin
# or
pnpm add -D @rafty/plugin

And in your tailwind.config.js file

module.exports = {
  darkMode: "class",
  content: [
    // ...,
    "./node_modules/@rafty/**/*.js",
  ],
  theme: {
    extend: {
      // (Optional)
      // Extend the default configuration
      colors: {
        primary: colors.purple,
        // ...,
      },
    },
  },
  plugins: [
    // ...,
    require("@rafty/plugin"),
  ],
};

Connect with us

Whether you're a beginner or an advanced Rafty UI user, joining our community is the best way to connect with like-minded people who build great products with the library.

Contributing

Feel like contributing? That's awesome! We have a Contributing Guide to help guide you.

Join the community

Connect with a vibrant community of developers, and designers on Discord at discord.gg/rhinobase. Share your experiences, exchange insights, and shape the evolution of @rafty/ui.

Follow us on Twitter for the latest news @rhinobaseio

raftyui's People

Contributors

luckysharma014 avatar mathuraditya724 avatar gajendra-singh-r avatar r-singodiya avatar dk579 avatar dbundel avatar trace2798 avatar dependabot[bot] avatar

Stargazers

Muhammad Ridho Assuryadi avatar Fellipe Utaka avatar  avatar Andrés Alexander Cornejo Lira avatar Fabian Montoya avatar Santiago Montoya A. avatar 无尘室内点墨 avatar Guilherme Sarria avatar Arya Gustiana avatar David Clinton avatar M Haidar Hanif avatar Rizqy Prastya Ari Nugroho avatar Shishant Biswas avatar Tristan Remy avatar Matheus Couto avatar Joseph Alexandre avatar PRAKASH avatar Suresh Koochana avatar blurk avatar Herbert Kagumba avatar Jeff Wen avatar Takeshi avatar Austin avatar Abdul Malik avatar Louie Jay dela Cruz avatar Henrik Westphal avatar Thomas Marrec avatar mrisho avatar Davide B. avatar Dawid M. avatar David O'Trakoun avatar Arnab Raychaudhuri avatar Alessio Di Stasio avatar Alex Lyalin avatar Christian Boyle avatar  avatar Ly Nam avatar Binler avatar rokki avatar Bruno Gomes avatar Mert izgahi avatar Jan Küster avatar Daryl Ferrer Legion avatar  avatar Daniel Weck avatar Abdul Basit Rana avatar Tran Phuong Nam avatar Sampath avatar  avatar Mahdiar Kaheh avatar Extentus avatar  avatar  avatar Saad Khan avatar Ngô Hữu Nhựt avatar  avatar Kavindu Bimsara Fernando avatar raihan t p avatar Shoaib Akhtar avatar Andreas Lord avatar Nageswar Chedella avatar Khant Zin Thu avatar Glorieux Lukama avatar  avatar Ashfiquzzaman Sajal avatar Abdulellah Alamer avatar Max avatar Damian Cyrus avatar Nazar Jumayew avatar  avatar fakbarr avatar  avatar Bhargav Dadi avatar Andrei Surugiu avatar Sean avatar  avatar dai avatar  avatar Zakher Masri avatar  avatar Karol Działowski avatar Thomas Lekanger avatar  avatar Peter Brinck avatar Kenshiro Naito avatar huuya avatar Tamás Kertész avatar Anthony DeLuise avatar Suguru Namura avatar  avatar Thomas Payne avatar l1xnan avatar Bongsu Kang avatar Gian avatar Ali Osman avatar atsumo avatar  avatar  avatar Alone88 avatar laimj avatar

Watchers

Ly Nam avatar  avatar

raftyui's Issues

feat: @rafty/corp package

These components need to be added in @rafty/corp package

  • Breadcrumbs
  • Steps
  • Combobox
  • Timeline
  • QR Code
  • Color Picker
  • Data Table
  • Upload
  • Time Picker
  • Cascade
  • Mention
  • Transfer
  • Rate
  • Watermark
  • Tour

Add currency input

  • Add currency input field component
  • Add docs for currency input field
  • Create storybook for currency input field

Add capability to close an open Accordion

Right now, the according component can be opened but it cannot close itself without any other accordion item of it's group is opened.

Item 1 opened:
image

Item 1 closing only when item 2 opened
image

IMO - it's better if we can make any accordion can close themself.

Would love to open a PR for this if this is approved

feat: Improve @rafty/corp Combobox component api

  • Change Combobox api from prop based to subcomponent based to make it more customizable and flexible.
  • Add functionality to render custom trigger and custom content by user.
  • Add virtualization using improved scrollarea api

Improve Theme Builder

  • Improve the theme builder to include all the components offered by Rafty
  • Remove the card-based components
  • Add a sidebar menu to customize the settings

Expire Time Month Selection Keyboard Input Issue

I've identified an issue with the Expire Time Month Selection component located at https://rafty.rhinobase.io/themes. When attempting to select a month using the keyboard, the component does not respond as expected. This issue hinders the ability to navigate and select months using keyboard inputs, which can be a significant accessibility concern.

Steps to Reproduce:

Navigate to the Expire Time Month Selection component at https://rafty.rhinobase.io/themes.
Attempt to select a month using the keyboard (e.g., using arrow keys, typing the month, etc.).
Observe that the component does not respond to keyboard inputs.
Screenshot 2024-03-04 at 12 13 27

Merge isBarebone and isUnstyled into a single property

  • It is confusing to have 2 different wording to achieve the same thing. We should make it a single property isUnstyled to mark the component and its sub components for un-styling, in all the components.
  • Also update the docs to reflect these changes

Support for i18n

All components should support i18n standards in

  • @rafty/ui
  • @rafty/corp

package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.