css_class for Tailwind and style for arbitrary inline CSS.
Div
A block container with no default styling. Style it throughcss_class or style:
For CSS that Tailwind can’t express — vendor prefixes, clamp(), mask-image, etc. — use the style prop:
Span
An inline text element with no default styling. Useful for inline annotations or colored text:API Reference
Protocol Reference
Div
Span