0.0.7 • Published 6 days ago

ownui-system v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

ownui-design-system

  • react, tailwindcss

Getting stated

setup tailwind css

  • install tailwind css
# or yarn or pnpm
npm i autoprefixer postcss tailwindcss
npx tailwindcss init -p
  • configure tailwind.config
/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
};
  • add tailwind css to css file
@tailwind base;
@tailwind components;
@tailwind utilities;

install package

npm i ownui-system
#
yarn add ownui-system
#
pnpm add ownui-system
  • include "./node*modules/ownui-system/dist/**/_.{js,jsx,ts,tsx}" to tailwind.config content
/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/ownui-system/dist/**/*.{js,jsx,ts,tsx}"
  ],
  theme: {
    extend: {},
  },
};

UI Components

  • Button
  • Input
  • TextField
  • Spacing
  • Flex
  • Skeleton
  • TextArea
  • Text
  • Dimmed
  • Modal
  • Divider
  • PopOver
  • Tab / TabGroup
  • Badge
  • Checkbox
  • Drawer
  • Dropdown
  • Accordion
  • BottomSheet
  • Pagination
  • Switch
  • Tooltip
  • Radio / RadioGroup
  • Step
0.0.7

6 days ago

0.0.6

8 days ago

0.0.5

1 month ago

0.0.3

1 month ago

0.0.2

1 month ago

0.0.4

1 month ago

0.0.1

1 month ago

0.0.0

1 month ago