Exemplos de Componentes
Todos os componentes do shadcn/ui (Base UI), com os exemplos oficiais, já no tema do TOS.
Visão geral
Accordion
DocumentaçãoAlert
DocumentaçãoPlease verify your billing information and try again.
- Check your card details
- Ensure sufficient funds
- Verify billing address
Alert Dialog
DocumentaçãoAspect Ratio
DocumentaçãoAttachment
DocumentaçãoAvatar
DocumentaçãoBadge
DocumentaçãoBubble
DocumentaçãoCalendar
DocumentaçãoCard
DocumentaçãoCarousel
DocumentaçãoChart
DocumentaçãoCheckbox
DocumentaçãoBy clicking this checkbox, you agree to the terms and conditions.
| Name | Role | ||
|---|---|---|---|
| Sarah Chen | sarah.chen@example.com | Admin | |
| Marcus Rodriguez | marcus.rodriguez@example.com | User | |
| Priya Patel | priya.patel@example.com | User | |
| David Kim | david.kim@example.com | Editor |
Collapsible
DocumentaçãoCombobox
DocumentaçãoPlease select a valid framework.
Please select at least one framework.
Command
DocumentaçãoCommand Palette
Search for a command to run...
Command Palette
Search for a command to run...
Command Palette
Search for a command to run...
Command Palette
Search for a command to run...
Dialog
DocumentaçãoDrawer
DocumentaçãoEmpty
DocumentaçãoField
DocumentaçãoChoose a unique username for your account.
We'll never share your email with anyone.
This field must be filled out.
This field is currently disabled.
This field contains validation errors.
This field is currently disabled.
Maximum 500 characters allowed.
Tell us about yourself in a few sentences.
Enter your message so it is long enough to test the layout.
This field contains validation errors.
This field is currently disabled.
Select the country where you currently reside.
Choose your local timezone for accurate scheduling.
This field contains validation errors.
This field is currently disabled.
Receive weekly updates about new features and promotions.
Enable Touch ID to quickly unlock your device.
Turn on airplane mode to disable all connections.
Receive emails about new products, features, and more.
Manage your privacy preferences.
This switch has validation errors.
This switch is currently disabled.
Current brightness: 75%
Higher quality uses more bandwidth.
Range: 0.3 - 0.7
$25 - $75
Red: 10%, Green: 20%, Blue: 70%
This slider has validation errors.
This slider is currently disabled.
Select the country where you currently reside.
Choose your local timezone for accurate scheduling.
Native select with grouped options using optgroup.
This field contains validation errors.
This field is currently disabled.
Enter the 6-digit code sent to your email.
Enter the code from your authenticator app.
Enter your 4-digit PIN (numbers only).
This OTP field contains validation errors.
This OTP field is currently disabled.
Enter your preferred username.
Write a short description about yourself.
Receive email updates about your account.
Choose your favorite fruit.
Select your country.
Adjust the volume level.
Hover Card
DocumentaçãoInput
DocumentaçãoChoose a unique username for your account.
Input Group
DocumentaçãoThis is a description of the input group.
This is a description of the input group.
This is a description of the input group.
This is a description of the input group.
This is a description of the input group.
This username is available.
This is a description of the input group.
This is a description of the input group.
This is a description of the input group.
This is a description of the input group.
This is a description of the input group.
Input OTP
DocumentaçãoAccepts both letters and numbers.
Common pattern for PIN codes.
Example showing the invalid error state.
Item
DocumentaçãoThis is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
This is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
This is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
This is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
This is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
This is a description that provides additional context.
This item includes a title, description, and action button.
This item includes media, title, and description.
Complete item with all components: media, title, description, and button.
Item with multiple action buttons in the actions area.
First item in the group.
Second item in the group.
Third item in the group.
First item with icon.
Second item with icon.
Third item with icon.
First item in muted group.
Second item in muted group.
Third item in muted group.
View all incoming messages.
View all sent messages.
View all draft messages.
View archived messages.
A comprehensive collection of reusable UI components for building consistent interfaces.
Track performance metrics and engagement rates across all marketing channels.
Complete reference guide for all available endpoints and authentication methods.
Financial overview including revenue, expenses, and growth metrics for the fourth quarter.
Insights from interviews and surveys conducted with 50+ users across different demographics.
Planned features and improvements scheduled for the next three months.
Complete overhaul of the company website with modern design principles and improved user experience.
Building a cross-platform mobile application for iOS and Android with React Native.
Step-by-step instructions for integrating third-party APIs with authentication and error handling.
Overview of project settings and configuration.
A document with metadata displayed.
Complete file with image, title, description, and action button.
Overview of project settings and configuration.
A document with metadata displayed.
Complete file with image, title, description, and action button.
Overview of project settings and configuration.
A document with metadata displayed.
Complete file with image, title, description, and action button.
Overview of project settings and configuration.
A document with metadata displayed.
Complete file with image, title, description, and action button.
Kbd
DocumentaçãoLabel
DocumentaçãoMarker
DocumentaçãoMessage
DocumentaçãoMessage Scroller
DocumentaçãoNative Select
DocumentaçãoSelect your country of residence.
Pagination
DocumentaçãoPopover
DocumentaçãoProgress
DocumentaçãoQuestionnaire
DocumentaçãoRadio Group
DocumentaçãoResizable
DocumentaçãoScroll Area
DocumentaçãoSelect
DocumentaçãoChoose your favorite fruit from the list.
Separator
Documentação- Item 1
- Value 1
- Item 2
- Value 2
- Item 3
- Value 3
Sheet
DocumentaçãoSkeleton
DocumentaçãoSlider
DocumentaçãoSonner
DocumentaçãoSpinner
DocumentaçãoSwitch
DocumentaçãoTable
Documentação| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| Total | $2,500.00 | ||
| Name | Role | |
|---|---|---|
| Sarah Chen | sarah.chen@acme.com | Admin |
| Marc Rodriguez | marcus.rodriguez@acme.com | User |
| Emily Watson | emily.watson@acme.com | User |
| Task | Status | Priority |
|---|---|---|
| Design homepage | Completed | High |
| Implement API | In Progress | Medium |
| Write tests | Pending | Low |
| Product | Price | Actions |
|---|---|---|
| Wireless Mouse | $29.99 | |
| Mechanical Keyboard | $129.99 | |
| USB-C Hub | $49.99 |
| Task | Assignee | Status |
|---|---|---|
| Design homepage | In Progress | |
| Implement API | Pending | |
| Write tests | Not Started |
| Product | Quantity | Price |
|---|---|---|
| Wireless Mouse | $29.99 | |
| Mechanical Keyboard | $129.99 | |
| USB-C Hub | $49.99 |
Tabs
DocumentaçãoTextarea
DocumentaçãoType your message and press enter to send.
Toast
DocumentaçãoToggle
DocumentaçãoToggle Group
DocumentaçãoUse font-normal to set the font weight.
