Giter Site home page Giter Site logo

sailboatui / sailboatui Goto Github PK

View Code? Open in Web Editor NEW
1.2K 7.0 35.0 685 KB

Sailboat UI is a modern UI component library for Tailwind CSS

Home Page: https://sailboatui.com

License: MIT License

JavaScript 1.02% CSS 0.40% HTML 98.58%
tailwind-css tailwindcss ui-components css html ui responsive

sailboatui's Introduction

Sailboat UI Sailboat UI

Sailboat UI is a modern UI component library for Tailwind CSS. Get started with 150+ open-source Tailwind CSS components, and make it easy to build your products.

Documentation

For the full documentation, visit sailboatui.com.

Meet our sponsors

MagickPen OpenL magickimg
magickpen openl magickimg
AI Writing Assistant, powered by ChatGPT Amazing Translator, powered by AI Boost Your images Powered by AI

Components

Avatar Badge
Tailwind CSS Avatar Tailwind CSS Badge
Button Card
Tailwind CSS Avatar Tailwind CSS Badge
Dropdown Input
Tailwind CSS Avatar Tailwind CSS Badge
Notification Pagination
Tailwind CSS Avatar Tailwind CSS Badge
View All

Installation

npm install -D tailwindcss

Sailboat UI is a modern UI component library for Tailwind CSS, you just need to install Tailwind CSS and configure it. Learn how to install Tailwind CSS.

Configuration

You need to add this to your tailwind.config.js file.

// tailwind.config.js
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
  content: ["./src/**/*.{html,js}"],
  theme: {
    extend: {
      // Set font family
      fontFamily: {
        sans: ["Inter", ...defaultTheme.fontFamily.sans],
      },
      // Set theme colors (Required config!)
      colors: {
        primary: colors.blue,
        secondary: colors.slate,
      },
    },
  },
  // Add plugins
  plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};

More configuration options are available in the Sailboat UI Quick Start.

Development

Sailboat UI is an open-source project that you can contribute to on GitHub. If you appreciate the project, please consider giving it a star to show your support. Thank you.

  1. You need Hugo to run the development server. If you have Homebrew you can do the following:
brew install hugo
  1. Clone the repository and install the dependencies. Run the development server.
npm run dev
  1. Open http://localhost:1313/ in your browser.
  • npm run dev: Run the dev server.
  • npm run build: Build the static site.

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.