Browse snippets by collection or check out our top picks and latest articles below.
Learn how to use data attributes to represent UI state and level up your HTML and CSS game.
HTML, CSS · Nov 13, 2023
Chunk an array or iterable into arrays of a specified size or a given number of chunks.
Learn how to check if all values in an array are true or false.
Use a media query to check if the user prefers a light or dark color scheme.
Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component.
React, Components · Oct 13, 2021
A linked list is a linear data structure where each element points to the next.
React, Render · Jun 12, 2021
Creates a styled checkbox with animation on state change.
CSS, Visual · Oct 11, 2021