tailwindlabs / tailwindui-issues

Bug fixes and feature request tracking for Tailwind UI.
233 stars 4 forks source link

Catalyst: Wishlist #1586

Closed psztoch closed 3 months ago

psztoch commented 3 months ago
  1. Sidebar - in docs example add badge with number of item (like in email applications)
  2. Lack of 3 states control: checkbox or switch (yes/no/unknown)
  3. Table - example with column sorting icon (asc/desc) selector/indicator.
  4. Heading - add sample: heading with small image (like avatar)
  5. Input - add password example
  6. Lack of tabs and filepicker.
FoksVHox commented 3 months ago

Some of the examples request I'd say are very specific in it use case, and such I wouldn't say it's something that should be added, as the examples are there for showing how you use it, and not how to combine different elements.

  1. Can be solved by combining the documentation for the sidebar and the badges.
  2. Not sure what you mean by this.
  3. The can be achieved by simply adding icons to the table header.
  4. Should be possible by combining an avatar element and the heading element
  5. Can be solved by looking the docs. Link to how to set the type of the input
  6. I'd love to see this added, as well as a combobox.
abielan commented 3 months ago

Additional examples that mix elements are quite good. Beginners sometimes have a lot of doubts about how to mix components.

Moreover, there is often a feeling that certain possibilities are missing. And they are missing on purpose because the author assumed that another connected component should be used for this purpose. Examples then solve such doubts.

psztoch commented 3 months ago

Ad. 2. Example: https://dequeuniversity.com/library/aria/checkbox-tri

adamwathan commented 3 months ago

Hey thanks for the suggestions! We do have a checkbox with indeterminate state already here that is a bit easy to miss:

https://catalyst.tailwindui.com/docs/checkbox#indeterminate-state

But the other stuff are all good ideas 👍 I'm going to close this because we use this space exclusively for bug requests but appreciate putting these ideas on our radar.

abielan commented 3 months ago

More examples work as better test case sheet. Every reader of the documentation is immediately a tester.

abielan commented 3 months ago

But the other stuff are all good ideas 👍 I'm going to close this because we use this space exclusively for bug requests but appreciate putting these ideas on our radar.

Studio SocialMediaProfiles should be with youtube and linkedin icons. It is popular and should be included.