Triggers the primary action in a form, dialog or panel.
Catalogue · registry at v1.1.1
Components
116 components across 8 packages. Every card opens a page with a playground, examples and an API table — the tags say what to expect before you click.
Actions 3
Buttons and links — what the person presses.
- GrButton
- GrButtonGroup
Groups related buttons into a compact action cluster.
- GrLink
A navigation link for moving between pages and resources.
Feedback 10
Where a message goes: inline, on top, or in the corner.
- GrAlert
Shows an important message, warning or action status.
- GrBadge
A short label for a status, category or counter.
- GrBadgeWrap
Adds a status or count badge on top of an element.
- GrEmptyState
Explains an empty state and suggests the user’s next step.
- GrLoading
Indicates that a section or action is currently loading.
- GrProgressBar
Shows the progress of a task or a loading process.
- GrProgressCircle
Shows progress as a ring or a gauge, with the value in the middle.
- GrResponseErrorBanner
A universal generic banner for server or network response errors: it takes a raw error/response, runs it through a chain of parsers (HTTP statuses, Laravel/JSON:API/RFC 7807 validation, file/network/abort) and renders a title, main message, an optional list of per-field details and retry/dismiss actions — without knowing anything about a specific feature (file upload, forms, transactions).
- GrSkeleton
A temporary interface skeleton while the content is still loading.
- GrToaster
Shows brief pop-up notifications about the result of actions.
Overlays 12
Content above the page — and who holds the focus.
- GrCollapse
Collapses and expands additional content on demand.
- GrConfirmDialog
Asks to confirm a potentially important or dangerous action.
- GrContextMenu
Brings actions to the pointer: right-click a row, a tree node or a canvas.
- GrDialog
A dialog for confirmations, forms and focused scenarios.
- GrDrawer
A sliding panel for secondary content and quick actions.
- GrDropdown
Opens a floating list of actions or options next to the trigger.
- GrDropdownMenu
A ready-made actions menu for a button, link or context invocation.
- GrImageViewer
Opens an image in a convenient viewing and zooming mode.
- GrModal
A modal window for an important scenario that temporarily blocks the background.
- GrPopover
An anchored panel for a short form, settings or a confirmation right next to the trigger.
- GrPromptDialog
Requests a short text input from the user in a dialog.
Forms 23
Fields, choices and the form that validates them.
- GrAutocomplete
A combobox with type-ahead search over options, async loading and multi-select chips.
- GrCheckbox
Lets you toggle independent options and select multiple items.
- GrCheckboxGroup
Collects checkboxes into one multi-select field with a shared model and states.
- GrColorPicker
Picks a color for theme and branding settings: hue, saturation, lightness and opacity sliders, a hex field and a palette.
- GrFileUpload
Accepts files via selection or drag-and-drop and shows their state.
- GrForm
Orchestrates form validation via declarative rules and the GrFormField context.
- GrFormField
Combines label, control, hint and error into a single field.
- GrFormFile
Binds file uploads to a form field and validation.
- GrFormSection
Groups related form fields into a clear, meaningful section.
- GrInput
A single-line field for text, search and short values.
- GrInputTag
Lets you enter and edit a list of tags or values.
- GrNumberInput
A number field with stepper controls and range constraints.
- GrOtpInput
A field for a code of known length: an SMS confirmation, a one-time password, a PIN.
- GrRadio
A single choice within a group of mutually exclusive options.
- GrRadioGroup
Combines radio options into a single-choice selection flow.
- GrRating
Collect and display a star rating, with half steps and a read-only mode.
- GrSegmented
A compact single-choice control with a pills/button presentation and a moving selection indicator.
- GrSelect
Selection of one or several values from a list of options.
- GrSlider
Pick a number or a range by dragging a thumb, with steps, marks and keyboard support.
- GrSwitch
Quickly turns a binary setting on and off.
- GrTextarea
A multi-line field for long text and comments.
- GrTransfer
Moves items between two lists — pick from a directory on the left, order what you picked on the right.
- GrTreeSelect
Selection of a value from a tree structure in a single control.
Data display 21
Tables, lists, cards and the small values inside them.
- GrAvatar
Displays a user photo, or initials / a fallback when it is missing.
- GrCard
A container for a meaningful block of content and actions.
- GrCarousel
Shows a set of slides one screen at a time — swipe, arrows, dots and thumbnails, with autoplay you can pause.
- GrChip
An interactive tag: removable, selectable, with an icon. Where GrBadge only shows a status, a chip answers to a click.
- GrChipGroup
A set of chips sharing one value: list filters, record labels, a quick pick.
- GrDataTable
A table for large data sets with sorting and filtering.
- GrDelta
Shows a signed value with its sign, tone and arrow inline in a sentence.
- GrDescriptionList
Lists label-value pairs as a real description list, values aligned in a column.
- GrDivider
Separates content with a line, optionally with a centered label.
- GrFilePreview
Shows a stored file as a tile: the image itself, or an icon for its type.
- GrIcon
Renders an icon as a standalone interface element.
- GrJsonViewer
Walks an unknown value as a tree: collapsible nodes, search by key or value, copy a node with its path.
- GrKbd
Displays a keyboard key or shortcut in a `<kbd>` element.
- GrList
Displays a vertical list of uniform items or actions.
- GrSortableList
Let people reorder a list by dragging — or entirely from the keyboard, announced as they go.
- GrStatistic
Highlights a key metric with a caption, formatting and a trend line.
- GrTable
A simple table for compact display of structured data.
- GrTimeline
Shows a chronological feed of events with an axis, markers and day headings.
- GrTree
Shows a hierarchy of items with node expansion and selection.
- GrTreeSections
A tree whose top level becomes a section heading instead of a node.
- GrValue
A quantity with its affixes: prefix, value, suffix — and nothing else.
Utilities 3
Providers and layout helpers without a visual of their own.
- GrAffix
Keeps a block in view while the page scrolls — a section header, a table of contents, form actions.
- GrConfigProvider
Provides global defaults (control size, per-component props, i18n) to nested components — imperative dialogs included.
- GrSplitter
Splits a layout into two resizable panels with a draggable divider.
Charts 10
Ten marks on the same tokens — from @feugene/granularity-charts.
Date & time 7
Calendars, pickers and relative time — from @feugene/granularity-chrono.
Dashboard 5
A grid of widgets with their settings — from @feugene/granularity-dashboard.
Media 4
Camera, crop, scanner and video — from @feugene/granularity-media.
Code 3
Block, editor and diff with a highlighter you supply — from @feugene/granularity-code.
Editor 2
Rich text on the same form contract — from @feugene/granularity-editor.
Forms by schema 1
A whole form built from a JSON schema — from @feugene/granularity-forms-schema.
Nothing matches these filters
Try a shorter word, or drop the package and group.