Skip to content
Glasspage.studio

Design system components

Interactive building blocks from shadcn/ui used across Glasspage. Each entry will be replaced with a live demo.

Actions

Primary controls for user actions and state toggles.

ComponentUse casePreview
ButtonPrimary actions such as submit, save, or confirm.
Icon buttonCompact actions in toolbars, tables, and dense layouts.
Citation buttonOpen design reasoning citations linked to page elements.
Button groupRelated actions that belong together, such as copy options.
ToggleBinary on/off states like bold formatting or view modes.
Toggle groupExclusive choice among related options like text alignment.

Forms

Inputs and controls for collecting user data.

ComponentUse casePreview
InputSingle-line text entry for names, emails, and search queries.
Input groupInputs with leading icons or trailing metadata, such as search.
TextareaMulti-line text for comments, descriptions, and longer input.
LabelAccessible field labels paired with inputs and controls.
CheckboxSingle or multiple selections from a short list of options.
SelectChoose one option from a predefined list of values.
CalendarPick a single date or range for scheduling and filtering.

Components for moving between views and paginating content.

Overlays

Layered surfaces for contextual actions, details, and help.

ComponentUse casePreview
DialogFocused tasks and critical confirmations that need full attention.
SheetSecondary details in a side panel without leaving the page.
PopoverContextual panels anchored to a trigger, such as pickers or menus.
Dropdown menuAction lists and single-choice menus from buttons or icons.
Hover cardRich previews on hover before opening a full overlay.
TooltipBrief labels and help for icons and compact controls.

Data display

Components for presenting structured information.

ComponentUse casePreview
AvatarRepresent people, teams, and assignees with photos or initials.
SPMRJL
+4
BadgeCompact labels for status, categories, counts, and metadata.
DraftIn reviewPublished
CardGroup related content, metrics, and actions in a contained surface.
TableSortable rows and columns for structured records and comparisons.
ChartVisualize trends, distributions, and KPIs over time or categories.
CarouselCycle through images, cards, or highlights in a limited space.
EmptyExplain missing data and suggest next steps when lists are blank.

Feedback

Loading and notification patterns.

Layout

Structural helpers for spacing, scrolling, and resizing.

ComponentUse casePreview
SeparatorVisual dividers between grouped content in lists, panels, and forms.
Section A
Section B
Scroll areaCustom scrollbars for overflow content in fixed-height containers.

Item 1

Item 2

Item 3

Item 4

Item 5

Item 6

Item 7

Item 8

CollapsibleExpand and collapse sections to save vertical space.
Panel resize handleDrag to resize adjacent panels such as sidebars and split views.

Read the rest of the design system

Enter your details to unlock the remainder of this page, plus the principles, foundations, components and interactions pages in full.

By pressing unlock, you consent to receive emails from us.