0.1.18 • Published 9 months ago

@ltopx/lx-ui v0.1.18

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Introduction

LX-UI is a set of React component library developed based on Radix UI and Tailwind CSS.

The purpose of creating this project is to solve the issue of UI consistency for my personal development project, L-GPT. The initial version may be relatively simple 🤣🤣, but it will gradually iterate and improve in the future.

Features

  • 💎 Based on Radix UI, it enriches and extends some components
  • 🔥 Utilizes Tailwind CSS for easy customization of styles in the future
  • 🎉 Supports Typescript
  • 📱 Responsive design support

Setup

Environment

  • It is recommended to use pnpm for installation (although npm or yarn can also be used)

    npm i -g pnpm
  • Installing Tailwind CSS

    Since LX-UI is based on Tailwind CSS, you need to install and configure Tailwind CSS in your project in order to use it properly. Tailwind CSS installation guide

Install

pnpm add @ltopx/lx-ui

Configuring

Since LX-UI is developed based on Tailwind CSS, you need to modify the tailwind.config.js file in your project and add the relevant configurations for LX-UI.

  • Add presets configuration.
  • Configure content path to resolve LX-UI components.
/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require("@ltopx/lx-ui/dist/presets")],
  content: ["./node_modules/@ltopx/lx-ui/dist/**/*.{mjs,js,ts,jsx,tsx,mdx}"],
  theme: {
    extend: {},
  },
  plugins: [],
};

Usage

import { Select } from "@ltopx/lx-ui";

export default function Home() {
  return <Select placeholder="请选择" options={[1, 2, 3]} />;
}

License

MIT License © 2023 Powered by LTopx

0.1.18

9 months ago

0.1.17

9 months ago

0.1.16

9 months ago

0.1.15

9 months ago

0.1.14

9 months ago

0.1.13

9 months ago

0.1.12

9 months ago

0.1.11

9 months ago

0.1.10

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.84

10 months ago

0.0.83

10 months ago

0.0.82

10 months ago

0.0.81

10 months ago

0.0.80

10 months ago

0.0.79

10 months ago

0.0.78

10 months ago

0.0.77

10 months ago

0.0.76

10 months ago

0.0.75

10 months ago

0.0.74

10 months ago

0.0.73

10 months ago

0.0.72

10 months ago

0.0.71

10 months ago

0.0.70

10 months ago

0.0.69

10 months ago

0.0.68

10 months ago

0.0.67

10 months ago

0.0.66

10 months ago

0.0.65

10 months ago

0.0.64

10 months ago

0.0.63

10 months ago

0.0.62

10 months ago

0.0.60

10 months ago

0.0.59

10 months ago

0.0.58

10 months ago

0.0.57

10 months ago

0.0.56

10 months ago

0.0.55

10 months ago

0.0.54

10 months ago

0.0.53

10 months ago

0.0.52

10 months ago

0.0.51

10 months ago

0.0.50

10 months ago

0.0.49

10 months ago

0.0.48

10 months ago

0.0.47

10 months ago

0.0.45

10 months ago

0.0.44

10 months ago

0.0.43

10 months ago

0.0.42

10 months ago

0.0.41

10 months ago

0.0.40

10 months ago

0.0.39

10 months ago

0.0.38

10 months ago

0.0.37

10 months ago

0.0.36

10 months ago

0.0.35

10 months ago

0.0.34

10 months ago

0.0.33

10 months ago

0.0.32

10 months ago

0.0.31

10 months ago

0.0.30

10 months ago

0.0.29

10 months ago

0.0.28

10 months ago

0.0.27

10 months ago

0.0.26

10 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.23

10 months ago

0.0.22

10 months ago

0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago