Components

Components

Component

A preview card that grows into a centred dialog and shrinks back into place. The dialog opens out of the card's rectangle while the shared image and title travel and resize to their dialog positions, and the rest of the dialog fades in a beat later. Closing shrinks back into wherever the card is now, even after the page scrolled. On touch the dialog can be dragged down to close with the backdrop fading, and gallery mode adds previous and next controls plus arrow keys to move between cards. Built from small parts (CardExpand, Item, Trigger, Content, Image, Title, Description, Close). The dialog is modal and labelled by its title, focus moves to Close and stays inside, Escape closes, focus returns to the card and the page behind is inert. Reduced motion uses a plain fade.

Modals & overlays · 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
Component

An accessible accordion for questions and answers: each question is a heading with a button (aria-expanded, aria-controls) that opens a labelled region, closed answers are inert, arrow keys, Home and End move between questions, and answers open with a smooth height animation that turns off under reduced motion. Single or multiple open, collapsible, default open items and a configurable heading level.

Marketing · Chomodo Studio 0 likes 0 installs
Block

An editorial project list with large type rows, each showing a title, category, year and optional index number between hairline rules. Hovering a row brings in a preview card that follows the pointer with a soft lag, crossfades between projects without jumping and tilts slightly with sideways movement, while the active title slides right and the other rows dim. Rows are real links; keyboard focus places the preview beside the focused row. On touch screens each row expands inline to show its image and a link instead. Previews use gradients when no image is given, the card can be clipped to the block, and reduced motion pins the preview without lag or tilt.

Marketing · Chomodo Studio 0 likes 0 installs
Component

A table of contents that turns into a floating pill as you read. At rest it is an inline list of section links. Once that list scrolls away, a compact pill appears at the top centre (bottom on phones) with a progress ring, the current section title, a 3/7 count and the estimated time left from the words still unread. Clicking the pill opens every section with the current one marked and a small progress bar each. At the end the ring turns into a check with an optional Back to top action. Headings are found automatically (h2 and h3) or passed in, and it works with the page or a scrolling container. Navigation landmarks, aria-current on the active link, an expandable button, Escape to close and focus moved to the heading after a jump; reduced motion scrolls instantly with no fades.

Navigation · Chomodo Studio 0 likes 0 installs
Block

A two-step appointment chooser. A week strip of day pills (weekday, date and a small count of open times) with previous and next week arrows sits above a grid of time slots for the chosen day, grouped into Morning, Afternoon and Evening. Unavailable slots are struck through and disabled. Picking a slot expands it in place into a confirm row ('Tue 18 Nov, 10:30 to 11:00 · Confirm') instead of a separate button. A time zone switch re-renders every label in the viewer's or the host's zone with Intl, and a 15/30/60 minute toggle regenerates the slots. Slots come from an async getSlots(date, duration) or a fixed map, with skeletons while a day loads, min and max dates and a jump to the next open day. The strip and each slot group are keyboard radiogroups, focus moves to Confirm after a choice, and the chosen time is announced. At phone width the strip shows five days and swipes.

Forms & inputs · Chomodo Studio 0 likes 0 installs