API Overview
API divided into two main parts:
- UI Primitives: Components/modules that represent compatibility layer with react-native.
- Figma components: Components that match some of Figma node types or API methods.
Also, there is render
function - entry point for React App.
UI Primitives
Components that compatible with react-native API.
- View โ The most fundamental component for building a UI.
- Text - A React component for displaying text.
- Image - A React component for displaying different types of images.
- StyleSheet โ A StyleSheet is an abstraction similar to CSS StyleSheets.
- Platform โ A module that detects the platform in which the app is running.
Figma components
- Page โ A React component for displaying Figma page.
- Frame โ A React component for displaying Figma frame.
- Component โ A React component that wrap nodes to Figma component.
- Svg โ A React component that transform SVG source to Figma nodes.
- Ellipse โ A React component for displaying Figma ellipse.
- Group โ A React component for grouping Figma nodes.
- Line โ A React component for displaying Figma line.
- Rectangle โ A React component for displaying Figma rectangle.
- Star โ A React component for displaying Figma star.
- Vector โ A React component for displaying Figma vector.