GithubHelp home page GithubHelp logo

linecode / hyperui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from markmead/hyperui

0.0 0.0 0.0 26.59 MB

Free open source Tailwind CSS components ๐Ÿณ

Home Page: https://hyperui.dev

License: MIT License

TypeScript 6.18% JavaScript 0.15% CSS 0.52% HTML 93.15%

hyperui's Introduction

image

HyperUI

HyperUI is a free, open source Tailwind CSS component library.

How Does it Work?

Search through the website for components, view the preview, the source code and copy the HTML to your clipboard.

Contributing

Setup

git clone [email protected]:markmead/hyperui.git
yarn
yarn dev

If needed, you can run yarn watch in a new window. This will rebuild the CSS on every change.

Adding Components

All components and collections are stored in /public/components/[collection]/[id].

Adding to Existing Collection

Let's say you've created a new footer component.

Create a new file in /public/components/footers/ called 4.html.

Then add the new component to the footer collection.

Head to /data/components/footers.mdx, here you will see the markdown for /components/footers as well as the frontmatter.

---
title: Footers
emoji: โšฝ๏ธ
seo:
  title: Footer Components
  description: Footer components created with Tailwind CSS
components:
  1:
    title: Large with Newsletter Form
  2:
    title: Simple Stacked
  3:
    title: Simple Row
---

Content...

You can add your new component like this:

---
components:
  1:
    title: Large with Newsletter Form
  2:
    title: Simple Stacked
  3:
    title: Simple Row
  4:
    title: [Description]
    spacing [Adjustments] // Optional
---

Adding a New Collection

If you want to add a new collection then follow the steps above but add the new collection folder to /public/components first.

Let's say you've created a new checkout component, first you'd need a checkout collection.

Create /public/components/checkouts/1.html.

You'll then want to create a /data/components/checkouts.mdx file. (Just duplicate an existing file and rename it)

Update the content to represent the new collection and add your new components.

And that's it, nice and simple!

More Hyper

Hypercolor

Website GitHub

A curated collection of beautiful Tailwind CSS gradients using the full range of Tailwind CSS colors. Easily copy and paste the class names, CSS or even save the gradients as an image.

HyperJS

Website GitHub

Alpine JS allows you to write DOM manipulation all in your HTML, Liquid, Blade etc. Here's a collection of snippets that you can copy and paste into your project.

hyperui's People

Contributors

blaconix avatar dependabot[bot] avatar edwardbetts avatar john-rock avatar kalyndavis avatar markmead avatar nivedin avatar tianenpang 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.