Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are UI primitives

Tags:

web

What are UI primitives?

if you find yourself wishing that you had a different set of UI primitives to work with, you just invent new ones. [https://facebook.github.io/react-native/docs/props.html]

like image 233
0xtimur Avatar asked Oct 28 '25 13:10

0xtimur


1 Answers

The building blocks of your UI. Lets take html as an example: div, span, form etc are UI primitives, a div containing a span and a form is not a primitive. But, if you often need the structure "div containing span and form" you can use react to turn it into a primitive and just use it

like image 106
user2887596 Avatar answered Oct 31 '25 10:10

user2887596



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!