Browse the docs
Components
179 building blocks, grouped by what they are for. Each has live examples, copyable code, a props table and accessibility notes. Press Ctrl K to search them all.
Forms and inputs 40
- ButtonTriggers an action. Comes with variants, sizes and a loading state, and exports its styles for links.
- Split buttonBase UIPut a frequent action beside a menu of related alternatives.
- InputA single line text field with invalid, disabled and focus states, plus a group for icons and add-ons.
- TextareaA multi-line text field.
- LabelThe visible name of a form control. It is tied to the control, so clicking the text focuses or toggles it. It is the text, not the box: pair it with an Input, Checkbox, Switch or Radio.
- CheckboxBase UIThe box itself: a control with checked, unchecked and indeterminate states. It has no text of its own, so give it a Label.
- Checkbox groupCollect multiple choices under a visible legend with optional descriptions.
- Radio GroupBase UIPick exactly one option from a small set, with arrow key navigation.
- Radio cardsBase UIChoose one descriptive option in a large labelled target.
- SwitchBase UIAn on or off toggle that takes effect immediately.
- SelectBase UIChoose one value from a list in a popup, with typeahead and scroll arrows.
- ComboboxBase UIA select you can type in. The list narrows to what matches.
- Multi selectBase UISearch many choices, select matching options and remove selected chips.
- Tree selectSelect nested leaf values with mixed-state parent checkboxes.
- SliderBase UIPick a number by dragging, or a range when the value is an array.
- Range fieldChoose exact lower and upper endpoints with linked numeric limits.
- Number FieldBase UIA number with minus and plus buttons, limits and steps.
- Password inputA password field with an explicit reveal button, Caps Lock warning and optional guidance.
- Phone inputA country calling code and a formatted national number with a combined form value.
- Input OTPBase UIA one-time code field with one box per character. Typing moves on and paste fills every box.
- Tags InputA field that collects several short values.
- Mention inputA plain-text textarea that suggests teammates after an at-sign at the caret.
- Search InputA search field with a clear button, a loading state and a shortcut that jumps to it.
- Color pickerChoose saturation, brightness, hue and opacity, check contrast, or select a labelled palette swatch.
- Toggle GroupBase UIButtons that stay pressed: one at a time, or several with `multiple`.
- RatingA star rating people can set, or a read-only display of a score.
- File UploadA drop area that is also a button, with a list of the chosen files.
- Signature fieldCapture a typed name with an optional handwritten drawing.
- EditableEdit a value in place with a draft, explicit save, cancel and focus return.
- Key/value editorAdd, edit and remove named values while keeping row focus stable.
- Duration inputEdit hours, minutes and seconds as one canonical duration.
- Measurement inputEdit a quantity while switching display units without changing its canonical value.
- FormBase UIA form whose fields explain their own errors.
- Address formShipping or billing fields with grouped layout and address autocomplete tokens.
- Copy fieldA read-only value with a clipboard action and live success or failure feedback.
- Transfer listAssign items between two named lists using checkboxes and move actions.
- Prompt inputBase UIA growing message field with files, model selection, slash commands and send/stop actions.
- Voice InputA microphone button that records, with a timer and a level meter.
- Rich Text EditorA small editor for formatted text: headings, lists, quotes and links.
- Wheel PickerA column you scroll to choose from, plus a time picker made of two wheels.
Dates and time 8
- CalendarA month of days to choose one day or a range from.
- Date PickerBase UIA field that opens a calendar, for one day or a range.
- Time pickerHour and minute lists with 12 or 24 hour display and a stable form value.
- TimerA countdown or a stopwatch with start, pause and reset.
- ScheduleBase UIEvents in a local-time day, week, month, or year. Overlapping meetings share the available width.
- Meeting schedulerBase UIChoose a meeting length, day and time, confirm your details, and save an event to your calendar.
- GanttTasks as bars along a shared calendar, with progress and a today line.
- TimelineEvents in the order they happened, joined by a line.
Layout and structure 16
- CardA surface that groups related content, built from header, content and footer parts.
- SeparatorBase UIA line between groups of content, horizontal or vertical.
- AccordionBase UIStacked sections that open and close, one at a time or several.
- CollapsibleBase UIA single disclosure with an animated panel and a keyboard-operable trigger.
- TabsBase UISwitch between related panels with an animated active indicator.
- SidebarBase UIA navigation column that collapses to a rail of icons.
- NavbarBase UIThe bar at the top of a site or app. Links fold behind a menu button when it is narrow.
- Scroll areaA labelled native scroll container with keyboard focus and themed scrollbars.
- ResizableTwo panels separated by a pointer and keyboard resize handle.
- Table of contentsA section index that follows headings in view and supports ordinary anchor navigation.
- BreadcrumbA trail of links that shows where a page sits.
- PaginationMoves between pages of a list, with the first, last and nearby pages always in reach.
- StepsA sequence of steps with the finished, current and upcoming ones marked.
- Back to topReturn to a named heading, with reduced-motion-aware scrolling and focus restoration.
- Device FrameA drawn browser window, phone, tablet, laptop or desktop around your content.
- Description listLabel and value rows with optional copy actions for identifiers.
Overlays and menus 15
- DialogBase UIA modal window that traps focus and returns it to the trigger when closed.
- Alert DialogBase UIA dialog that needs an answer before anything else, for actions that cannot be undone.
- SheetBase UIA panel that slides in from an edge of the screen, for details and forms that should not leave the page.
- DrawerBase UIA panel that rises from the bottom and can be dragged away.
- PopoverBase UIA floating panel anchored to a trigger for extra content or small forms.
- TooltipBase UIA short label shown on hover or keyboard focus.
- Hover CardBase UIA preview of what a link leads to, shown on hover or focus.
- Dropdown MenuBase UIA menu of actions opened from a button, with checkbox and radio items.
- Context MenuBase UIA menu that opens where you right click or long press.
- CommandBase UIA searchable list of actions, on the page or in a dialog.
- ToastBase UIBrief messages shown from anywhere with a function call. Mount the Toaster once.
- BannerA strip across the top of a page for one message that concerns everyone.
- NotificationA list of things that happened, with unread markers.
- ShortcutKeyboard shortcuts: a hook that listens and a label that shows the keys for this device.
- Shortcut dialogBase UIA searchable, grouped reference for application keyboard shortcuts.
Feedback and status 14
- AlertA callout for information the user should notice, with an optional icon.
- BadgeA small label for status, counts or categories.
- AvatarBase UIA user image with a text fallback while loading or when it fails.
- ProgressBase UIShows how far a task has come, as a bar, a row of square dots or a ring.
- SkeletonA pulsing placeholder that holds space while content loads.
- LoadingSquare-dot spinners, dots, a bar, character frames, overlays and full-area loading states.
- Empty StateFills a place that has nothing in it yet and says what to do next.
- Status PageWhole-page messages: not found, server error, no access and maintenance.
- Uptime barBase UISquare daily availability cells and a service monitor with latency trends.
- StreakA run of days kept up, with each of the last seven days marked.
- Activity logActor and change entries grouped by day in an explicit timezone.
- NPS surveyA 0–10 recommendation score with a contextual follow-up and submission feedback.
- PollA question with one vote each, and up or down votes with a score.
- KbdA key or key combination, as printed on a keyboard.
Data display 20
- TableA semantic data table that scrolls sideways on small screens.
- Comparison tableCompare plans using feature rows, written inclusion states and a recommended column.
- Stat cardA labelled metric, change in words and optional sparkline with its data table.
- KPI gridResponsive stat cards that share one reporting-period switch.
- Sortable listBase UIA reorderable list with touch-friendly handles, keyboard pickup, and spoken position updates.
- Todo listBase UITasks you can add, edit, filter and reorder, plus a progress checklist for setup guides.
- KanbanColumns of cards that move between them by dragging or by keyboard.
- Org chartPeople and structures in a tree with automatic layout, right-angled connectors and collapsible branches.
- File TreeFolders and files as a tree that opens and closes.
- File previewAn attachment summary with file type, size, upload progress and removal.
- JSON viewerInspect structured data with native nested disclosures and wrapping values.
- Infinite ListA list that fetches its next page as you reach the end.
- Filter BarBase UIA row of filters with chips for what is chosen.
- Log viewerWindowed application logs with search, level filters, pause, wrapping and clipboard export.
- API requestInspect a request and response with collapsible details and a copy-as-curl action.
- DiffShows what changed between two texts, line by line.
- Commit HistoryA list of commits joined by a line, with hashes, authors and refs.
- FlowA canvas of nodes joined by lines, for flows and site maps.
- MapA pan and zoom map with markers, routes and street tiles from any XYZ source, such as OpenStreetMap. Works offline with the drawn MapSchematic.
- Trip trackerA ride map, trip progress, driver details and a pre-trip ride chooser.
Charts 16
- Chart partsThe shared parts every Nook chart is built from: series colors, legend, tooltip, axis, grid and data table.
- Bar ChartCompares amounts across categories, with solid bars or bars built from square dots.
- Stacked bar chartCompare totals and their parts on a common baseline.
- Line ChartShows change over time as lines or filled areas, with a crosshair that reads every series at once.
- SparklineA small trend line without axes, for use next to a number.
- Pie ChartShows how a whole splits into a few parts, as a filled disc with a list of the parts beside it.
- Donut ChartShows how a whole splits into a few parts, with every part and its share listed beside the ring.
- Radial ChartProgress toward a goal for several measures at once, drawn as nested rings.
- Radar ChartCompares a few things across the same set of measures.
- Scatter chartPlot paired measurements to explore relationships, including negative values.
- Funnel chartTrack counts through a sequence, with each stage’s share of the first.
- TreemapA balanced area layout for comparing parts of a total.
- GaugeA bounded measurement with named ranges and a square position marker.
- Bullet chartCompare actual performance with targets and capacity.
- HeatmapA calendar of square cells, one per day, darker where there was more.
- Candlestick chartPrice candles, volume, a market ticker and a depth order book drawn without chart dependencies.
Media 16
- ImageBase UIAn image in a frame that holds its shape, with loading, failure and a large view.
- Image effectEleven ways to treat an image, from frosted square glass to pixels, dithering and characters.
- CarouselSlides in a row that scroll sideways and snap into place.
- Audio PlayerA player for one track: play, seek, time and mute.
- Video PlayerA video with its own controls: play, seek, time, mute and full screen.
- CoverflowA perspective shelf of covers with explicit, hand-controlled navigation.
- Card StackCards in a pile you sort by dragging, or with buttons and arrow keys.
- Zoom paneExplore a map, plan or illustration with wheel, pinch, drag, buttons and keyboard controls.
- SketchpadA pressure-aware freehand canvas with theme ink, an eraser, stroke history and PNG export.
- SlidesA responsive 16:9 presentation viewer with navigation, thumbnails, speaker notes and print pages.
- StorySlides one after another with a bar of segments on top.
- WireframeQuiet, monochrome building blocks for planning pages and showing skeleton layouts.
- TerminalA terminal window for showing commands and what they print.
- Code blockBase UIServer-rendered syntax coloring, highlighted lines and file tabs with one copy control.
- Code block controlsBase UIClient companion for CodeBlock: clipboard feedback, wrapping and tab state.
- MathNative MathML from a small TeX-like parser, with spoken labels and numbered equations.
AI and chat 9
- ChatMessage bubbles for a conversation, with a typing indicator.
- Chat WidgetBase UIA chat that opens from a button in the corner, for an assistant or for support.
- MailAn inbox list and an opened message.
- AgentThe steps an AI agent took: running, done, failed and waiting.
- ReasoningA collapsible thinking block that times active streaming and preserves the person’s choice.
- SourcesBase UISource links, a collapsible citation list and focusable inline citation previews.
- Streaming textProgressive text with accessible full content and a compact row of message actions.
- ReactionsBase UIEmoji reactions and an authored, searchable picker with categories and recents.
- Live cursorsNamed collaborator pointers over a shared area, with normalized positions and theme colors.
Commerce and money 6
- MoneyCurrency amounts, a private account balance and daily transaction groups.
- InvoiceA printable invoice with responsive line items and a complete payment breakdown.
- Pricing tableMonthly and yearly plans, as cards or a full feature comparison.
- Payment formMasked card inputs, a live card preview and payment method selection without processing payments.
- Product cardProduct art, prices, options and cart actions, in a grid or compact list.
- CartEditable cart rows, undoable removal, promo codes and an order summary.
Motion and effects 13
- MotionShared motion preference, animation timing and a visible playback control.
- Text effectCopy that types, scrambles, rotates through words, rises word by word or letter by letter, sharpens from a blur, slides in, gets a marker sweep, shimmers, waves or drops in.
- Number tickerFormatted numbers whose individual digit columns roll when the value changes.
- MarqueeA row that scrolls by itself, for logos, quotes or tags.
- ConfettiSmall squares thrown from the middle for a moment worth marking.
- BackgroundA backdrop behind content: dots, grid, halftone, grain, gradient, mesh or aurora.
- RevealContent that arrives as it scrolls into view: from blur to sharp, sliding up or fading.
- SpotlightA card with a glow of the brand color that follows the pointer.
- Tilt cardA shallow perspective card that leans with the mouse and rests flat for keyboard input.
- DockAn app launcher that magnifies nearby buttons as the pointer passes.
- Glow borderA subtle brand light travels around the edge of a content card.
- GlassA translucent frosted surface with an optional square tile grid.
- CounterA number that counts to its value.
Brand and system 4
- Brand markThe Nook mark: a lowercase n in square dots with one brand-colored dot inside. Sits beside the name of a product in the Nook family.
- Theme ToggleSwitches between light and dark mode and remembers the choice.
- Language switcherA native language selector using names in their own language.
- TypographyHeadings, text sizes and a Prose wrapper that styles plain HTML.