Components

70 components you install with the shadcn CLI and own as source. Every preview here is the real component.

First time? See how to install

70 components

Inputs

33

Fields for the values a plain text input cannot hold.

  • Try it: switch to Japan or the United Kingdom and watch the fields reorder, or type a four digit ZIP code and leave the field.

    Address fields that follow each country's field order, labels and postal code rules, with browser autofill.

  • Saturation area, hue and alpha sliders, eyedropper, hex input and an oklch readout.

  • At 09:00, Monday through Friday

    Standard five-field cron expression input with @daily-style shortcuts, a plain-English schedule readout and upcoming run times.

  • A date range picker with start and end times, presets, typed ranges like "last 7 days", and min and max limits.

  • 001500

    Stops after 15m

    Saved as 900000 ms

    Try it: click a box, type 90, then press m.

    Segmented duration editor with typed shorthand, unit navigation and milliseconds storage.

  • Loading emoji

    Skin tone

    Pick a reaction

    Searchable emoji grid with categories, skin tones, recently used emoji and arrow-key navigation. Emoji data loads on demand.

    • brand-guidelines.pdf2.4 MB
    • q3-roadmap.png64%

    Drag and drop upload with validation, progress and rejection states.

  • $80 – $30026 of 44 results
    26 of 44 results in selected range

    Dual-thumb range slider combined with a distribution histogram bar chart.

  • folder-openSelected
    Selected:folder-open

    Searchable Lucide icon grid with arrow-key navigation, roving tabindex, recent icons, and tags search.

  • Use arrow keys to pan (hold Shift for 10x larger steps), plus and minus or bracket keys to zoom, R to rotate, and Enter to apply crop.
    100%

    Pan, zoom, and rotate images with fixed or free aspect ratio and blob output.

  • Project
    Owner

    Click to edit text in place. Enter saves, Escape cancels, async saves supported.

  • Editable key and value rows for env vars and headers, with .env paste, duplicate flags and masked values.

  • Combobox for picking a BCP 47 locale with native names, English names and country flags.

  • Raw value: 4242424242424242

    Cents: 4999

    Pattern-masked inputs and localized currency formatting with stable caret positioning.

  • A textarea that suggests people, channels or anything else after a trigger character.

  • IrelandVirginia

    Pick several values from a fixed list, with search, groups, chips and a selection limit.

  • A spinbutton with min, max, step and locale formatting.

  • Password strength:

    A password field with a reveal toggle and a strength meter.

  • Saved as +14155550123

    Try it: paste +44 20 7946 0958, or pick a country and keep typing.

    Phone number field with a searchable country picker, formatting as you type and E.164 output.

    • Login page loops after SSONoor Haddad

    A search bar that reads key:value filters as you type, suggests keys and values, and returns Filter objects plus the leftover text.

  • Pick a score with stars or any icon, in whole or half steps, from the keyboard or pointer.

  • Repeat on
    Ends
    occurrences

    Every 2 weeks on Tuesday

    Next occurrences

    Edit an RRULE repeat rule with a plain-language summary and the next occurrences.

  • 0 matches found in sample text
    Test Sample0 matches
    user_alice@drift-ui.dev logged in from 192.168.1.10
    support+urgent@example.org reported issue #404
    invalid-address@@test
    sales@lumenhq.io requested a demo

    Validate regular expressions live with flags toggles, error feedback, and match previews.

  • Secret key
    Hidden, ends in a1b2

    A read-only masked value, such as an API key, with reveal and copy buttons.

  • Display only CtrlShiftP

    Records a key combination and renders it with platform symbols.

  • Sign here

    Sign to confirm delivery

    Capture a drawn or typed signature and export it as SVG or a PNG data URL.

  • Menu for scheduling reminders, snoozing notifications, or deferring tasks with quick presets and custom date-time picker.

  • billingeu-west-1

    Enter or comma to add, Backspace twice to remove, paste a comma list.

    Type, paste or remove tags with full keyboard support.

  • A textarea for templates with {{variables}}: typing {{ suggests variables, inserted ones are highlighted and unknown ones are flagged.

  • 0930
    ------

    Segmented hour, minute and AM/PM spinbuttons with typeahead.

  • Searchable IANA time zone select showing each zone's UTC offset and current local time.

  • Saved as 512000000 bytes

    Try it: switch to GB, or type 2gb.

    A number field with a unit picker that stores the value in a base unit, with byte presets and typed units like 2gb.

  • When can students book you?

    Lessons are only offered inside these hours.

    0900
    1700
    0900
    1200
    1400
    1800
    0900
    1700
    0900
    1700
    0900
    1500

    Unavailable

    Unavailable

    Opening or working hours per weekday, with split shifts, copy to other days and overlap checks.

Structure

16

Hierarchies, sequences and history.

  • 1,259 contributions in the last year
    NovDecJanFebMarAprMayJunJulAugSepOct
    Mon
    Tue
    Wed
    Thu
    Fri
    Sat
    Sun
    November 1 – October 31, 2026
    LessMore

    Calendar activity matrix showing contribution intensity over a year with keyboard navigation.

  • Ana Lima (online)Kenji Sato (busy)Priya Nair (away)Tomás Ruiz

    Stacked avatars with presence dots and a +N overflow that lists the rest.

  • ID
    usr_8f2a
    Owner
    Status
    Active
    Created
    Oct 12, 2026, 09:41

    Key and value rows for detail pages, with copy buttons and inline editing.

  • 3 lines added, 2 lines removed
    Old line numberOld contentNew line numberNew content
    1
    service: billing
    1
    service: billing
    2
    Removed: replicas: 2
    2
    Added: replicas: 4
    3
    timeout: 30s
    3
    timeout: 30s
    4
    feature_1: enabled
    4
    feature_1: enabled
    5
    feature_2: enabled
    5
    feature_2: enabled
    15
    feature_12: enabled
    15
    feature_12: enabled
    16
    feature_13: enabled
    16
    feature_13: enabled
    17
    feature_14: enabled
    17
    feature_14: enabled
    18
    Removed: region: eu-west-1
    18
    Added: region: eu-central-1
    19
    log_level: info
    19
    log_level: info
    20
    Added: tracing: true

    Side-by-side or unified text diff with word-level highlights and collapsed unchanged regions.

    • id:"evt_1Qx8"
    • type:"invoice.paid"
    • livemode:false
    • created:1793350800
    • data:{…}
    • invoice:{…}
    • number:"INV-0042"
    • amount_due:4900
    • currency:"usd"
    • retries:Array(240)

    Collapsible, searchable JSON with typed colors, copy value or path, and chunked large arrays.

  • Press Space to pick up, Up and Down to move within the column, Left and Right to move across columns, Space to drop, Escape to cancel.

    To do

    2
    Quarterly roadmap review
    Strategy
    Design token audit
    Design

    In progress

    1
    Passkey authentication
    Security

    Done

    1
    Optimize bundle size
    Performance

    Multi-column task board for moving cards between workflow stages with keyboard and drag-and-drop support.

  • 12 lines
    111:00:00INFO[server] Starting production server v2.4.1...
    211:00:00DEBUGLoading environment variables from .env.production
    311:00:00INFO✓ Connected to primary PostgreSQL database at pool-01:5432
    411:00:00INFO✓ Redis cache cluster initialized (3 shards ready)
    511:00:01WARN[warn] High memory threshold reached on node-3 (78% used)

    High-throughput streaming log viewer with ANSI color parsing, search, level filtering, and tail auto-scroll.

  • POSThttps://api.drift-ui.dev/v1/deployments?env=production
    201 Created
    Query Parameters (1)
    envproduction
    Request Body
    • project:"drift-dashboard"
    • branch:"main"
    • commit:"8f3e21a"
    • autoRollback:true

    Inspect HTTP requests and responses with status codes, headers, timing, format detection, and cURL generation.

    • 1Quarterly roadmap reviewStrategy
    • 2Migrate auth to passkeysSecurity
    • 3Redesign onboarding flowProduct
    • 4Optimize cold start latencyInfra
    • 5Write the incident runbookOps
    Press Space or Enter to pick up the item. Use arrow keys to reorder. Press Space or Enter again to drop. Press Escape to cancel.

    Reorderable list with drag-and-drop and full keyboard accessibility.

  • Pick environments and replica counts.

    Multi-step flows with linear or free navigation.

    1. Deployed to production

      Noor Haddad rolled out v2.14.0 to 3 replicas.

    2. Review approved

      Tomasz Wierzba approved the release plan.

    3. Health check failed

      eu-west-1 returned 503 for 40 seconds.

    4. Preview build passed

      CI finished in 3m 12s.

    Activity feeds and changelogs with status indicators.

  • POST /checkout320 ms · 6 spans · 5 services · 1 error
    • api-gateway
    • inventory-svc
    • postgres
    • payment-svc
    • mailer
    • error
    Span
    0 ms100 ms200 ms300 ms
    POST /checkoutapi-gateway320 ms
    jwt.verifyapi-gateway28 ms
    inventory.checkStockinventory-svc65 ms
    SELECT items FROM inventorypostgres48 ms
    stripe.chargepayment-svc140 ms
    email.sendConfirmationmailer45 ms

    stripe.charge

    payment-svc

    Duration
    140 ms
    Share of trace
    43.8%
    Starts at
    +115 ms
    Status
    error
    Span ID
    payment
    error.type
    card_declined
    stripe.request_id
    req_8Fq2LxN0

    Waterfall timeline showing nested trace spans as a collapsible hierarchy and timed duration bars.

    • app
    • layout.tsx
    • globals.css
    • archive
    • Loading
    • package.json

    An ARIA tree with arrow keys, typeahead, single or checkbox selection, lazy children with retry, and virtualized rows.

  • API Service
    99.86% uptime
    90 days agoToday

    Daily service health segments with uptime percentage, accessible labels and popover details.

  • Team plan

    Resets on December 1

    Build minutes
    2,140 min / 3,000 min
    StorageAcross 3 projects
    84% used8.4 GB / 10 GB
    • Images4.1 GB
    • Video3.1 GB
    • Documents1.2 GB

    Progress meter for storage, seats, and rate limits with thresholds, segmented breakdown, and overage tracking.

  • 1cloneStep 0 wrote a longer status line that wraps onto a second row, so this entry measures taller than its neighbours
    2installStep 1 finished
    3buildStep 2 finished
    4testStep 3 finished
    5uploadStep 4 finished

    Renders only the visible rows of a long list, with variable row heights and keyboard focus that survives scrolling.

Workflow

13

Filters, selections and guided tours that sit on top of a screen.

    A floating toolbar for acting on selected rows. Escape clears the selection.

  • src/payments/retry.ts · line 42

    1. NH
      Noor Haddad

      Should this retry on 429 as well? The gateway rate-limits bursts after a deploy. cc @tomasz

      1. TW
        Tomasz Wierzba

        Yes, but only with the Retry-After header. Otherwise we hammer it again.

      2. RK
        Riya Kapoor(edited)

        Added that in the last commit. @noor can you take another look?

    Threaded review comments with replies, @mentions, edit and delete, reactions and resolve.

  • Upload CSV File
    Upload your UTF-8 encoded .csv file to begin importing data.

    Multi-step CSV import workflow with column mapping, data validation, and row correction.

    • MY-104Invoice totals round twiceDue 2025-04-103 pts
    • MY-112Dark mode chart contrastDue 2025-04-152 pts
    • MY-118Invoice PDF missing logoDue 2025-03-251 pts
    • MY-121Retry webhook deliveriesDue 2025-04-205 pts

    Field, operator and value filter chips with AND/OR groups, date ranges, multi-select, and URL serialization.

  • 2 unresolved conflicts remaining2 remaining
    Document Title(Base: Product Roadmap)
    Conflict
    AuthorNo conflict
    Alex Rivera
    Summary(Base: Initial draft roadmap.)
    Conflict

    Per-field conflict resolution for structured records with diff highlights, custom overrides, and batch actions.

  • 3 unread notifications

    A bell with an unread count that opens notifications grouped by day, with read state, mark all as read and per-item actions.

  • Workspace setup
    Complete these steps to get your team ready for production.
    Progress2 of 5 done
    • Confirm your account email to enable security alerts and notifications.
    • Set up a workspace repository and configure basic environment settings.
    • Add collaborators to share components and review pull requests together.
    • Link your GitHub account to enable automatic CI/CD deployment previews.
    • Upgrade your team plan to unlock unlimited projects and team members.

    A setup guide with tasks, accessible checkboxes, action buttons, and a progress bar.

  • DirectInherited
    Permissions
    ViewerRead-only access
    Editorinherits Viewer
    Managerinherits Editor, Viewer
    Admininherits Manager, Editor, Viewer
    Projects4
    View ProjectsBrowse and open projects
    Create ProjectsInitialize new projects
    Edit ProjectsModify project settings and tasks
    Delete ProjectsArchive or permanently remove
    Team Members3
    View MembersSee list of workspace users
    Invite MembersSend invitations to join
    Manage RolesChange member permissions
    Billing & Plans2
    View InvoicesDownload billing statements
    Change PlanUpgrade or modify payment card
    Security & API2
    Manage API KeysGenerate and rotate API secrets
    Audit LogsInspect access log history

    Role and access management grid of roles against permissions, with tri-state group toggles, sticky headers, and inherited permissions.

    • DR-101Keyboard navigation in tree viewopen5 pts
    • DR-102Fix color contrast in dark modein-review2 pts
    • DR-103Support Arabic numerals in currency inputclosed3 pts
    • DR-104Caret stability when backspacing delimitersopen8 pts

    Switch, create, rename, duplicate, and save table and list view configurations.

  • A searchable overlay that lists keyboard shortcuts by section, opened with a key.

  • Marketing / Q3

    Shared with 4 people

    • q3-roadmap.png

      1.2 MB · 2h ago

    • brand-guidelines.pdf

      4.8 MB · Yesterday

    • invoice-0412.pdf

      310 KB · Mon

    3 files · Synced 2 min ago

    Toasts that keep shadcn's API and add undo with a working shortcut, progress, merging of repeated toasts, reading-time durations and a handoff to the notification inbox.

  • A step-by-step product tour that spotlights real elements on the page.

  • Available Permissions
    0 / 4
    • Delete RecordsPermanently delete rows
    • Export CSVDownload data dumps
    • Manage BillingInvoices and subscription
    • AdministratorFull workspace configuration
    Assigned Permissions
    0 / 2
    • Read DataView dashboard and reports
    • Write DataCreate and edit records

    Move items between available and selected lists with search and multi-selection.

Primitives

8

Same API as shadcn/ui. Skip any you already have.

  • CNAL

    An image with a fallback for when it fails to load.

  • DefaultSecondaryOutlineDestructive Verified

    A small status label.

  • A button with six variants and four sizes.

  • Create project
    Deploy a new project in one click.
    Beta

    A container with header, content, and footer slots.

  • A modal window that traps focus and closes on Escape.

  • Enter a full URL, starting with https://

    A text input with focus and invalid states.

  • An accessible label for form controls.

  • Floating content anchored to a trigger.

Don't see the component you need?

Open a request on GitHub with the screen you need it for and any library that already does it well.

Request a component(opens GitHub in a new tab)