A
Home
Docs
Components
Charts
Create
Getting Started
Introduction
Installation
Theming
Dark Mode
React Native
Components
Accordion
Alert
Alert Dialog
Aspect Ratio
Attachment
Avatar
Badge
Breadcrumb
Bubble
Button
Button Group
Calendar
Card
Carousel
Chart
Checkbox
Collapsible
Combobox
Command
Context Menu
Dialog
Direction
Drawer
Dropdown Menu
Empty
Field
Form
Hover Card
Input
Input Group
Input OTP
Item
Kbd
Label
Marker
Menubar
Message
Message Scroller
Native Select
Navigation Menu
Pagination
Popover
Progress
Radio Group
Resizable
Scroll Area
Select
Separator
Sheet
Sidebar
Skeleton
Slider
Sonner
Spinner
Switch
Table
Tabs
Textarea
Toggle
Toggle Group
Tooltip
Field
Combine labels, controls, and help text to compose accessible form fields and grouped inputs.
Preview
Code
Payment Method
All transactions are secure and encrypted
Name on Card
Card Number
Enter your 16-digit card number
Card number is required.
CVV
Expires
Billing Address
The billing address associated with your payment method
Same as shipping address
Use the address you entered above.
Use
Or
Comments
•
Too short.
•
Must mention a rabbit.
Submit
Cancel
Installation
Every component ships in
@astrawind/ui
. If you haven't set it up, follow the installation guide, then import the component:
Terminal
npx
expo
install
@
astrawind
/
ui
@
astrawind
/
css
lucide-react-native
react-native-svg
Usage
tsx
import
{
Field
,
FieldContent
,
FieldDescription
,
FieldError
,
FieldGroup
,
FieldLabel
,
FieldLegend
,
FieldSeparator
,
FieldSet
,
FieldTitle
,
}
from
"@astrawind/ui/field"
See the Code tab above for a complete example.
Empty
Form
Built with @astrawind/ui and @astrawind/css. Components ported from shadcn/ui (MIT).