GithubHelp home page GithubHelp logo

daviseidel / shadcn-rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aviflombaum/shadcn-rails

0.0 0.0 0.0 444 KB

Home Page: https://shadcn.rails-components.com

License: MIT License

Shell 0.03% JavaScript 7.62% Ruby 22.30% CSS 2.59% HTML 67.47%

shadcn-rails's Introduction

shadcn/ui on Rails

Gem Version

Shadcn on Rails provides customizable components that you can copy and paste into your apps. Free. Open Source. Use this to build your own component library.

If you're using this, please let me know so I keep developing it.

About

This is NOT a component library. It's a collection of re-usable components that you can copy and paste into your apps.

What do you mean by not a component library?

I mean you do not install it as a dependency. It is not available or distributed via npm.

Pick the components you need. Copy and paste the code into your project and customize to your needs. The code is yours.

Use this as a reference to build your own component libraries.

hero

Installation

Refer to Installation or the Installation page on the demo site.

Development

Clone the repo and run bin/setup to install dependencies. Then, run bin/dev to start the tailwind watcher and then run rails s. I have to run the server and tailwind separately to keep debuggers working.

These components are based on the components provided by shadcn/ui. Because shadcn-ui is so heavily reliant on Radix and React, these components are most likely not going to be 1:1 copies of the components provided by shadcn-ui. However, the goal is to provide the same components with the same API and the same accessibility features. If you are looking for a React component library, I highly recommend checking out shadcn/ui.

License

Licensed under the MIT license.

shadcn-rails's People

Contributors

aviflombaum avatar sergitejada avatar condef5 avatar gobijan avatar domchristie avatar peterberkenbosch avatar tarellel avatar daviseidel avatar fgo avatar gczh avatar choilive avatar ye-lin-aung avatar a5-stable avatar jdrago999 avatar

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.