Grid layout
Documentation : Grid layoutDrag the cards, pull their corner, everything rearranges: build a dashboard in minutes. With the keyboard too.
Cristal brings polished, animated components written once as Web Components. They work in React and Next.js, with a keyboard as well as a screen reader.
npm install @cristal-ui/reactComponents
No screenshots: every card is the real component, the one you install.
Drag the cards, pull their corner, everything rearranges: build a dashboard in minutes. With the keyboard too.
One box per digit, paste a whole code, automatic advance.
The chosen panel widens, the others fold away smoothly.
12 hikes
8 hikes
5 hikes
9 hikes
Six opening animations, full keyboard navigation.
Each user orders, pins, hides and widens their columns, and the table remembers.
Local filter or server-side search, single or multiple choice.
Tooltip, toggle, and a badge that bounces when it changes.
Grows one line at a time, without jumps.
Theme
Pick your colour: hover shades, light backgrounds, readable text on top and the focus ring follow, with enough contrast.
:root { --cr-color-primary: #6d28d9; }
Accessibility
Arrows, Home, End, Escape: each component follows the well-known ARIA patterns, and everything you do with a mouse works with a keyboard.
Required labels, announced changes ("Status moved to position 3"), errors linked to their fields.
Animations only respond to your actions, never on load, and stop with "reduce motion".
Values submitted, validation messages and reset, just like an HTML field.
With Next.js, components arrive already drawn in the HTML.
Whatever your colour, the text on it stays readable.
Two packages, one import line, and your React and Next.js screens get polished, accessible components.