- Maybe you shouldn't use this library, just use tailwindcss and HTML is enough.
- You don't need to use this library if you have lots of time to code and want to build the unique UI.
- out of box utils of UIUX.
- beautiful default styling.
- without big external dependencies, like: @tanstack/table, Downshift and Tippy.js etc.
🏠 Homepage
yarn add @thaddeusjiang/omakase-ui
- @thaddeusjiang/omakase-ui 👋
- Components
- Run tests
- Develop
- Author
- 🤝 Contributing
- Show your support
- 📝 License
Don't need JS, learn https://daisyui.com/components/button/
Recommend heroicons v1 and sodaicons
sodaicons supports Highlight colorful icons, just like:
We recommend make all icons as button, apply :hover, :focus and other styles.
- left and right align
- divider-solid divider-dotted divider-dashed divider-double
- provide utils for pagination
<Pagination start={1} end={10} total={10015} currentPage={1} totalPage={101} onChangePage={onChangePage} />
🙅♂️ Don't use this UI.
Don't need JS, learn https://daisyui.com/components/checkbox/
Don't need JS, learn HTML input type="date"
<input type="date" id="start" name="trip-start" value="2018-07-22" min="2018-01-01" max="2018-12-31" />
HTML input type="datetime-local"
<input
type="datetime-local"
id="meeting-time"
name="meeting-time"
value="2018-06-12T19:30"
min="2018-06-07T00:00"
max="2018-06-14T00:00"
/>
others
input type="month"
Don't need JS, learn HTML native input and input class.
Don't need JS, learn https://daisyui.com/components/radio/
Simple select don't need JS, learn https://daisyui.com/components/select/.
Complex select and combobox recommend to use react-select
Don't need JS, learn daisyUI Toggle and daisyUI Swap. daisyUI is super cool, you should try it.
Don't need JS, learn
HTML input type="datetime-local"
```html ```<input type="time" id="appt" name="appt" min="09:00" max="18:00" required />
🙅♂️ Never use this UI
Don't need JS, we recommend HTML tooltip
<div title="CoolTip">
<p>Hovering here will show "CoolTip".</p>
<p title="">Hovering here will show nothing.</p>
</div>
- no JS (Must)
- no CSS (Optional, don't over styling.) confirm you didn't make a bug tweet
https://daisyui.com/components/alert/
Recommend react-hot-toast
Recommend Radix Alert Dialog and Radix Dialog
Why: We love self control dialog component, we don't want to write a lot of State for
isOpen
andsetIsOpen
Why we don't use daisyUI Modal? We need accessibility.
KnowHow
Radix Alert Dialog
for confirmRadix Dialog
for asynchronous form submission
BTW, we recommend to not mock up Phone and Window. Welcome to try @omakase-ui/react-responsive-design-mode
yarn run test
yarn storybook
👤 Thaddeus Jiang
- Website: https://thaddeusjiang.com/
- Twitter: @ThaddeusJiang
- Github: @ThaddeusJiang
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2022 Thaddeus Jiang.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator