Accessible React UI primitives
59 copy-paste React primitives, from button, input and select to modal and dropdown menu, styled with Tailwind CSS and typed in TypeScript. Add them with the Wensity CLI, shadcn or MCP, and the source stays yours.
Create Preset
Create your design system.
OpenAccordion
A React accordion on Base UI for FAQ sections and settings, with single or multiple open items in bordered, separated, minimal, and FAQ styles.
Alert
A React alert for inline info, success, warning, and error messages, with titles, an action button, a dismiss control, and screen reader roles built in.
Aspect Ratio
A React aspect ratio container with 16:9, 21:9, 4:3, square, and portrait presets, plus an image that fades in over a shimmer once it loads.
Attachment
React file attachment rows for uploads and chat, with icons by file type, readable sizes, upload progress, retry, download, and image preview cards.
Avatar
A React avatar on Base UI that falls back to colored initials, with status dots, overlapping avatar groups with a +N chip, tooltips, and upload previews.
Badge
React badges for statuses, plans, and tags in eight tones, with presence dots that can pulse, icon slots, and removable chips with a labeled close button.
Breadcrumb
A React breadcrumb navigation with aria-current on the last page, long trails that collapse behind a dots menu, icons, and custom separators.
Button
A React button component on Base UI with seven variants, from the solid default to ghost and link, four sizes, icon slots, and a built in loading state.
Button Group
A React button group for toolbars and segmented controls, with shared borders, vertical layout, and split buttons that open a dropdown menu.
Calendar
A React calendar for single dates, ranges, and multiple dates, with month and year quick pickers, booked dates, event dots, and full keyboard control.
Card
A React card built from header, title, description, content, and footer parts, plus media frames, stat trends, sparklines, and a feature link row.
Carousel
A React carousel with swipe, arrow keys, looping, and autoplay that pauses on hover, plus dots, thumbnails, and a progress bar for each slide.
Chart
React charts on Recharts with line, bar, area, pie, and radar views plus an interactive bar chart, themed through CSS variables with matching tooltips.
Checkbox
A React checkbox on Base UI with checked, unchecked, and indeterminate states, labels, descriptions, errors, checkbox groups, and selectable cards.
Collapsible
A React collapsible on Base UI for expand and collapse sections, sidebar groups, and show more previews that fade long content until opened.
Color Picker
A React color picker with a saturation canvas, hue and alpha sliders, HEX, RGB, and HSL inputs, swatches, and a screen eyedropper in a popover.
Combobox
A React combobox and autocomplete on Base UI with filtering, multi select with a selected count, creatable options, and async server search.
Command
A React command palette on Base UI with keyword search, grouped actions, nested pages, and shortcut hints, plus a Cmd K dialog to open it anywhere.
Context Menu
A React right click context menu on Base UI with groups, nested submenus, checkbox and radio items, shortcut labels, and long press support on touch.
Data Table
A React data table with debounced search, sorting, row selection, pagination, and expandable rows from one columns array, without TanStack.
Date Picker
A React date picker in a Base UI popover for single dates, ranges, and multiple dates, with presets, time selection, and min and max dates.
Dialog
A React modal dialog on Base UI with default, confirmation, form, fullscreen, and scrollable layouts, focus trapping, and a ready made confirm flow.
Direction
A React direction provider for RTL and LTR layouts that sets dir for Arabic, Hebrew, and Persian, informs Base UI, and exposes a useDirection hook.
Drawer
A React drawer and bottom sheet on Base UI with swipe to dismiss, snap points, a grab handle, and five sides including a fullscreen mobile panel.
Dropdown Menu
A React dropdown menu on Base UI with grouped sections, submenus, checkbox and radio items, shortcut hints, and destructive actions for rows.
Empty State
A React empty state for blank dashboards, no results screens, and errors, with an icon, title, description, action buttons, and a footer slot.
Field
A React field for form validation messages, linking a label, help text, and an error or success line to the input, in stacked or side by side layout.
Form Field
A React form field wrapper that wires a label, description, and error to one control, with stack, inline, split, and card layouts plus form sections.
Hover Card
A React hover card on Base UI that previews a profile or link after a short hover delay, with header, body, and footer parts and four widths.
Input
A React text input with a built in label, hint, and inline error wired to screen readers, plus leading and trailing icons and a one tap clear button.
Input OTP
A React OTP input for two factor and verification codes, with SMS autofill, numeric or alphanumeric modes, masking, and success and error states.
Kbd
A React kbd component that renders real kbd tags for keyboard shortcuts, with key combinations, key sequences, command rows, and an inline size.
Label
A React form label that renders a real label element, with a red required asterisk, an Optional tag, a hint line, and muted, inline, or disabled styles.
Native Select
A React native select that styles the browser's own select element, keeping the phone picker, with grouped options, error states, and an inline size.
Navigation Menu
A React navigation menu on Base UI for site headers, with hover dropdowns, mega menu panels, icons, descriptions, nested links, and a compact size.
Number Input
React number input on Base UI with carved plus and minus buttons, press and hold, arrow and scroll stepping, rolling digits and a cart quantity mode.
Pagination
A React pagination component with smart ellipses, a gliding active page, first and last buttons, a compact counter, and a load more button variant.
Popover
A React popover on Base UI for small menus, inline forms, and rich previews, with collision aware placement, a custom anchor, and four set widths.
Progress
A React progress bar on Base UI with spring smoothed fills and an indeterminate sweep, plus circular, stepped, and stacked multi part bars.
Radio Group
A React radio group on Base UI with a gliding dot, a segmented control style, bordered rows, and radio cards for plan and shipping pickers.
Resizable
React resizable panels and split panes with drag and keyboard handles, min and max sizes, collapsible panels, and layouts saved to local storage.
Scroll Area
A React scroll area on Base UI with slim custom scrollbars that hide until you scroll, for vertical, horizontal, or two way overflow panels and lists.
Select
A React select component on Base UI with grouped options, descriptions, icons, four trigger styles, keyboard navigation, and native form submission.
Separator
A React separator and Tailwind divider with optional text labels, solid, gradient, or dashed lines, and horizontal or vertical orientation for layouts.
Sheet
A React sheet that slides in from any edge as a side panel for filters, carts, and mobile navigation, with a persistent mode that ignores backdrop clicks.
Sidebar
A React app sidebar with collapsible, icon rail, floating, and resizable modes, grouped sections, badge counts, nested links, and a gliding active pill.
Skeleton
React skeleton loading placeholders for text, avatars, cards, and tables, plus a custom block, with a soft shimmer that stops under reduced motion.
Slider
A React range slider on Base UI with one or two thumbs, a value bubble that shows while dragging, formatted values, and a minimum thumb gap.
Spinner
A React loading spinner in arc, ring, dots, and pulse styles with a screen reader label, five tones, three sizes, and an overlay that blocks a region.
Status Indicator
React status indicators with solid and pulsing dots, numbered markers, icon markers, and labeled live status like Online, in six tones and three sizes.
Switch
A React toggle switch on Base UI in minimal, elevated, segmented, and power styles, with labels on either side, settings groups, and switch cards.
Table
A semantic React table with sortable headers, selectable and expandable rows, a sticky header, three densities, and rows that glide into place on sort.
Tabs
React tabs on Base UI with an indicator that slides between tabs, in pill, underline, rounded, segmented, and vertical styles, with arrow key support.
Textarea
A React textarea that auto resizes between min and max rows, with a live character count that warns near the limit and default, filled, or ghost styles.
Time Picker
React time picker on Base UI with a typeable time input, rolling digits, a popover of scrolling columns, 12 and 24 hour clocks and min and max times.
Toast
React toast notifications on Base UI in info, success, warning, error, and action styles, with swipe to dismiss, six positions, and a hook to fire them.
Toggle
A React toggle button and toggle group on Base UI in default, icon, outline, and soft styles, with a sliding segmented mode or multi select for toolbars.
Tooltip
A React tooltip on Base UI with plain, rich, and keyboard shortcut content, an arrow, a shared open delay, and an option to follow the cursor.
Typography
React typography components for headings 1 to 6, lead and muted text, and inline code, plus a Prose wrapper that styles markdown without a plugin.