Button components for React and Tailwind
Buttons, groups and toggles.
Switch category
Marketing
- Hero17
- Features15
- Logo clouds8
- Stats8
- Pricing11
- Testimonials11
- Call to action11
- FAQ7
- Newsletter12
- Banners9
- Popups and consent7
- Services7
- Use cases6
- Security and trust7
- Changelog and roadmap6
- Launch and waitlist6
- Product tour6
- Press and awards10
- AI features6
- App download5
- Donations and support4
- Problem and solution5
- Objections5
- Calculators10
- Quiz and product finder5
- Free trial5
- Referral and partners10
- Community5
- Open source5
- Manifesto5
- Offer5
- Lead magnet4
- Scroll stories20
- Scroll journeys13
- Scroll effects13
- Scroll reveals and transitions15
Content
- Blog16
- Gallery7
- Team8
- About11
- Content8
- Process7
- Contact8
- Comparison5
- Integrations5
- Error pages5
- Careers7
- Case studies6
- Portfolio6
- Events and webinars6
- Help center6
- Legal pages5
- Documentation4
- Search results5
- Resources and downloads4
- Podcast4
- Editorial15
- Authors and interviews10
- Glossary5
- Recipes5
- Data stories10
- Long reads5
- Surveys and feedback14
- Form states12
- Request forms16
- Applications and sign-ups13
- Address, payment and consent12
App
- Authentication9
- Dashboards6
- Tables6
- Settings5
- AI and chat16
- Calendar5
- Inbox and messages5
- Notifications6
- Files6
- Projects6
- Profiles6
- Onboarding6
- Billing and usage10
- Developer settings15
- Security and access10
- Import, export and history15
- Automation and builders14
- AI answers18
- AI writing and creation13
- AI setup14
- AI assistants9
E-Commerce
Industries
- Menus7
- Appointments6
- Listings6
- Courses6
- Rooms and stays5
- Classes and schedules6
- Medical practice5
- Law firm5
- Salon and spa5
- Automotive5
- Travel5
- Sports club5
- Coworking5
- Museum5
- Cinema5
- School5
- Trades5
- Insurance5
- Banking5
- Personal brand15
- Speakers and media kits10
- Creators15
- Coaching and consulting10
- Artists and musicians15
- Dental practice5
- Veterinary practice5
- Therapy practice5
- Weddings and events5
- Architecture studio5
- Tax advisor5
- Estate agent5
- Florist5
- Winery5
- Daycare5
- Driving school5
- Care services5
- Festival5
Elements
- Buttons20
- Forms and inputs22
- Pickers and selections21
- Special input fields20
- Cards10
- Overlays21
- Navigation elements15
- Menu bars and switchers14
- Data display15
- Progress and states13
- Lists, trees and timelines17
- Charts22
- Comparison charts22
- Statistical charts20
- KPI, live and map charts22
- Text effects15
- Text accents16
- Backgrounds19
- Beams, particles and motion18
- Media19
- Code and JSON8
- Panels and splitters4
Six components for every kind of click
Buttons carry every action on a page, so they need a clear order of importance. The six components here share one set of styles and sizes, which means a button in a hero, a dialog and a table all look like they belong together.
Button has five styles from primary to ghost, three sizes, icons and a loading state, plus neutral sign-in buttons without foreign logos. Button group joins buttons into one control or a split button with a menu. Icon button is for actions that are only an icon and requires a label. Toggle covers pressed states and a segmented control, Copy button copies a value and says so, Loading button keeps its width and blocks double clicks.
Use one primary button per view, everything else is secondary or ghost. Write labels as verbs that say what happens, such as Save changes. Links that go somewhere stay links, buttons do something, the components render the right element when you pass href.
On this page
Every component of this category. Pick one to jump to its variants.
toggle
Toggle
Buttons that stay pressed, toggle groups for one or many values and a segmented control with a sliding thumb.
Similar components, Often combined with
Similar components
More from Elements, the same area of the kit.
- Pickers and selectionsDate, time and color pickers, number fields, comboboxes, multi selects and tag inputs that keep every choice in view.
- Special input fieldsPhone numbers with country, card details, one-time codes, file uploads, profile pictures and signatures.
- Menu bars and switchersMenu bars with keyboard support, floating actions that follow the scroll and language switchers for every layout.
- Data displayIcons, badges, avatars, tags, keyboard keys and ratings.
- All of ElementsThe small parts. Buttons, inputs, cards, overlays, charts and effects.
Often combined with
Sections that usually sit next to Buttons on a page.
- Forms and inputsInputs, textareas, selects, checkboxes, radios, switches, sliders, search fields and form layouts.
- OverlaysDialogs, sheets, popovers, tooltips and toasts.
- Navigation elementsTabs, accordions, breadcrumbs, pagination, steppers and link lists.
- CardsCards for people, products, stats and links.
Loading the source
Loading the source
Loading the source
Loading the source
Loading the source
Loading the source