{"id":10219,"date":"2026-06-23T15:12:23","date_gmt":"2026-06-23T20:12:23","guid":{"rendered":"https:\/\/master.dev\/blog\/?p=10219"},"modified":"2026-06-23T15:12:25","modified_gmt":"2026-06-23T20:12:25","slug":"prop-for-that","status":"publish","type":"post","link":"https:\/\/master.dev\/blog\/prop-for-that\/","title":{"rendered":"Prop For That"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Adam knows better than anyone, <a href=\"https:\/\/nerdy.dev\/components-can-know\">CSS knows about the user, device, variables, layout and more<\/a>. But there is a little bit of information that CSS doesn&#8217;t have. Like what&#8217;s the current <code>value<\/code> of a <code>range<\/code> input exactly? What are the exact coordinates of the mouse? It&#8217;s not hard to pass over that information to CSS from JavaScript as Custom Properties, but even better, <a href=\"https:\/\/nerdy.dev\/prop-for-that\">Adam has a new library for that<\/a>. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">With\u00a0<a href=\"https:\/\/prop-for-that.netlify.app\/\">Prop For That<\/a>, you just declaratively specify on any element the props you want, and live props show up.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Adam knows better than anyone, CSS knows about the user, device, variables, layout and more. But there is a little bit of information that CSS doesn&#8217;t have. Like what&#8217;s the current value of a range input exactly? What are the exact coordinates of the mouse? It&#8217;s not hard to pass over that information to CSS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10221,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[29],"tags":[7,180,3],"class_list":["post-10219","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-css","tag-custom-properties","tag-javascript"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/master.dev\/blog\/wp-content\/uploads\/2026\/06\/prop-for-that.jpg?fit=1277%2C955&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/posts\/10219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/comments?post=10219"}],"version-history":[{"count":1,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/posts\/10219\/revisions"}],"predecessor-version":[{"id":10220,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/posts\/10219\/revisions\/10220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/media\/10221"}],"wp:attachment":[{"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/media?parent=10219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/categories?post=10219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/master.dev\/blog\/wp-json\/wp\/v2\/tags?post=10219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}