Arc
ComponentsBlocksScreensDocsPricingTry the demo
Get Pro
Saved

Docs

IntroductionInstallationThemingMotionAI and MCPChangelog

Components139

ButtonAction buttonSplit buttonButton groupFloating button groupExpanding button groupCopy buttonAction swapIcon morphConfirm morphTheme switcher

Hold to confirmSwipe actionsReactions

Dropdown menuContext menuUser menu

InputTextareaPassword fieldPassword strengthSearch fieldExpanding searchInline edit

Number fieldMoney inputPhone inputScrub inputTag inputMention inputShortcut recorder

SelectComboboxMulti-selectMorph selectChip group

Radio cardsBilling toggleCheckboxRadio groupSwitchSegmented controlRatingToggle group

SliderElastic sliderRange histogram sliderRuler sliderWindow rangeProLens rangePro

CalendarDate pickerDate range pickerTime pickerColor pickerEmoji pickerPro

Rich text editorSignature padFile dropzoneAvatar uploadPro

TabsBreadcrumbPaginationMega menu morphProTable of contents progressPro

Scroll areaAccordionExpandable cardResizable panelsExpandable text

DialogDrawerBottom sheetPopoverHover cardTooltipShare accessProConfirm popoverPro

AlertToastToast stackAnnouncement barCookie consentUndo toastPro

ProgressSkeletonStepperCountdownUsage meterOnboarding checklist

AvatarAvatar groupBadgePresence stackPro

CardMetric cardEmpty stateMetric tickerPro

Line chartBar chartDonut chartStreamgraphBrush chartWaffle chartSlope chartSparklineGaugeActivity heatmapAnimated counterRidgelineTreemapSplit barPro

BeeswarmProSunburstProSankey flowProFunnel chartProRadar chartProRealtime streamProRace bar chartProChord diagramNewProData gridPro

Sortable data tableTree tableTree viewReorderable listFilter toolbarCode blockJSON viewer

TimelineComment threadChat thread

Image compareCarouselCard stack

Text revealIn-view titleText morphText shimmerWave text

Blocks128

KPI drilldownProMetric explorerProRevenue explorerProMRR waterfallProCohort retentionProUsage forecastProJourney flowProUptime statusProPivot builderProChoropleth explorerProConnected scatterProHorizon chartProAccount healthPro

Budget variancePro

Small multiplesProLine replayPro

AI chatProAI composerProAI answerProModel pickerProModel arenaProPrompt studioProDocument extractionProAgent memoryProAI side panelProAI inline editProResearch runProAI insight cardProCatch upProAI feature launchProAI search barProAI setup wizardProCall insightsProLead scoringPro

Agent runProAgent tasksProAgent approvalsProAgent routinesProAgent orchestratorProMCP serversProKnowledge baseProEval suiteProAgent builderProAgent galleryPro

SidebarPro4Page headerCommand paletteNotification centerSelection toolbarProEmpty statesSearch resultsPro

Login and sign up5, free and Pro variantsOnboarding illustrationProOTP inputMulti-step formProTwo-factor setupProMagic linkPro

Settings pageProSettings commandProSecurity settingsProBilling overviewProUsage billingProCancel flowProOnboarding surveyProSpend alertPro

Team membersProInvite peopleProRoles and permissionsProProfile pagePro

API keysProWebhooksProIntegrationsProImport wizardProEnvironment variablesProCode reviewProDomain verifyProWebhook testerPro

Plan comparisonPricing calculatorProUsage pricingProCart drawerProCheckout summaryProLive checkoutProSeat managerProCredit top-upPro

Wallet cardProDelivery trackerProSeat mapPro

Activity feedProSupport widgetProFeature votingPro

File uploadMedia playerPro

Availability pickerProRelease readinessProFeedback boardProSmart schedulerProTask breakdownProGoal trackerPro

Hero sectionHero signupProAurora heroNewPro

Scroll storyProSpotlight gridProFeature bentoProComparison tableZoom into UINewPro

Logo marqueeStudio perspectivesProStats bandLogo fieldPro

Changelog feedFAQ sectionContact sectionTeam showcaseProBlog gridManifesto scrollNewPro

Site headerSite footerFooter marqueeProCTA sectionNewsletter signup

Activity terrainProRevenue globeProCustomer galaxyProSemantic zoomProLayout morphProExploded viewPro

Screens14

Metrics dashboardProMarket terminalPro

Kanban boardProProject boardProGantt timelinePro

Week calendarProMonth calendarPro

Team directoryPro

Inbox triageProSupport conversationProHelp centerPro

Product listingProProduct detailProInvoice studioPro

Special components118

Share sheetProAction morphProMorph navProDockProLiquid tab barProOrbit menuProGooey menuPro

Glass menuProGlass segmentedProGlass cardProGlass tab barPro

Sheet stackProWallet stackProControl centerProHolo cardProCard to articleProLink unfurlPro

