Componentes
Contentores de layout, texto, controlos, listas, navegação e media: cada componente com a tabela completa de props, gerada a partir da fonte TypeScript.
Dispor vistas 7
Arrange children vertically. Use it for forms, cards and screen sections.
HStackcomponentArrange children horizontally. Use it for toolbars, settings rows and compact summaries.
BoxcomponentCreate a general-purpose container. Use it for backgrounds, overlays, progress tracks and positioned content.
SpacercomponentConsume free space in a stack. Use it to separate a title from trailing actions.
DividercomponentSeparate adjacent sections with a thin native view. Use it between settings rows or list items.
SafeAreacomponentLay out content inside the usable screen area. Use it for screens that draw behind a notch, status bar or home indicator.
FragmentcomponentGroup siblings without creating another native view. Use it when a component returns several adjacent elements.
Texto, imagens e ícones 4
Display text with native font rendering. Use it for labels, paragraphs and reactive values.
ImagecomponentDisplay a bundled, remote or local-file image. Use it for avatars, covers and photos returned by the picker or camera.
SymbolcomponentShow a platform symbol without bundling a raster icon. Use it for common actions and status indicators.
BlurcomponentPlace content over a native blurred backdrop. Use it for a floating toolbar or a caption over artwork.
Desenho vetorial 9
Render vector shapes in one drawing surface. Use it for diagrams, custom icons and small charts.
PathcomponentDraw a custom outline from SVG-style path commands. Use it for icons and irregular shapes.
RectanglecomponentDraw a rectangle or rounded rectangle. Use it for chart bars and diagram blocks.
CirclecomponentDraw a circle. Use it for dots, badges and circular chart markers.
EllipsecomponentDraw an ellipse. Use it for oval markers and illustrations.
LinecomponentDraw a straight line. Use it for chart axes, connectors and ticks.
PolylinecomponentConnect a series of points without closing the shape. Use it for line charts and open outlines.
PolygoncomponentConnect points and close the outline. Use it for arrows, badges and filled regions.
GroupcomponentApply shared paint or transforms to several drawing shapes. Use it to move or style a diagram section together.
Câmara, áudio e vídeo 3
Play video in a native surface. Use it for trailers, lessons and media feeds.
CameracomponentEmbed a live camera preview and capture photos or video. Use it for a scanner or a custom capture screen.
WebViewcomponentEmbed a web page in a native view. Use it for hosted help, web content or a service that only offers a web interface.
Formulários e ações 8
Run an action with the platform button. Use it for submit, retry and confirmation actions.
PressablecomponentMake custom content respond to presses. Use it for cards, icon buttons and actions with a custom appearance.
TextFieldcomponentCollect editable text. Use it for search, account details and forms.
TogglecomponentChoose an on/off setting. Use it for preferences that take effect immediately.
SlidercomponentSelect a number along a range. Use it for volume, brightness and continuous adjustments.
DatePickercomponentChoose a date, time or both with a native picker. Use it for deadlines, appointments and reminders.
SelectcomponentChoose one item from a native menu. Use it for longer option lists that should not occupy the whole screen.
SegmentedControlcomponentChoose one of a few visible options. Use it for a time range, filter or display mode.
Deslocamento, listas e páginas 4
Scroll a page whose children can all stay mounted. Use it for an article, form or a small set of sections.
ListcomponentRender a large collection with native scrolling and recycled cells. Use it for feeds, catalogs, grids and chat histories.
PagercomponentSwipe between pages with a native pager. Use it for onboarding, image galleries and full-screen sections.
PagecomponentDefine one page inside Pager. Use it to keep each onboarding step or gallery item sized to the viewport.
Painéis e menus 2
Condições, carregamento e erros 7
Mount content while a condition is truthy. Use it for expanded details, signed-in content and optional panels.
SwitchcomponentRender the first matching state. Use it for mutually exclusive loading, empty and ready views.
MatchcomponentDescribe one branch of a Switch. Use it to associate a condition with a specific view.
ForcomponentRender a short collection while preserving item identity. Use it for tags, checklist rows and small menus.
CatchcomponentReplace failing child content with a recovery UI. Use it around independently recoverable sections.
LoadingcomponentWait for initial resources in a subtree before revealing it. Use it when several related pieces of a screen should appear together.
SpinnercomponentShow that work is in progress when its duration is unknown. Use it next to a loading label or as a Loading fallback.
Barras do sistema e ecrã inicial 3
Set system bar appearance while a view is active. Use it for a dark gallery or a screen that draws behind system UI.
SplashScreencomponentMatch the native launch screen with an animated view. Use it to transition the launch artwork into your first screen.
SplashPartcomponentRender an individual part of the configured splash artwork. Use it for custom launch transitions with separate logo and brand motion.