Slots default - Icon, emoji, or label rendered inside the button.
Attributes variant - Visual variant (primary, neutral, success, warning, danger). Defaults to 'neutral'. size - Size preset (sm, md, lg). Defaults to 'md'. pill - Full pill border-radius. outline - Transparent background with colored border and text. circle - Equal width/height with 50% radius (icon-only). disabled - Disables the button. accept - File input filter (e.g., "image/*,.pdf"). multiple - Allow selecting multiple files. aria-label - Accessible label. Defaults to "Attach file".
CSS Variables --luna-fb-bg - Resting background color --luna-fb-bg-hover - Hover background color --luna-fb-bg-active - Active/pressed background color --luna-fb-color - Label/icon color --luna-fb-border - Border color --luna-fb-radius - Border radius override --luna-fb-focus - Focus ring color --luna-fb-icon-size - Explicit icon size (defaults to font-size)
Properties files - The last selected FileList (read-only, null before selection)
Methods open() - Programmatically open the file picker clear() - Clear the internal file input value and reset files
Events luna-change - Fired when files are selected. detail: { files: FileList } luna-cancel - Fired when picker is closed with no selection (where supported)