Overview
TheImageBackground component displays an image as a background with children rendered on top. Uniwind provides className prop support for styling this component.
Styling Convention
For
style props: Use regular Tailwind classes directly (e.g., className="p-4").For non-style props (like color): Use the accent- prefix (e.g., colorClassName="accent-blue-500").Uniwind Bindings
Maps to the
style prop. Use any Tailwind utility classes.Maps to the
imageStyle prop. Use regular Tailwind classes (no accent- prefix needed).Maps to the
tintColor prop. Requires accent- prefix for color values.