Product galleryProLightbox galleryProPhoto gridProCover flowProInfinite moodboardProGradient meshPro

Voice orbProNow playingProVoice recorderPro

Booking pillProActivity ringsProTime dialProDate reelPro

Keycap keyboardProSlot textSand textProCode magic moveProTypewriter terminalPro

Stretch refreshProFeedback morphProMorph loaderProSkeleton morphProCelebrate buttonProBlack holeProSlide to confirmProCharge sessionProArming switchProPadlock toggleProDot matrix loaderPro

Sticker peelProTicket tearProPage curlProOrbit logosProPrize wheelProSpoiler dustPro

Dot gridProImage trailProGravity wellProInk fluidProGesture onboardingProCursor trail drawPro

Agent statusProTool callProAgent planProAgent timelineProContext windowProReasoning blockProSource cardsProModel cardProAI workflowProCode suggestionProGhost textProImage generationProDictation buttonProSpeech playerProMeeting summaryProReply draftProAgent handoffProPII redactionProResponse feedbackProLLM cost calculatorProProvider keysProGeneration statsProAI translateProTL;DR toggleProConnector setupProSmart form fillProEnrich columnProTicket routerProAsk your dataProAgent cursorProProvider statusProTraining runProAI commandProStarter promptsProAI mascotProImage revealProAI sparkProPixel mascotProGhost mascotProCube mascotProTone tunerProUpgrade promptProReferral cardProTrial bannerProTeam switcherProLive visitorsProSocial proof toastProInstall snippetPro

Data flowProPayment flowProDNS resolutionProModel trainingProMulti-region failoverProVector searchProBranch graphProAgent loopProMixture of expertsProSpeculative decodingProPrompt cacheProReasoning treePro
What’s new4 new
BlocksSelection toolbar

Selection toolbar

Pro

A contextual batch action surface that appears when items are selected.

Pattern · live

When to use

  • Bulk actions for checkbox-selectable tables or grids.
  • Floating bars that appear only while items are selected.

When not to use

  • Use dropdown-menu for per-row actions.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use it next to selectable collections. Keep the count accurate and confirm destructive actions before applying them.

example.tsx
1import { SelectionToolbar } from "@/components/arc/selection-toolbar/selection-toolbar";2 3export function ProjectsBar({ selected, clear }: { selected: string[]; clear: () => void }) {4  return (5    <SelectionToolbar6      count={selected.length}7      noun="project"8      onClear={clear}9      actions={[10        { label: "Archive", onClick: () => archive(selected) },11        { label: "Delete", onClick: () => remove(selected), destructive: true },12      ]}13    />14  );15}
Built fromButtonSelection stateAction list

API reference

2 parts. The first is the root.

SelectionToolbar

A floating bar that appears while items are selected, showing a rolling count, bulk actions, and a clear button.

PropTypeDefaultDescription
countRequirednumber–Number of selected items. The bar mounts above 0 and leaves at 0.
actionsRequiredSelectionAction[]–Bulk actions rendered as buttons after the count.
onClearRequired() => void–Called by the clear button. Reset your selection here.
nounstring"item"Singular noun; an s is added when count is not 1.

SelectionAction

Action type: { label: string; icon?: ReactNode; onClick: () => void; destructive?: boolean }. label is also the React key, so keep labels unique.

No props.

Keyboard interactions

Tab
Moves through the actions and the clear button.
EnterorSpace
Activates the focused button.

Accessibility

  • The bar is role=toolbar labelled Selection actions.
  • A visually hidden aria-live polite line announces the count, such as 3 projects selected; the animated count is aria-hidden.
  • The clear button has aria-label Clear selection.
  • The bar unmounts at count 0, so move focus back to the list yourself if it was inside the bar.

Motion

  • The bar rises and scales in on a spring and sinks back faster when the selection clears.
  • Digits roll in the direction of the change, the plural s fades in place, and the count's width springs so actions do not jump.
  • Reduced motion uses plain fades and no width spring.

Responsive behavior

  • Below 520px the bar goes full width and actions wrap onto a second row under the count.
  • You position it yourself, for example fixed at the bottom center.

Performance

  • The bar unmounts at count 0; a ResizeObserver springs the count width so actions do not jump.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use with checkbox-selectable tables and grids for bulk actions.
  • Position it yourself (for example fixed at the bottom center); it has no default export, so import it by name.
/components/blocks/selection-toolbar/markdown

The full library index for assistants is at /llms.txt.

Related

Sortable data tableComponentCompare structured records with sortable columns.CheckboxComponentA binary choice with a precise, legible state.
PreviousNotification centerNextFile upload
Arc · 128 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown
  • Atlas redesignUpdated 2 hours ago
  • Spring launch siteUpdated yesterday
  • Billing migrationUpdated 3 days ago
  • Onboarding emailsUpdated last week
2 projects selected2 projects selected