sh4dcnv2 · atlas
← libraries

@swiftui-flx

SwiftUI components for iPhone, iPad and Mac, the shadcn/ui way. Native controls, design tokens, themes and dark mode. Install with the shadcn CLI and own the Swift code.

36 components react shadcn-cli AGPL-3.0

Install this registry

shadcn (npm) npx shadcn@latest add https://swiftui.flexnative.com/r/registry.json
pnpm pnpm dlx shadcn@latest add https://swiftui.flexnative.com/r/registry.json
bun bunx shadcn@latest add https://swiftui.flexnative.com/r/registry.json
fetch registry curl -s https://swiftui.flexnative.com/r/registry.json

Components

36 total
Foundation file

Tokens and the default theme every component reads from.

npx shadcn@latest add https://swiftui.flexnative.com/r/foundation.json
Sienna Preset file

Cream paper, burnt-earth ink, and a larger base radius.

npx shadcn@latest add https://swiftui.flexnative.com/r/preset-sienna.json
Button file

Triggers an action or event, such as submitting a form.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-button.json
Button file

Triggers an action or event, such as submitting a form.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-button.json
Card file

A card is a container that can be used to display content in a styled way.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-card.json
Card file

A card is a container that can be used to display content in a styled way.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-card.json
Avatar file

Displays a user's profile picture, with initials as a fallback.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-avatar.json
Avatar file

Displays a user's profile picture, with initials as a fallback.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-avatar.json
Badge file

Displays a small label for status, category, or count.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-badge.json
Badge file

Displays a small label for status, category, or count.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-badge.json
Item file

Displays a row of content, such as a list entry, notification, or settings row.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-item.json
Item file

Displays a row of content, such as a list entry, notification, or settings row.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-item.json
Empty file

Displays an empty state, with an optional icon, title, description, and actions.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-empty.json
Empty file

Displays an empty state, with an optional icon, title, description, and actions.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-empty.json
Menu file

Displays a list of actions or options revealed from a button or custom trigger.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-menu.json
Picker file

Displays a dropdown for selecting one value from a set of options.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-picker.json
Progress View file

Displays progress toward completion of a task, as a bar or a spinner.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-progress-view.json
Progress View file

Displays progress toward completion of a task, as a bar or a spinner.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-progress-view.json
Slider file

Displays a control for selecting a value from a bounded range.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-slider.json
Slider file

Displays a control for selecting a value from a bounded range.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-slider.json
Toggle file

Displays a switch for an on/off value.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-toggle.json
Toggle file

Displays a checkbox for an on/off value.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-toggle.json
Collapsible file

Displays content that can be expanded and collapsed.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-collapsible.json
Collapsible file

Displays content that can be expanded and collapsed.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-collapsible.json
Secure Field file

Displays an obscured text input for passwords and other sensitive text.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-secure-field.json
Secure Field file

Displays an obscured text input for passwords and other sensitive text.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-secure-field.json
Text Editor file

Displays a multi-line text input for long-form content.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-text-editor.json
Text Editor file

Displays a multi-line text input for long-form content.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-text-editor.json
Text Field file

Displays a single-line text input.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-text-field.json
Text Field file

Displays a single-line text input.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-text-field.json
Text Field Group file

Wraps a text field in a shared box with optional leading and trailing addons.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-text-field-group.json
Text Field Group file

Wraps a text field in a shared box with optional leading and trailing addons.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-text-field-group.json
Field Label file

Pairs a caption with a form control.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-field-label.json
Field Label file

Pairs a caption with a form control.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-field-label.json
Form Field file

Groups a label, control, description, and error message for a form field.

npx shadcn@latest add https://swiftui.flexnative.com/r/ios-form-field.json
Form Field file

Groups a label, control, description, and error message for a form field.

npx shadcn@latest add https://swiftui.flexnative.com/r/mac-form-field.json