30 seconds of code

Short code snippets for all your development needs

Featured Collections

Latest Articles

Top Snippets

  • TagInput

    React, Components

    Renders a tag input field.

  • MultiselectCheckbox

    React, Components

    Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component.

  • kMeans

    JavaScript, Algorithm

    Groups the given data into k clusters, using the k-means clustering algorithm.

  • Creates a list with floating headings for each section.

  • get

    JavaScript, Object

    Retrieves a set of properties indicated by the given selectors from an object.