vaadin / docs

Official documentation for Vaadin and Hilla.
https://vaadin.com/docs
Other
29 stars 195 forks source link

Mention standard HTML elements under components #1465

Open tarekoraby opened 2 years ago

tarekoraby commented 2 years ago

Unlike Vaadin components like the Button and Grid, the list of design system components does not mention the possibility of using the Java API to create standard HTML elements like Div and H1. Currently, those are mentioned in a separate article: https://vaadin.com/docs/latest/flow/components/standard-html, but it would be more appropriate to have them mentioned with the other components instead.

jouni commented 2 years ago

Previously, we have decided that we do not want to include these in custom design system deployments. I’m not sure this is an issue now that we have the dedicated dsp branch for that.

rolfsmeds commented 1 year ago

This documentation should also clearly clarify which classes to use for various types of text elements (so that people would stop using Label for it), and explain how to style them (with css and/or utility classes).