View Style Props
This roadmap outlines the necessary View style props to implement for SolidNative, along with their descriptions and type signatures.
Visibility Props
- [ ] backfaceVisibility: Controls whether the back face of the view is visible when rotated.
- Type:
'visible' | 'hidden' | undefined
- Type:
- [ ] opacity: Sets the opacity of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
Color Props
- [ ] backgroundColor: Sets the background color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderBlockColor: Sets the block border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderBlockEndColor: Sets the block end border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderBlockStartColor: Sets the block start border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderBottomColor: Sets the bottom border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderColor: Sets the border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderEndColor: Sets the end border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderLeftColor: Sets the left border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderRightColor: Sets the right border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderStartColor: Sets the start border color of the view.
- Type:
ColorValue | undefined
- Type:
- [ ] borderTopColor: Sets the top border color of the view.
- Type:
ColorValue | undefined
- Type:
Border Radius Props
- [ ] borderBottomEndRadius: Sets the bottom end border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderBottomLeftRadius: Sets the bottom left border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderBottomRightRadius: Sets the bottom right border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderBottomStartRadius: Sets the bottom start border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderCurve: Sets the corner curve of the borders (iOS 13+).
- Type:
'circular' | 'continuous' | undefined
- Type:
- [ ] borderEndEndRadius: Sets the end end border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderEndStartRadius: Sets the end start border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderRadius: Sets the border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderStartEndRadius: Sets the start end border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderStartStartRadius: Sets the start start border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderTopEndRadius: Sets the top end border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderTopLeftRadius: Sets the top left border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderTopRightRadius: Sets the top right border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
- [ ] borderTopStartRadius: Sets the top start border radius of the view.
- Type:
AnimatableNumericValue | undefined
- Type:
Border Style Props
- [ ] borderStyle: Sets the style of the border (solid, dotted, dashed).
- Type:
'solid' | 'dotted' | 'dashed' | undefined
- Type:
Elevation and Z-Index Props
- [ ] elevation: Sets the elevation of the view (Android only).
- Type:
number | undefined
- Type:
Interaction Props
- [ ] pointerEvents: Controls whether the view can be the target of touch events.
- Type:
'box-none' | 'none' | 'box-only' | 'auto' | undefined
- Type:
- [ ] cursor: Sets the cursor type when hovering over the view.
- Type:
CursorValue | undefined
- Type: