Button 06
A compact icon-first action that expands its label with responsive, accessible interaction feedback.
Requirements
HTML, CSS
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
Typography: Inter, with a system sans-serif fallback.
About Button 06
Button 06 is a button component in the Button Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 29, 2026.
- button
- icon button
- buttons
- expanding
- download
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- HTML elements used: button, svg.
- Includes a prefers-reduced-motion rule for its animation.
React + TypeScript + Tailwind CSS
3 files: Button06.jsx, Button06.types.ts, Button06.tailwind.css
- Configurable through 3 props: icon, label, className.
- Renders without React state or effects.
- HTML elements used: button, svg.
- Includes a prefers-reduced-motion rule for its animation.