Components

Components

Component

A Button with six variants (primary, secondary, outline, ghost, destructive, link) and four sizes including a square icon size. The loading state shows a spinner without changing the button's width, keeps focus on the button and sets aria-busy. Exports buttonVariants so links can share the same styles.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A ToastProvider and useToast hook for stacked notifications. Toasts collapse into a deck and expand on hover or focus, auto-dismiss with timers that pause while hovered, focused or in a hidden tab, and can be updated in place (loading to success). Five variants plus default, optional action button, six positions, a limit on open toasts, and polite or assertive live-region announcements.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Block

A slide-over shopping cart. It lists line items with a thumbnail, variant, line total, quantity stepper (respecting a maximum) and remove button, shows progress toward a free-shipping threshold, and ends with the subtotal, shipping and a checkout button. As a modal dialog it traps focus, closes on Escape or a backdrop click, locks page scroll, restores focus on close and announces quantity changes. Includes an empty state; currency and locale are configurable.

E-commerce · Chomodo Studio 0 likes 0 installs
Component

A floating bar of icon tiles where the tiles near the pointer swell, largest under the cursor and falling off smoothly over their neighbours, while the bar grows with them so nothing overlaps. A label rises above the hovered or focused tile and active items get a small dot. Works as a horizontal bottom dock or a vertical tool rail, with groups split by thin dividers and count badges that pop when they change. The avatars variant becomes a presence dock that opens a list of members and their status on click. It is a toolbar with arrow-key, Home and End navigation (focus swells like hover), labelled tiles, aria-current on the active one and announced badge counts. Touch screens get a simple press state and reduced motion a plain lift.

Navigation · Chomodo Studio 0 likes 0 installs