Docs / Components
Components
Every view you can add from the Library, by section.
Components are the views your app is made of: text, buttons, images, lists, maps and more. Add them from the Library's Components tab, then change them in the Inspector.
PadCode Free includes 19 of them, the essentials; every other component needs PadCode Pro. See Plans and billing .
# Text
Component What it is Plan Text Words on screen: a heading, a sentence or a number. Free Label An icon next to a short piece of text, like the rows in a menu. Free Text Field A one-line box people type into. Free Password Field A text box that hides what people type, for passwords and PINs. Pro Text Area A big box for typing several lines, like a note. Pro
# Controls
Component What it is Plan Button Something to tap that runs your actions. Free Switch An on/off switch. Free Slider Drag a knob to pick a number between a minimum and a maximum. Pro Stepper Minus and plus buttons that change a number one step at a time. Pro Picker Choose one option from a list, shown as a menu, segments or a wheel. Pro Date Picker Pick a date, a time, or both. Pro Multi-Date Picker A calendar where people select several dates. Pro Color Picker Lets people choose any color. Pro Menu A button that opens a list of choices. Pro Web Link Opens a website when tapped. Pro Share Button Opens the share sheet to send text, a link or a photo. Pro Paste Button Pastes what's on the clipboard, without the privacy prompt. Pro Edit Button Turns a list's editing on and off, to delete or reorder rows. Pro
# Status
Component What it is Plan Progress Bar A bar that fills up as something finishes. Its value goes from 0 to 1. Pro Loader A spinning wheel for while something loads. Give it “Show when” so it only appears while loading. Pro Gauge Shows where a value sits in a range, like a fuel gauge. Pro Empty State A friendly message for when there's nothing to show yet. Pro
# Layout
Component What it is Plan Column Stacks items top to bottom. Free Row Lines items up side by side. Free Layers Places items on top of each other. Drag them anywhere inside to position them freely. Free Long Column A column for long scrolling content. Items are only built as they scroll into view. Pro Long Row A row for long sideways-scrolling content. Items are only built as they scroll into view. Pro Grid Rows and columns that line up, like a spreadsheet. Pro Grid Row One row inside a Grid. Pro Gallery Grid Tiles that fill columns and scroll down, like a photo gallery. Pro Sideways Grid Tiles that fill rows and scroll sideways. Pro Spacer Empty space that stretches to push items apart. Free Divider A thin line between items. Free Best Fit Shows the first of its options that fits in the space available. Pro Scroll Area Lets its content scroll when it's too big for the screen. Free Group Groups items so they share settings, without changing the layout. Pro Box A rounded box that sets related items apart, with an optional title. Pro Button Group Keeps related buttons together, like Bold, Italic and Underline. Pro Form A settings-style page of grouped fields and switches. Pro Section A titled group of rows inside a List or a Form. Pro Labeled Value A label on one side and a value on the other, like "Total $12". Pro Glass Group Lets Liquid Glass items near each other blend and morph together. Pro Adaptive Pair Shows a main and a secondary view side by side or stacked, depending on the space. Pro
# Lists & Data
Component What it is Plan List Rows of items, like Settings or Mail. It takes the height it's given, so it starts 240 points tall. Free Repeater Repeats a design once for every item in your data. Free Tree Nested items that open and close, like folders. Pro Expandable Section A section that opens and closes when tapped. Pro
# Navigation
Component What it is Plan Page Stack Pages that slide in as people tap through, with a back button. Pro Sidebar Layout A sidebar list with the details next to it. Made for iPad; on a phone it shows one at a time. Pro Page Link Opens another of your screens when tapped, with a back button. Pick the screen in its Style tab. Pro Tabs Switches between screens with a tab bar. Pro Tab One tab inside Tabs: its title, icon and page. Pro
Component What it is Plan Image A picture or an SF Symbol icon. Free Web Image Loads a picture from the internet. Pro Video Player Plays a video with the standard controls. Pro Photo Picker Lets people choose photos from their library. Pro Web Page Shows a website inside your app. Pro
# Shapes
Component What it is Plan Rectangle A rectangle that fills its space. Free Rounded Rectangle A rectangle with rounded corners. Free Custom Corners A rectangle where every corner can have its own roundness. Pro Capsule A pill shape with fully round ends. Free Circle A perfect circle. Free Oval An oval that stretches to fill its space. Pro Concentric Rectangle A rectangle whose corners follow the curve of whatever is around it, like the screen's corners. Pro Container Shape Takes the shape of its container, like a widget's rounded corners. Pro
# Color & Gradients
Component What it is Plan Color A solid color that fills its space. Free Linear Gradient Colors blending along a straight line. Pro Radial Gradient Colors blending outward from a center point, in circles. Pro Angular Gradient Colors sweeping around a center point, like a color wheel. Pro Elliptical Gradient Colors blending outward in an oval that fits its space. Pro Mesh Gradient A grid of colors that blend smoothly in every direction. Pro
# Maps & Charts
Component What it is Plan Map An Apple Maps map of a place, with a pin on it. Pro Chart Bar, line, area and pie charts made from your data. Pro Location Button Asks for the person's location once, with Apple's standard button. Pro