shadcn.io is not affiliated with official shadcn/ui
Skill Bars Team Block for React
A picker of five e-learning specialists beside a framed figure of five skill bars: choosing a person fills the bars to their scores, each with its number and a tick for the team average on its track.
Installation
Overview
A skills view for React with Base UI, for Wendlebury, an e-learning platform. A split: on the start, the header, a picker of five people (round initials avatars, one always chosen) and a few lines about the chosen person: name, role and where they are strongest. On the end, a framed figure of five bars, one per skill, each with the person's score written beside it and a tick for the team average on its track. Pick someone and the bars move to their scores. Every number is written next to its bar, so nothing waits for a hover, and the tick is explained in the caption. On a phone the picker sits above the figure, in a scroller if it must. It's built from Toggle Group, Progress, Guides and your theme's tokens, with the bars in foreground so the page's primary stays on one control. The scores are fictional example data. For learning and development pages, team capability views and any page that compares a person with the team.
FAQ
How do I change the people and the skills?
Edit SKILLS and PEOPLE at the top of the file. A person has a name, a role and a scores list: one number from 0 to 100 per skill, in the order of SKILLS. The team averages (where the ticks sit) and the "Strongest in" line are computed from the scores, so nothing else needs editing. Five skills and five people fill the figure and the picker; other counts work, the picker just scrolls sooner.
How is the team average drawn?
As a small tick laid over each bar, at the mean of the five scores, rounded. It is placed with a logical offset, so in a right-to-left page it follows the bar and sits at the same score. The average is also written next to every value ("92 (team 72)"), and a caption says what the tick means, so it is never colour or position alone.
How does the picker work with a keyboard and a screen reader?
It's a group named Person. Tab moves into it, the arrow keys move between the avatars and Space or Enter chooses one. One person is always chosen: pressing the chosen avatar again does nothing. Each avatar is named by the full name (the initials are decorative), and a polite status says "Showing Rafael's scores" after a change.
Related
- Pro
Expertise Tags Team
Skills and expertiseOne engineer's expertise in a split: a person and an endorsements stack on the start, three columns (Strong, Working, Learning) on the end, with the level carried by the chip's weight: solid, outlined or muted.
- Pro
Skill Filter Team
Skills and expertiseSeven engineers of a build-cache company in hairline rows with their skills as chips, under six skill chips that float the people who know a skill to the top, fill the matching chips and count how many know it.
- Pro
Expertise Matrix Team
Skills and expertiseEight CI-platform engineers down a table, four skills across with five-level dots, pill tabs to switch the skill group and a last row for the team average, running rail to rail and scrolling sideways on a phone.
- Pro
Coverage Heatmap Team
Skills and expertiseA heatmap of six skills by five field-survey people, every cell a button shaded in five foreground steps with its level written in it, a target column, a coverage count with a Thin marker and a polite line that names the picked cell.
- Pro
Usage Meters Billing
Plan and usageUsage meters for an app's settings: one row per quota with its count, a bar that turns to a warning tone at 80% and an over-limit tone past 100%, and a plain line on what happens next.
- Pro
Vertical Tabs Team
Tabs and accordionsThe people of a help desk in a split: a vertical tab rail of five departments, each with its headcount and three avatars, beside a page that says what the team owns, shows its lead and lists the team.