Checkbox Sty1es

approvedunreviewed

by Haissam Makki

Choose one of twenty-nine task checkbox styles from a click menu, each with its own text effect.

★ 1 stars↓ 1,195 downloadsUpdated 21d agoMIT

Checkbox Sty1es: 29 checkbox styles, 12 extra sections and your own images for Obsidian

Checkbox Sty1es

Pick a visual style for each task checkbox in Obsidian. Clicking an unchecked task opens a menu with ten checkbox shapes and, in the Icons tab, 19 colored icons. Each style changes how the checkbox looks and can apply a matching effect to the task text.

Turn on extra sections (priority, status, seasons, flags and more) or add your own images, such as team crests. Each one shows up as a tab in the menu.

Checkbox shapes

StyleText effectWritten to the note
Classicstrikethrough- [c]
Roundedmuted- [r]
Circleaccent color- [o]
Minimalfaint- [m]
Filledbold- [f]
Crossred strikethrough (cancelled)- [-]
Squareunderline- [s]
Dotitalic (in progress)- [.]
Dashdashed underline (postponed)- [~]
Glowglowing text- [g]

Icons

Icon styles replace the checkbox with a colored icon. They have their own Icons tab in the menu, which is on by default and can be turned off like the other sections. Most leave the text as it is.

StyleText effectWritten to the note
In progressnone- [/]
Forwardedmuted- [>]
Scheduledmuted- [<]
Questionnone- [?]
Importantbold- [!]
Starnone- [*]
Quoteitalic- ["]
Locationnone- [l]
Bookmarknone- [b]
Infonone- [i]
Savingsnone- [S]
Ideanone- [I]
Pronone- [p]
Connone- [C]
Firenone- [F]
Keynone- [k]
Winnone- [w]
Upnone- [u]
Downnone- [d]

Extra sections

The ten checkbox shapes are always in the menu, and the Icons tab is on by default. The extra sections below are off by default. Turn on the ones you want with Add styles (the + button next to the tabs in the menu) or in the settings, and they show up as tabs in the menu, with a search box that looks through all of them.

SectionStyles
PriorityUrgent, High, Medium, Low, Lowest
StatusBacklog, Waiting, Blocked, Paused, In review, Delegated, Approved, Rejected
WorkMeeting, E-mail, Call, Bug, Code, Document, Deadline, Launch
ColorsThe classic checkbox in red, orange, yellow, green, cyan, blue, purple, pink and gray, with text in the same color
MoodHappy, Neutral, Sad, Angry, Tired, Love
HealthWorkout, Cardio, Water, Medicine, Sleep, Healthy food
StudyReading, Class, Exam, Homework, Research, Review
MoneyBill, Card, Income, Expense, Invest
HomeGroceries, Cleaning, Repair, Delivery, Gift, Plants, Pet
TravelFlight, Hotel, Luggage, Ticket, Map, Car, Vacation
SeasonsNew Year, Valentine's Day, Carnival, Easter, Festa Junina, Halloween, Christmas, Spring, Summer, Autumn, Winter
Flags32 national flags from the Americas, Europe, Africa, Asia and Oceania

Turning a section off only hides it from the menu. Tasks that already use its styles keep their look.

Your own images

Point the Images folder setting at a folder in your vault and its images (PNG, JPG, SVG, WebP, GIF, AVIF) become styles. Images directly in the folder form one section, named after the folder; each subfolder becomes its own section. For example:

Checkbox styles/
├── Football/
│   ├── Flamengo.png
│   └── Palmeiras.png
└── Games/
    └── Zelda.svg

This gives you a Football tab and a Games tab. File names become style names (dashes and underscores turn into spaces). New, renamed and deleted images are picked up right away. You are responsible for the rights to the images you add.

How it works

  • The chosen style is stored as the character between the brackets, so tasks stay plain Markdown tasks. Nothing else in the note is changed.
  • Extra sections and your own images use characters from Unicode's Private Use Area (U+E000–U+F8FF), which is reserved for app-specific symbols, so they never clash with letters or with characters used by themes and other plugins. Each style's character is fixed: it does not change between versions, and renaming or moving one of your images keeps its character. Outside Obsidian (or with the plugin off) these characters show up as a placeholder box.
  • One mouse button opens the style menu and the other checks and unchecks the task. You choose which is which in the settings.
  • On a phone or tablet, the same choice is between tap and tap-and-hold.
  • Checking a task with the other button writes a plain [x], shown in the default style chosen in the settings. Unchecked tasks use that style too.
  • Colors come from the current theme's variables, so the styles follow light and dark themes.

Uncheck all tasks

The uncheck-all action unchecks every task in the open note. Use it again right away and the tasks go back to how they were; once you change anything in the note, the saved state is dropped so nothing you edited is overwritten. It is off by default: in the settings you can turn on a button for it at the top of each note, record a keyboard shortcut for it, or both.

Settings

  • Menu button — on a computer, left click or right click opens the style menu; the other button checks and unchecks the task.
  • Menu on mobile — on a phone or tablet, tap or tap-and-hold opens the style menu; the other gesture checks and unchecks the task.
  • Uncheck-all button — show the uncheck-all button at the top of each note.
  • Uncheck-all hotkey — record a keyboard shortcut for unchecking all tasks in the current note.
  • Default style — the style applied when you check a task with the other button, and the look of unchecked and [x] tasks.
  • Menu sections — turn the Icons tab and each extra section on or off. The Add styles button in the menu does the same without leaving the note.
  • Images folder — the folder with your own images; each of its sections can also be turned off.

Limitations

  • Plugins that only treat [x] as done (for example Tasks or Dataview queries) may not count styled tasks as completed.
  • Themes that ship their own alternate checkbox icons may override some styles.
  • Checkboxes inside embeds, canvas cards and callouts keep the native click behavior.

Development

npm install
npm run build

styles.css is generated from src/styles.base.css and the sections registered in src/sections.ts. Basic styles live in src/checkbox-styles.ts; extra sections live in src/packs/.

To add a style to a section, add an entry with the next free at position. Each section owns a fixed block of 256 characters (block), and a published position must never be changed or reused. To add a section, give it an unused block (0–15) and add it to PACKS. The build fails if two styles share an id or a character.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.