A Common Lisp library for generating Bootstrap-based HTML markup.
Find a file
2025-02-17 18:14:38 +01:00
docs Simplify sus survey and remove ids 2024-05-20 21:52:48 +02:00
examples Fix with-page macro 2024-01-26 16:28:53 +01:00
public Add bs dependencies 2024-03-08 21:41:35 +01:00
src Check for nil item in card items 2025-02-17 18:14:38 +01:00
tests Rename utility package 2024-07-28 17:43:33 +02:00
.gitignore Init commit 2023-06-29 17:19:12 +02:00
dev.metalisp.sbt.asd Add missing dependecy 2025-01-24 20:02:04 +01:00
LICENSE Change to MIT License 2024-04-02 16:13:57 +02:00
README.org Update README 2025-02-09 09:37:24 +01:00
run-tests.lisp Write script to run tests in terminal 2023-12-21 20:15:28 +01:00
run-tests.sh Create a bash environment to run tests 2024-01-13 12:53:11 +01:00

dev.metalisp.sbt

THIS REPOSITORY IS A LIVING LIBRARY. IT IS UPDATED ON A REGULAR BASE INCLUDING BREAKING CHANGES!

Motivation

As a user experience designer, one of my tasks is to document the information architecture. Most people use diagramming tools for this task. But I could never get familiar with these tools. For many years I have liked the idea of documenting information architecture using HTML. Writing HTML is tedious and takes a lot of time. That is why I came up with the idea to develop a library of macros that can be used to document the information architecture in an easy way and generate the HTML to have a document that I can then share with my users to get feedback.

Introduction

A Common Lisp library for generating Bootstrap-based HTML markup. It provides macros to easily create Bootstrap components such as accordions, alerts, badges, buttons, cards, dropdowns, headers, list groups, navbars, nav-tabs, pagination, and tables. This library is dependent on the Spinneret library for HTML generation.

The following components are available as packages:

accordion
This package provides macros for generating Bootstrap Accordion components. Accordions are collapsible lists of items, each of which can be "expanded" or "collapsed" to reveal or hide content.
alert
This package offers macros for creating Bootstrap Alert components. Alerts are used to provide user feedback, usually in response to user interactions, such as form validation or actions.
badge
This package provides macros for creating Bootstrap Badge components. Badges are small status descriptors for UI elements. They can be used to add additional information to an element, such as a count.
button
This package provides macros for creating Bootstrap Button components. Buttons are used for actions, like submitting forms or initiating actions.
card
This package provides macros for creating Bootstrap Card components. Cards are flexible and extensible containers for displaying content in a structured format.
dropdown
This package provides macros for creating Bootstrap Dropdown components. Dropdowns are toggleable, contextual overlays for displaying lists of links and actions in a dropdown format.
list group
This package provides macros for generating Bootstrap List Group components. List groups are flexible and powerful components for displaying not only simple lists of elements, but complex ones with custom content.
navbar
This package provides macros for creating Bootstrap Navbar components. Navbars are responsive meta components that serve as navigation headers for your application or site.
nav / tab
This package provides macros for creating Bootstrap Nav components. Navs are navigation components that can be styled in different ways and can contain links, text, or any other kind of content.
pagination
This package provides macros for creating Bootstrap Pagination components. Pagination is used to let the user navigate through a set of discrete pages.
table
This package provides macros for generating Bootstrap Table components. Tables are used to present data in a tabular format.
spinner
This package provides macros for creating Bootstrap Spinner components. Spinners are used to indicate a loading state of a page or a section.

Installation

  git clone https://code.metalisp.dev/marcuskammer/dev.metalisp.sbt.git ~/quicklisp/local-projects/

Load library

  (ql:quickload :dev.metalisp.sbt)

XMPP (Jabber) Chat

Author

Copyright

Copyright (c) 2023 Marcus Kammer (marcus.kammer@mailbox.org)