Primitive
Box
View that takes spacing, colour, radius and elevation tokens as props.
What it does
- Padding and margin props
- Theme colour background
- Radius and 6 elevation levels
Import
import { Box } from '@polprog/native-ui';
The same module is available as a direct import:
import { Box } from '@polprog/native-ui/primitives/Box';